Visual Studio Code - markhowellsmead/helpers GitHub Wiki
PHPCS
.vscode/settings.json
Since 4.6.2026
Add this file to the root of the repository with the following settings. These override the global settings in ~/Library/Application Support/Code/User/settings.json - for some reason, some of these rules don't cascade down properly from the Application Support version.
{
"phpcs.enable": true,
"phpcs.standard": "phpcs.xml",
"phpcbf.onsave": true,
"phpcbf.standard": "phpcs.xml",
"phpsab.standard": "phpcs.xml",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.phpcs": "explicit"
},
"phpcs.showWarnings": false,
"prettier.requireConfig": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}