Skip to content

Commit dd14e51

Browse files
committed
exclude deprecated sniff from standards
1 parent d63a93f commit dd14e51

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Pantheon-WP-Minimum/ruleset.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
<rule ref="WordPress" />
1515

16+
<!-- Exclude deprecated sniffs from included standards. -->
17+
<rule ref="Generic.Functions.CallTimePassByReference">
18+
<severity>0</severity>
19+
</rule>
20+
1621
<!-- Disallow use of __FILE__ in menu slugs, which exposes the filesystem's data. -->
1722
<rule ref="WordPress.Security.PluginMenuSlug" />
1823
<rule ref="WordPress.Security.PluginMenuSlug.Using__FILE__">

0 commit comments

Comments
 (0)