-
Notifications
You must be signed in to change notification settings - Fork 63
Turn yield from into multiple yield in PHPUnit Dataprovider
#554
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
| ); | ||
|
|
||
| $parameterTypes = []; | ||
| foreach ($extendedParametersAcceptor->getParameters() as $parameterReflection) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated fix to get a green build. no functional changes
|
Neat work 👏 Thank you Could you add this role to the code quality set here? It's great fit |
| $statement = $statement->expr; | ||
| } | ||
|
|
||
| if ($statement instanceof Return_ || $statement instanceof YieldFrom) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👏
|
I see. The rule is already in the set. Good to go then 👍 |
|
I've triggered the build of |
|
thanks! found a interessting case which doesn't work atm |
|
|
|
I created PR to skip mix yield and yield from. |
closes rectorphp/rector#9443