-
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
PSR12.Files.FileHeader locks up when inline comment is the last content in a file #2619
Comments
Is this a dup of #2616 ? |
No it's not. In this case phpcs hangs and never generates any output. |
gsherwood
changed the title
FileHeaderSniff locks up
PSR12.Files.FileHeader locks up when inline comment is the last content in a file
Oct 1, 2019
Thanks for reporting this. Fix will be in 3.5.1. |
If you add another comment below <?php
// Do nothing
// Do nothing again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PSR12\Sniffs\Files\FileHeaderSniff
hangs up when checking file with following contentThe text was updated successfully, but these errors were encountered: