Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
BracesFixer - fix invalid code generation on alternative syntax #4813
Basically this skips some edge cases when using alternative syntax. For now I don't want to add a lot of logic to support this case fully as we are splitting this fixer in the future anyway. Secondly we don't support alternative syntax in a lot of cases in the project.
For those interested;
it is here; https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4813/files#diff-6ee2b7ebb0faee78657d4e8d3fb3e10dR5313 but happy to add more tests!
good find, thanks! code and tests updated