Skip to content

fix(ruleset): exclude tests and non-functions paths to prevent false positives#15

Merged
kodyhagen-gh merged 3 commits into
releasefrom
fix-ruleset
May 21, 2026
Merged

fix(ruleset): exclude tests and non-functions paths to prevent false positives#15
kodyhagen-gh merged 3 commits into
releasefrom
fix-ruleset

Conversation

@kodyhagen-gh

Copy link
Copy Markdown
Contributor

Replaces the unreliable include-pattern with explicit exclude-patterns covering tests, crons, blocks, template files, and vendor — preventing false positives on PHPUnit test class names and WordPress-defined constants outside of functions/.

@kodyhagen-gh
kodyhagen-gh merged commit 1e47577 into release May 21, 2026
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant