Skip to content

Instantly share code, notes, and snippets.

@ian-pvd
Last active August 29, 2015 14:11
Show Gist options
  • Save ian-pvd/e3f03d934fc1a96c8849 to your computer and use it in GitHub Desktop.
Save ian-pvd/e3f03d934fc1a96c8849 to your computer and use it in GitHub Desktop.
Sublime Text PHPCS User Settings
{
// User settings
// Options include:
// - Sniffer
// - Fixer
// - Mess Detector
//
// This will prepend the application with the path to php
// Needed for windows, or anyone who doesn't/can't make phars
// executable. Avoid setting this if at all possible
"phpcs_commands_to_php_prefix": ["Sniffer"],
// 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/ian/broadway/www/phpcs",
// Additional arguments you can specify into the application
//
// Example:
// {
// "--standard": "PEAR",
// "-n"
// }
"phpcs_additional_args": {
"--standard": "WordPress",
"-n": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment