Skip to content

Commit

Permalink
Add gp prefix to ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Dec 4, 2023
1 parent cf3d2fe commit 4a48e2c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@
-->

<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<!-- Set the global prefix. -->
<property name="prefixes" type="array" value="gp_convert_pt_ao90"/>
</properties>
<element value="gp_convert_pt_ao90"/>
<!-- Set the GlotPress prefix. -->
<element value="gp"/>
</property>
</rule>

<!-- Disallow Yoda conditions in the codebase. -->
Expand Down

0 comments on commit 4a48e2c

Please sign in to comment.