Skip to content

Instantly share code, notes, and snippets.

@ultimike
Created October 28, 2023 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultimike/ba27e26c8a3108ad4020c735ea8b4c3d to your computer and use it in GitHub Desktop.
Save ultimike/ba27e26c8a3108ad4020c735ea8b4c3d to your computer and use it in GitHub Desktop.
Visual Studio Code workspace settings
{
/* DDEV container */
/* PHP Linting */
"php.validate.executablePath": "/usr/bin/php",
/* PHP Sniffer & Beautifier */
"phpsab.executablePathCS": "/var/www/html/vendor/bin/phpcs",
"phpsab.executablePathCBF": "/var/www/html/vendor/bin/phpcbf",
"phpsab.standard": "/var/www/html/phpcs.xml",
"phpsab.snifferEnable": true,
"phpsab.fixerEnable": true,
"phpsab.snifferMode": "onType",
"phpsab.debug": false,
"phpsab.fixerArguments": [],
/* phpstan */
"phpstan.enabled": true,
"phpstan.showProgress": true,
"phpstan.binPath": "/var/www/html/vendor/bin/phpstan",
"phpstan.configFile": "/var/www/html/phpstan.neon"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment