-
-
Notifications
You must be signed in to change notification settings - Fork 941
Apply "static_lambda" CS rule under src/ dir
#3725
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
phansys
commented
Sep 15, 2020
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tickets | n/a |
| License | MIT |
| Doc PR | n/a |
0c89e06 to
5dda0b6
Compare
src/ dir
|
thoughts @api-platform/core-team ? |
|
I'm OK for this. Is there any CS rule to add it automatically? |
vincentchalamon
left a comment
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.
I agree with @alanpoulain, it would be perfect with a php-cs rule
|
Sorry for the delay. If the rule is added, there are some cases where the replacement is invalid (I think in cases where the function is used for binding purposes). |
|
Please rebase then :) and we'll fix this on 2.5 |
5ac6ba0 to
587211e
Compare
|
Can you target 2.5 please ? |
Done. |
|
Thanks @phansys ! |