Replies: 1 comment
-
|
It seems to me that this will significantly complicate the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rector\CodeQuality\Rector\ClassMethod\OptionalParametersAfterRequiredRectorswitched the position of two parameters in the method signature but did not modify the docblock's@paramorder.This was a TYPO3 system which uses symfony's dependency injection, and this prefers docblocks over method parameters. So the DI called the method with the wrong parameter order because of the discrepancy between docblock and signature.
I don't know if modifying docblocks is out of scope for rector.
Beta Was this translation helpful? Give feedback.
All reactions