We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Generic.WhiteSpace.SpaceIndent.IncorrectExact false positive when condition or cycle are placed inside the block
Code sample
{ if (1 > 2) { $a = 1; } }
Shows
-------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------------- 3 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4 5 | ERROR | [x] Line indented incorrectly; expected 0 spaces, found 4 -------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY --------------------------------------------------------------------------------------
Expected behavior Sniff doesn't fire
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Generic.WhiteSpace.SpaceIndent.IncorrectExact false positive when condition or cycle are placed inside the block
Code sample
Shows
Expected behavior
Sniff doesn't fire
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: