Open kingthrillgore opened 5 years ago
In my case, I wasn't able to configure the executable path of PHPCS with a variable. I mean, don't use ${workspaceFolder} or anything like that, just write the full path to PHPCS wherever it is. That made the difference, at least on my machine... and test it several times just to be sure :) Hope that helps!
I have started seeing this error from phpcs after updating to 1.38.0
phpcs: Unknown error ocurred. Please verify that /Users/[username]/.composer/vendor/bin/phpcs --report=json -q --encoding=UTF-8 --standard=PSR2 --error-severity=5 --warning-severity=5 --stdin-path=/Users/[path-to-file-excluded] - returns a valid json object.
I am running phpcs 3.3.0 installed from Composer on macOS 10.12.6.
Not sure if this an extension or phpcs issue, any help here would be appreciated.