Julien Falque
Julien Falque
On `dev-master`, your sample code is indeed unexpectedly changed by `braces` but isn't changed by `statement_indentation` so you might want to use that rule. Otherwise I think we can assume...
Actually, `statement_indentation` does not break correctly indented code, but it also doesn't fix badly indented code. So yes, let's keep this issue open.
Indeed, this is now handled by `curly_braces_position` rule.
@shakaran We need to make a decision regarding https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4884#discussion_r397103973. Also, I don't have much time to work on this currently so any contribution is welcome :)
Rebased and added test for `AlternativeSyntaxAnalyzer`. Now everything in `BracesFixer` is delegated to other fixers except one thing: ensuring there is a single space before the `use` keyword in anonymous...
I started splitting this PR into multiple smaller ones. First one is #5751.
Here it is: #5932 😄
@keradus I'll try to rebase the PR shortly. I think we still need to make a decision about items 1 and 2 in https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4884#discussion_r399457536. Edit: Here is the next PR:...
Next step: #6452.
Next step: #6458 😄️