Skip to content

Instantly share code, notes, and snippets.

@raymadrona
Forked from ajcastro/phpcs-user-settings
Last active August 29, 2015 14:24
Show Gist options
  • Save raymadrona/11ac75f10ccbda0807b6 to your computer and use it in GitHub Desktop.
Save raymadrona/11ac75f10ccbda0807b6 to your computer and use it in GitHub Desktop.
{
"phpcs_additional_args": {
"--standard": "PSR2",
"-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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment