Closed vv12131415 closed 3 years ago
Can you provide a PR against dev-kit repo? Search for .php_cs.dist.twig file
Thanks
I am currently on a phone 📱
I haven't found the right rule here https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/2.18/doc/rules/index.rst
Already provided by the Symfony ruleset. The rules you look for is a feature-request: https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/4997.
So I'm closing the issue.
During review in https://github.com/sonata-project/SonataAdminBundle/pull/6778#discussion_r561338984 @phansys came to idea to avoid superfluous parentheses in conditional branches. The example of this is
which should be fixed to