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

[Php80] Fix OptionalParametersAfterRequiredRector to treat variadic as optional #248

Merged
merged 4 commits into from
Jun 19, 2021

Conversation

rajyan
Copy link
Contributor

@rajyan rajyan commented Jun 19, 2021

@rajyan rajyan changed the title Treat variadic as optional [Php80] fix OptionalParametersAfterRequiredRector to treat variadic as optional Jun 19, 2021
@rajyan rajyan changed the title [Php80] fix OptionalParametersAfterRequiredRector to treat variadic as optional [Php80] Fix OptionalParametersAfterRequiredRector to treat variadic as optional Jun 19, 2021
@rajyan
Copy link
Contributor Author

rajyan commented Jun 19, 2021

@lptn
I used your falling test case by moving it to the correct directory, and fixed it.

@TomasVotruba @samsonasik
Ready for review!

@TomasVotruba
Copy link
Member

Looks good, thank you for the fix 👍

@TomasVotruba TomasVotruba merged commit 2723dfd into rectorphp:main Jun 19, 2021
@rajyan rajyan deleted the treat-variadic-as-optional branch June 19, 2021 16:12
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.

Incorrect behavior of OptionalParametersAfterRequiredRector with variadic params
3 participants