Last active
September 12, 2024 15:56
-
-
Save DominicWatts/91ec4918665f09307eb18e8a97d7da7b to your computer and use it in GitHub Desktop.
Docker : PHP-CS-Fixer Magento 2 ruleset docker #docker
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
docker run --rm -v $PWD:/code domw/php-cs-fixer php-cs-fixer fix --rules='\''{"@PSR2":true,"array_syntax":{"syntax":"short"},"concat_space":{"spacing":"one"},"include":true,"new_with_braces":true,"no_empty_statement":true,"no_extra_blank_lines":true,"no_leading_import_slash":true,"no_leading_namespace_whitespace":true,"no_multiline_whitespace_around_double_arrow":true,"multiline_whitespace_before_semicolons":false,"no_singleline_whitespace_before_semicolons":true,"no_trailing_comma_in_singleline_array":true,"no_unused_imports":true,"no_whitespace_in_blank_line":true,"object_operator_without_whitespace":true,"ordered_imports":true,"standardize_not_equals":true,"ternary_operator_spaces":true,"phpdoc_no_package":true}'\'' --using-cache=no --allow-risky=yes --verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment