Skip to content
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

Fix ReflectionClass::newInstanceArgs() - error on argument type #2176

Merged
merged 1 commit into from Jan 11, 2023

Conversation

s3b4stian
Copy link
Contributor

Update ReflectionClass stub to solve phpstan/phpstan#8679.

Tests needed!

@ondrejmirtes
Copy link
Member

Please test it in CallMethodsRuleTest.

@ondrejmirtes
Copy link
Member

FYI you based the PR on 1.10.x. This means it's going to be released somewhat later than if you based it on 1.9.x. Feel free to rebase it on top of 1.9.x, thanks.

@s3b4stian
Copy link
Contributor Author

If you wish, merge this PR on 1.10.x, I will do a new PR, based on branch 1.9.x.

@ondrejmirtes
Copy link
Member

You don't need to do a new PR, you can just change the base on 1.9.x and rebase on top of 1.9.x. Everything in 1.9.x gets merged automatically into 1.10.x.

@s3b4stian s3b4stian changed the base branch from 1.10.x to 1.9.x January 11, 2023 09:11
@s3b4stian
Copy link
Contributor Author

s3b4stian commented Jan 11, 2023

Now should be ok, next time I will start checking out a new dev branch and not working directly on official one. Less problem to do a rebase. Thaks for the support!

@ondrejmirtes ondrejmirtes merged commit a1e5eb4 into phpstan:1.9.x Jan 11, 2023
@ondrejmirtes
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants