Skip to content

add named arguments variants to reflection golden test #2743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

schlndh
Copy link
Contributor

@schlndh schlndh commented Nov 15, 2023

I'm adding the named arguments variants to the reflection golden test as promised. I added a condition to exclude some cases where the names in the function map are already correct. There are some more duplicates due to the parameter names in the positional variant being fixed later via phpstorm stubs.

I also found that the phpstorm stubs are sometimes incorrect (at least XSLTProcessor::setParameter and PDOStatement::setFetchMode). So I'd remove the rename for named params in next PR.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ondrejmirtes ondrejmirtes merged commit 9797774 into phpstan:1.10.x Nov 18, 2023
@ondrejmirtes
Copy link
Member

Thank you!

@schlndh schlndh deleted the feature-addNamedArgumentsVariantsToReflectionGoldenTest branch November 18, 2023 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants