Can not run PHP_CodeSniffer

My code sniffer used to work until a couple of updates ago. Under Quality Tools,  I've set the local path to a valid phpcs.bat file. However, the validation process just throws "Can not validate PHP_CodeSniffer" without any message that could help me figure out how to solve it.

I couldn't find any error message in the logs. But I do see this:

2019-12-03 14:15:02,243 [2511633]  DEBUG - lity.QualityToolProcessCreator - Running quality tool from working dir: 
D:\Soft\scoop\apps\composer\current\home\vendor\bin\phpcs.bat --version

Manually running that command also seems to work

Any suggestions ?

0
1 comment

Hm, just tried to install the same PHP CodeSniffer 3.5.2 from Composer, working like a charm in PhpStorm 2019.3.4

By the chance, what version of IDE do you have installed? Is there anything else after that line in a log file?

0

Please sign in to leave a comment.