Skip to content

Commit

Permalink
Coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Aug 7, 2024
1 parent 942843e commit 61d7fc5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,18 @@
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
<exclude-pattern>tests/wp-config.php</exclude-pattern>

<exclude-pattern type="relative">^build/*</exclude-pattern>
<exclude-pattern type="relative">^node_modules/*</exclude-pattern>
<exclude-pattern type="relative">^vendor/*</exclude-pattern>
<exclude-pattern type="relative">^wordpress/*</exclude-pattern>

<rule ref="PronamicWP">
<exclude name="WordPress.DB.SlowDBQuery.slow_db_query_meta_query" />

<exclude name="WordPressVIPMinimum.Performance.NoPaging.nopaging_nopaging" />
</rule>

<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed">
<exclude-pattern>src/Upgrade310.php</exclude-pattern>
</rule>
</ruleset>

0 comments on commit 61d7fc5

Please sign in to comment.