We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac98091 commit c7e7651Copy full SHA for c7e7651
plugins/wpgraphql-logging/phpcs.xml
@@ -53,7 +53,10 @@
53
</rule>
54
<rule ref="PSR12.Files.DeclareStatement"/>
55
<rule ref="PEAR.NamingConventions.ValidClassName"/>
56
- <rule ref="PHPCompatibilityWP"/>
+ <rule ref="PHPCompatibilityWP">
57
+ <!-- "List" as a namespace component is valid in PHP and works at runtime -->
58
+ <exclude name="PHPCompatibility.Keywords.ForbiddenNames.listFound"/>
59
+ </rule>
60
<rule ref="WordPress-VIP-Go">
61
<exclude name="WordPressVIPMinimum.JS.Window"/>
62
<exclude name="WordPressVIPMinimum.JS.DangerouslySetInnerHTML"/>
0 commit comments