-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Comment on last USE statement causes false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse #1891
Comments
Generic.Files.LineLength.TooLong
on the last USE statement causes a false positive for PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
@gsherwood Do you have an ETA for the 3.2.3 release? |
Should have been 3 weeks ago but I got very ill, so it's very late. Hopefully this week though. |
@gsherwood Sorry to hear you were ill. Hope you're all better now. |
Thanks for letting me know, and thanks for all your help with those annotations. |
@gsherwood Thanks for the estimate. Hope you're feeling better! |
Overview
If the last USE statement has a comment, an incorrect
PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse
error is reported.Steps to reproduce
Run
phpcs --standard=PSR2
on a file with the following contents:Expected output
None. This should validate correctly.
Actual output
The text was updated successfully, but these errors were encountered: