Closed TimWolla closed 2 years ago
This effectively was already reported here: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6470#issuecomment-1180263054, as part of a larger comment. I believe this issue is still useful, as it is very narrow in scope and focusing on a single bad fix.
Bug report
PHP-CS-Fixer incorrectly indents (or rather unindents) the comment within the “then” part of the
if
of the example code:No config used;
test.php
is the only file in the directory.Code snippet that reproduces the problem