Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Sniffer works on one project but fails on others #3948

Closed
jcummings83 opened this issue Apr 12, 2024 · 0 comments
Closed

Code Sniffer works on one project but fails on others #3948

jcummings83 opened this issue Apr 12, 2024 · 0 comments

Comments

@jcummings83
Copy link

jcummings83 commented Apr 12, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant