Skip to content

Commit

Permalink
Update phpcs.xml.dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Aug 17, 2023
1 parent 961e67e commit 6890d6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/tests/*</exclude-pattern>
<exclude-pattern>*/index.php</exclude-pattern>
<exclude-pattern>*/index.asset.php</exclude-pattern>

<!-- Only check PHP files. -->
<arg name="extensions" value="php"/>
Expand All @@ -24,6 +25,7 @@
<!-- Use WordPress ruleset. -->
<rule ref="WordPress">
<exclude name="WordPress.WP.I18n" />
<exclude name="Universal.Files.SeparateFunctionsFromOO.Mixed" />
</rule>
<rule ref="WordPress.Files.FileName">
<exclude-pattern>*/phpunit/tests/*\.php$</exclude-pattern>
Expand Down

0 comments on commit 6890d6a

Please sign in to comment.