Closed morozov closed 4 years ago
Thank you for your report.
Fixed in https://github.com/slevomat/coding-standard/commit/a36138ecd1fe1e64f536070aaa78df5222c65152
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Consider the code example:
Running
phpcs
using the Doctrine Coding Standard against this file produces the following:As you can see, the first block was not flagged as violating the standard while the second was.
phpcbf
modifies the file in the following way:Which makes it syntactically invalid: