vscode-phpcs icon indicating copy to clipboard operation
vscode-phpcs copied to clipboard

vscode phpcs: Unknown error ocurred

Open Mitsein opened this issue 6 years ago • 1 comments

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.

Mitsein avatar Apr 25 '18 05:04 Mitsein

I think it's the same problem as https://github.com/ikappas/vscode-phpcs/issues/119

Hugues-Antoine avatar Jun 08 '18 08:06 Hugues-Antoine