Skip to content

Commit bce2f34

Browse files
committed
Update minimum_wp_version and testVersion in phpcs.xml.dist.sample
This commit updates the example `phpcs.xml.dist.sample` file to reflect that WP 6.6 is now the minimum supported version (three versions behind the latest release). It also updates the `testVersion` property from `7.0-` to `7.2-` since WP 6.6 dropped support for PHP 7.0 and 7.1 (https://make.wordpress.org/core/2024/04/08/dropping-support-for-php-7-1/).
1 parent 2cff710 commit bce2f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpcs.xml.dist.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
https://github.com/PHPCompatibility/PHPCompatibility
7979
-->
8080
<!--
81-
<config name="testVersion" value="7.0-"/>
81+
<config name="testVersion" value="7.2-"/>
8282
<rule ref="PHPCompatibilityWP">
8383
<include-pattern>*\.php</include-pattern>
8484
</rule>
@@ -100,7 +100,7 @@
100100
the wiki:
101101
https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties
102102
-->
103-
<config name="minimum_wp_version" value="6.5"/>
103+
<config name="minimum_wp_version" value="6.6"/>
104104

105105
<rule ref="WordPress.WP.I18n">
106106
<properties>

0 commit comments

Comments
 (0)