Skip to content

Commit

Permalink
Squiz ruleset: update property format
Browse files Browse the repository at this point in the history
The Squiz ruleset was still using the deprecated property setting array format for the `Generic.Debug.ClosureLinter` sniff.

Fixed now.
  • Loading branch information
jrfnl committed Nov 27, 2024
1 parent 941a00e commit 66d3ac5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Standards/Squiz/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,14 @@
<!-- We don't want gsjlint throwing errors for things we already check -->
<rule ref="Generic.Debug.ClosureLinter">
<properties>
<property name="errorCodes" type="array" value="0210"/>
<property name="ignoreCodes" type="array" value="0001,0110,0240"/>
<property name="errorCodes" type="array">
<element value="0210"/>
</property>
<property name="ignoreCodes" type="array">
<element value="0001"/>
<element value="0110"/>
<element value="0240"/>
</property>
</properties>
</rule>
<rule ref="Generic.Debug.ClosureLinter.ExternalToolError">
Expand Down

0 comments on commit 66d3ac5

Please sign in to comment.