Open Mitsein opened 6 years ago
phpcs: Unknown error ocurred. Please verify that /usr/local/opt/php@5.6/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/php@5.6/bin/php", "phpcs.executablePath":"/usr/local/opt/php@5.6/bin/phpcs",
"php.validate.executablePath": "/usr/local/opt/php@5.6/bin/php", "phpcs.executablePath":"/usr/local/opt/php@5.6/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
phpcs: Unknown error ocurred. Please verify that /usr/local/opt/php@5.6/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/php@5.6/bin/php", "phpcs.executablePath":"/usr/local/opt/php@5.6/bin/phpcs",
I get rid of "-stdin -path=". It is normal for me to try the command line to run PHPCS.