Last active
March 3, 2019 03:39
-
-
Save ajcastro/ac43c25dd3c382ec5eb4 to your computer and use it in GitHub Desktop.
My Phpcs User Settings
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
{ | |
"phpcs_additional_args": { | |
"--standard": "PSR2", | |
"--exclude": "Generic.Files.LineEndings", | |
"-n": "" | |
}, | |
// PHP_CodeSniffer settings | |
"phpcs_command_on_save": false, | |
"phpcs_executable_path": "/usr/bin/phpcs", | |
// PHP Mess Detector settings | |
"phpmd_executable_path": "/usr/local/bin/phpmd", | |
// phpcbf settings | |
"phpcbf_executable_path": "/usr/bin/phpcbf", | |
// PHP-CS-Fixer settings | |
// "php_cs_fixer_on_save": true, | |
"php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer", | |
"php_cs_fixer_additional_args": { | |
"--fixers": "-phpdoc_no_empty_return,-psr0,-new_with_braces,align_double_arrow,align_equals,-phpdoc_separation,-phpdoc_params,ordered_use" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment