-
-
Save tommcfarlin/0631fb0f5d276d49d015bb4acc1ea500 to your computer and use it in GitHub Desktop.
[Visual Studio Code] Adding PHP Coding Standard Support to Visual Studio Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ... | |
// PHP Settings. | |
"php.suggest.basic": true, | |
"php.validate.executablePath": "/usr/local/bin/php", | |
"php.validate.run": "onSave", | |
// ... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// ... | |
// 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