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
with the changes you expected instead:
same as original
As you can see above php-cs-fixer breaks the indentation after the else-clause. It should have a 4 space indentation, but it's doing 8 spaces and it also shifts the closing bracket with 4 spaces.
The text was updated successfully, but these errors were encountered:
I'm going to close this because issue mentions Fixer version which is not maintained anymore. Feel free to reproduce it on latest version (if problem still exists) and create new issue.
Also please have in mind that Fixer is focused on modern PHP, that does not mix code with HTML markup (see this comment), so there's high possibility that it won't be supported anyway.
The PHP version you are using (
$ php -v
):=> 7.2.12
PHP CS Fixer version you are using (
$ php-cs-fixer -V
):=> 2.13.1
The command you use to run PHP CS Fixer:
=> php-cs-fixer fix [file]
The configuration file you are using, if any:
no configuration
If applicable, please provide minimum samples of PHP code (as plain text, not screenshots):
same as original
As you can see above php-cs-fixer breaks the indentation after the else-clause. It should have a 4 space indentation, but it's doing 8 spaces and it also shifts the closing bracket with 4 spaces.
The text was updated successfully, but these errors were encountered: