Skip to content

Commit

Permalink
Merge pull request #33 from szepeviktor/patch-1
Browse files Browse the repository at this point in the history
Use modern array syntax in .phpcs.xml.dist
  • Loading branch information
jeremyfelt authored Sep 13, 2023
2 parents aae3cac + 330a154 commit 14c31ff
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,21 @@
<rule ref="WordPress-Docs" />
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
<property name="prefixes" type="array" value="ShadowTerms,shadow_terms"/>
<property name="prefixes" type="array">
<!-- Value: replace the function, class, and variable prefixes used. -->
<element value="ShadowTerms"/>
<element value="shadow_terms"/>
</property>
</properties>
</rule>


<rule ref="WordPress.WP.I18n">
<properties>
<!-- Value: replace the text domain used. -->
<property name="text_domain" type="array" value="shadow-terms"/>
<property name="text_domain" type="array">
<!-- Value: replace the text domain used. -->
<element value="shadow-terms"/>
</property>
</properties>
</rule>
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
Expand Down

0 comments on commit 14c31ff

Please sign in to comment.