You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@enumag thanks for confirming. When I run bin/phpcbf -sp --standard=Squiz --sniffs=Squiz.Classes.ClassDeclaration issue-3842.php with the suggested input, I get expected output. I suspect this may have already been fixed in 3f7b9ba / #3826.
Describe the bug
The sniff removes a space and makes the code invalid
Code sample
To reproduce
Steps to reproduce the behavior:
test.php
with the code sample above...phpcs test.php ...
Expected behavior
The code should be unchanged.
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer.The text was updated successfully, but these errors were encountered: