Skip to content

Commit

Permalink
Update phpcs.xml
Browse files Browse the repository at this point in the history
Fix the minimum WP and PHP versions in the CS config.
  • Loading branch information
jdevalk authored Dec 7, 2023
1 parent 22a765d commit 93913d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@

<!-- Run against the PHPCompatibility ruleset -->
<rule ref="PHPCompatibility">
<!-- WP supports down to 5.6.2 : https://wordpress.org/about/requirements/ -->
<config name="testVersion" value="5.6-"/>
<!-- WP supports down to 7.0 : https://wordpress.org/about/requirements/ -->
<config name="testVersion" value="7.0-"/>
</rule>

<config name="minimum_supported_wp_version" value="5.0.0"/>
<config name="minimum_wp_version" value="6.2"/>

<!--
Prevent errors caused by WordPress Coding Standards not supporting PHP 8.0+.
See https://github.com/WordPress/WordPress-Coding-Standards/issues/2035
-->
<ini name="error_reporting" value="E_ALL &#38; ~E_DEPRECATED" />

</ruleset>
</ruleset>

0 comments on commit 93913d8

Please sign in to comment.