Skip to content

Instantly share code, notes, and snippets.

@w33ble
Created May 25, 2013 04:19
Show Gist options
  • Save w33ble/5647892 to your computer and use it in GitHub Desktop.
Save w33ble/5647892 to your computer and use it in GitHub Desktop.
better phpcs settings
{
// Plugin settings
// PHP-CS-Fixer settings
// Path to where you have the php-cs-fixer installed
"php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer",
// Fix the issues on save
"php_cs_fixer_on_save": true,
// Show the quick panel
"php_cs_fixer_show_quick_panel": false,
// PHP_CodeSniffer settings
// Do you want to run the phpcs checker?
"phpcs_sniffer_run": false,
// Show the errors in the quick panel so you can then goto line
"phpcs_show_quick_panel": false,
// Fix the issues on save
"phpcs_command_on_save": true,
// PHP Linter
// It seems python/sublime cannot always find the php application
// If empty, then use PATH version of php, else use the set value
"phpcs_php_path": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment