Skip to content

Commit

Permalink
update the VIP rulesets description to indicate that it's deprecated,…
Browse files Browse the repository at this point in the history
… and fix deprecation silencers
  • Loading branch information
tomjn committed Jul 8, 2018
1 parent 689a7d0 commit e62e6cc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions WordPress-VIP/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="WordPress VIP">
<description>WordPress.com VIP Coding Standards</description>
<description>Deprecated WordPress.com VIP Coding Standards, use the official VIP coding standards instead</description>

<autoload>./../WordPress/PHPCSAliases.php</autoload>

Expand Down Expand Up @@ -132,7 +132,7 @@
-->

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.AdminBarRemovalSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.AdminBarRemoval.DeprecatedSniff">
<severity>0</severity>
</rule>

Expand Down Expand Up @@ -222,32 +222,32 @@
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.OrderByRandSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.OrderByRand.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.RestrictedFunctionsSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.RestrictedFunctions.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.RestrictedVariablesSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.RestrictedVariables.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.SessionFunctionsUsageSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.SessionFunctionsUsage.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.SessionVariableUsageSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.SessionVariableUsage.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitely included. -->
<rule ref="WordPress.VIP.SuperGlobalInputUsageSniff.DeprecatedSniff">
<rule ref="WordPress.VIP.SuperGlobalInputUsage.DeprecatedSniff">
<severity>0</severity>
</rule>

Expand Down

0 comments on commit e62e6cc

Please sign in to comment.