Skip to content

Commit

Permalink
Variables/VariableAnalysis: remove the sniff
Browse files Browse the repository at this point in the history
Follow up after the deprecation in PR 450.

* Remove the sniff.
* Remove the error silencing related to the deprecation from the ruleset.
  • Loading branch information
jrfnl committed Aug 24, 2023
1 parent 62e7d06 commit 67aae6d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 179 deletions.
81 changes: 0 additions & 81 deletions WordPressVIPMinimum/Sniffs/Variables/VariableAnalysisSniff.php

This file was deleted.

29 changes: 0 additions & 29 deletions WordPressVIPMinimum/Tests/Variables/VariableAnalysisUnitTest.inc

This file was deleted.

41 changes: 0 additions & 41 deletions WordPressVIPMinimum/Tests/Variables/VariableAnalysisUnitTest.php

This file was deleted.

28 changes: 0 additions & 28 deletions WordPressVIPMinimum/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,32 +153,4 @@
</properties>
</rule>

<!-- Prevent deprecation notice when the sniff is not explicitly included. -->
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.DeprecatedSniff">
<severity>0</severity>
</rule>

<!-- Prevent duplicate messages from deprecated sniff. -->
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.VariableRedeclaration">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.UndefinedVariable">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.UnusedVariable">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.SelfInsideClosure">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.SelfOutsideClass">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.StaticInsideClosure">
<severity>0</severity>
</rule>
<rule ref="WordPressVIPMinimum.Variables.VariableAnalysis.StaticOutsideClass">
<severity>0</severity>
</rule>

</ruleset>

0 comments on commit 67aae6d

Please sign in to comment.