I am fairly new to using PHPCS so hoping this is an easy fix or if someone can point me in the right direction. I have it installed globally and I have one local wordpress site where it runs as it should, but I just setup 2 new local sites and when I open any php files from them, it fails and I get the following message:
Error in plugin "gulp-phpcs"
Message:
Execution of Code Sniffer Failed
Details:
stdout: ERROR: Referenced sniff "PHPCSUtils" does not exist
When I run phpcs -i it displays "The installed coding standards are MySource, PEAR, PSR1, PSR2, PSR12, Squiz, Zend, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra and PHPCompatibility"
I am fairly new to using PHPCS so hoping this is an easy fix or if someone can point me in the right direction. I have it installed globally and I have one local wordpress site where it runs as it should, but I just setup 2 new local sites and when I open any php files from them, it fails and I get the following message:
Error in plugin "gulp-phpcs" Message: Execution of Code Sniffer Failed Details: stdout: ERROR: Referenced sniff "PHPCSUtils" does not exist
When I run phpcs -i it displays "The installed coding standards are MySource, PEAR, PSR1, PSR2, PSR12, Squiz, Zend, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra and PHPCompatibility"
Is there something I am missing?