Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created March 1, 2018 15:46
Show Gist options
  • Save tommcfarlin/0631fb0f5d276d49d015bb4acc1ea500 to your computer and use it in GitHub Desktop.
Save tommcfarlin/0631fb0f5d276d49d015bb4acc1ea500 to your computer and use it in GitHub Desktop.
[Visual Studio Code] Adding PHP Coding Standard Support to Visual Studio Code
{
// ...
// PHP Settings.
"php.suggest.basic": true,
"php.validate.executablePath": "/usr/local/bin/php",
"php.validate.run": "onSave",
// ...
}
{
// ...
// PHP Coding Standards.
"phpcs.enable": true,
"phpcs.executablePath": "/usr/local/bin/phpcs",
"phpcs.standard": "PSR2"
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment