vscode-phpcs
vscode-phpcs copied to clipboard
vscode phpcs: Unknown error ocurred
phpcs: Unknown error ocurred. Please verify that /usr/local/opt/[email protected]/bin/phpcs --report=json -q --encoding=UTF-8 --standard=PSR2 --error-severity=5 --warning-severity=5 --stdin-path=/Users/Mitsein/gitWarehouse/bbs/alipaybbs/src/applications/admin/controller/FindController.php - returns a valid json object.
My config
"php.validate.executablePath": "/usr/local/opt/[email protected]/bin/php", "phpcs.executablePath":"/usr/local/opt/[email protected]/bin/phpcs",
I get rid of "-stdin -path=". It is normal for me to try the command line to run PHPCS.
I think it's the same problem as https://github.com/ikappas/vscode-phpcs/issues/119