-
Notifications
You must be signed in to change notification settings - Fork 36
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
ERROR: Referenced sniff "PHPCompatibilityWP" does not exist #166
Comments
Hi Dylan—Thanks for posting this! Can you please confirm that you've run Line 4 in b03f1bd
Happy to test more, though, and figure out why it's not working on your side! |
I also ran
I'm confused why phpcs can't find the sniff but PHPCompatibilityWP is installed. |
I remember needing to debug this at some point myself. I believe the issue is with VS Code's choice of PHP_CodeSniffer executable. One thing you can do to debug is run In case this helps, these are my other settings in VS Code:
I don't use VS Code as my primary IDE anymore, so these may be outdated or otherwise inappropriate, just to warn you. |
Hi Greg, I tried the settings you provided and got some new errors so I need to do some more tinkering. Thanks for helping out with this issue so far! |
You're very welcome! If you're able to sort this out, I'd love to hear how you resolved the issue on your side. In case you're able to confirm: Is |
Hi,
I don't know if this is a specific PHP Codesniffer issue or a problem with the theme but I get the following error:
ERROR: Referenced sniff "PHPCompatibilityWP" does not exist
Do I need to install the sniff globally?
I hope you can point me in the right direction.
The text was updated successfully, but these errors were encountered: