Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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