Created
January 6, 2022 23:41
-
-
Save danielstgt/3cd01611dd68bf55754731f4d5c4016f to your computer and use it in GitHub Desktop.
PHP CS Fixer Rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rules": { | |
"@PSR2": true, | |
"ordered_imports": { | |
"sort_algorithm": "length" | |
}, | |
"array_syntax": { | |
"syntax": "short" | |
}, | |
"no_unused_imports": true, | |
"blank_line_after_opening_tag": true, | |
"binary_operator_spaces": { | |
"default": "single_space", | |
"operators": { | |
"=>": "align_single_space_minimal" | |
} | |
} | |
}, | |
"on_save": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sublime Package: https://packagecontrol.io/packages/PHP%20CS%20Fixer