Skip to content

Commit

Permalink
Update PHPCS minimum WP version (#3907)
Browse files Browse the repository at this point in the history
* Update phpcs minimum wp version

* Add parallel processing
  • Loading branch information
rafaelzaleski authored Feb 18, 2025
1 parent 3b6acf1 commit 325cc30
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
<ruleset name="WordPress Coding Standards">
<description>WooCommerce dev PHP_CodeSniffer ruleset.</description>

<!-- Exclude paths -->
<!-- Exclude paths -->
<exclude-pattern>./build/*</exclude-pattern>
<exclude-pattern>./dist/*</exclude-pattern>
<exclude-pattern>./docker/*</exclude-pattern>
<exclude-pattern>./node_modules/*</exclude-pattern>
<exclude-pattern>./vendor/*</exclude-pattern>
<exclude-pattern>./release/*</exclude-pattern>
<exclude-pattern>*\.(?!php$)</exclude-pattern>

<!-- Configs -->
<config name="minimum_supported_wp_version" value="5.6" />
<config name="testVersion" value="7.4" />
<config name="minimum_supported_wp_version" value="6.3" />
<config name="testVersion" value="7.4-" />
<arg name="parallel" value="8" />
<arg value="ps" />

<!-- Rules -->
<rule ref="WooCommerce-Core" >
Expand Down

0 comments on commit 325cc30

Please sign in to comment.