Closed tommcfarlin closed 3 years ago
After more research, it looks like composer run compat
is using the PHPCompatibility
standard which will need to be updated to have its own custom ruleset so it scans only our core files.
More information can be found about this here.
Duplicate of #17
Problem
composer lint
which is a combination of a couple of commands:composer run compat
composer run lint:php
Attempts to scan more than the standard
wds_headless
theme directory.Solution
Introduce additional exclusion patterns into
.phpcs.xml.dist
to ignore anything that is outside the core purview of the WDS Headless theme.