- Install Composer
- Install PHP_CodeSniffer
- Install WordPress Coding Standard for PHP_CodeSniffer
- Install PHPCS extension for VSCODE
- Install PHPCBF extension for VSCODE
{
"files.eol": "\n",
"phpcs.standard": "WordPress",
"phpcs.executablePath": "C:\\Users\\Haris\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcs",
"phpcs.composerJsonPath": "C:\\Users\\Haris\\AppData\\Roaming\\Composer\\composer.json",
"phpcbf.standard": "WordPress",
"phpcbf.executablePath": "C:\\Users\\Haris\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcbf.bat",
}