Skip to content

Instantly share code, notes, and snippets.

@vitorpacheco
Created February 21, 2014 03:56
Show Gist options
  • Select an option

  • Save vitorpacheco/9128464 to your computer and use it in GitHub Desktop.

Select an option

Save vitorpacheco/9128464 to your computer and use it in GitHub Desktop.
phpcs.sublime-settings
{
"phpcs_additional_args": {
"--standard": "PSR2",
"-n": ""
},
// Show outline for errors
"phpcs_outline_for_errors": false,
// Show the errors in the quick panel so you can then goto line
"phpcs_show_quick_panel": false,
// 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:\\php\\phpcs.bat",
// Are we going to run php -l over the file?
"phpcs_linter_run": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment