Skip to content

Commit

Permalink
Merge pull request #85 from Yoast/JRF/work-round-phpcs-bug
Browse files Browse the repository at this point in the history
PHPCS: fix bug in ruleset
  • Loading branch information
jrfnl authored Jan 5, 2025
2 parents 3a07eed + 34ba59b commit 430933b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
<exclude name="WordPress.Security"/>
<exclude name="WordPress.WP"/>
<exclude name="Yoast.Yoast.JsonEncodeAlternative"/>
<exclude name="WordPressVIPMinimum"/>
<exclude name="WordPressVIPMinimum.Classes.DeclarationCompatibility"/>
<exclude name="WordPressVIPMinimum.Hooks.AlwaysReturnInFilter"/>
<exclude name="WordPressVIPMinimum.Security.EscapingVoidReturnFunctions"/>
<exclude name="WordPressVIPMinimum.Security.ProperEscapingFunction"/>

<!-- Exclude select "modern PHP" sniffs, which conflict with the minimum supported PHP version of this package. -->
<exclude name="Modernize.FunctionCalls.Dirname.Nested"/><!-- PHP 7.0+. -->
Expand Down

0 comments on commit 430933b

Please sign in to comment.