-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Help: Getting PHPCS Response ERROR: Referenced sniff "PHPCSUtils" does not exist #3110
Comments
@CrowdForge Based on that tutorial, you would be using a git clone and based on the error, you seem to be using the See the installation instructions for WordPressCS; https://github.com/WordPress/WordPress-Coding-Standards Regarding PHPCSUtils: that is a new dependency which WordPressCS 3.0.0 (currently in development) will use, It is basically a layer between PHP_CodeSniffer and an external standard to help with some of the more complex logic used in sniffs and with PHPCS cross-version compatibility. |
Thanks, @jrfnl . Switching to the master branch is works for me. 👍 |
I am getting the same error on version 3.5.8, any idea why? |
@Micu22 See the above - you are using a non-released, development version of an external standard. Switch to using a tagged release and all will be fine. |
I can confirm that is the solution, I just thought that 3.5.8 has it already stable.
|
|
Thanks It is working 👌🏻 |
I had this issue and switching WordPress coding standards to the master branch worked for me 👍 |
I've installed codesniffer with homebrew on a mac using the guide here: https://luminfire.com/2017/03/01/wordpress-php-codesniffer-favorite-editor/
But I'm getting the following error in dev tools on atom:
PHPCS Response ERROR: Referenced sniff "PHPCSUtils" does not exist
I don't recognize PHPCSUtils from any of the process or configuration. Any thoughts / ideas?
The text was updated successfully, but these errors were encountered: