Skip to content

Instantly share code, notes, and snippets.

@gregrickaby
Last active March 31, 2017 19:27
Show Gist options
  • Save gregrickaby/ddce64643479a367aee9753fc7343329 to your computer and use it in GitHub Desktop.
Save gregrickaby/ddce64643479a367aee9753fc7343329 to your computer and use it in GitHub Desktop.
Sublime Text 3 - Phpcs Plugin Setting
{
// It seems python/sublime cannot always find the phpcs application
// If empty, then use PATH version of phpcs, else use the set value
"phpcs_executable_path": "/Users/gregrickaby/.composer/vendor/bin/phpcs",
// Additional arguments you can specify into the application
//
// Example:
// {
// "--standard": "PEAR",
// "-n"
// }
"phpcs_additional_args": {
"--standard": "WordPress-Core",
"-n": ""
},
}
{
// It seems python/sublime cannot always find the phpcs application
// If empty, then use PATH version of phpcs, else use the set value
"phpcs_executable_path": "C:\\Users\\Greg\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcs",
// Additional arguments you can specify into the application
//
// Example:
// {
// "--standard": "PEAR",
// "-n"
// }
"phpcs_additional_args": {
"--standard": "WordPress-Extra",
"-n": ""
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment