linter-phpcs icon indicating copy to clipboard operation
linter-phpcs copied to clipboard

Referenced sniff does not exist

Open CrowdForge opened this issue 5 years ago • 4 comments

I recently re-installed WP Coding standards and now am receiving the following error:

PHPCS Response ERROR: Referenced sniff "PHPCSUtils" does not exist

CrowdForge avatar Sep 10 '20 17:09 CrowdForge

Did you get this working?

UziTech avatar Mar 31 '21 00:03 UziTech

Problem exists if wpcs repo is cloned and develop branch in use. Switching to master solves this issue.

tomaszcode avatar Feb 17 '22 08:02 tomaszcode

I am having a similar issue of trim(): Passing null from this issue https://github.com/WordPress/WordPress-Coding-Standards/issues/2035 which mentions being fixed in the develop branch but not I get this error when develop is checked out.

philhoyt avatar Apr 27 '22 01:04 philhoyt

I ended up switching my systems php version

philhoyt avatar Apr 27 '22 01:04 philhoyt