Skip to content

Commit 65651d9

Browse files
authored
Don't set minimum_supported_wp_version and testVersion (#208)
* Don't set minimum_supported_wp_version and testVersion * Update changelog and readme example
1 parent 20a1342 commit 65651d9

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
9+
### Changed
10+
* PHP: Remove `minimum_supported_wp_version` and `testVersion`.
11+
712
## [4.0.0] - 2022-12-08
813

914
### Changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ You can create your own custom standard file (e.g. `phpcs.xml.dist`) if you want
7777
<!-- Use required Coding Standards -->
7878
<rule ref="Required"/>
7979
80+
<!-- The minimum supported WordPress version for all sniffs which use it. -->
81+
<config name="minimum_supported_wp_version" value="6.1"/>
82+
<!-- The minimum PHP requirement. -->
83+
<config name="testVersion" value="7.4-"/>
84+
8085
<!-- Your custom rules go here -->
8186
</ruleset>
8287
```

Required/ruleset.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,6 @@
242242
<severity>0</severity>
243243
</rule>
244244

245-
<!--Require the latest version of WordPress. -->
246-
<config name="minimum_supported_wp_version" value="5.3"/>
247-
248245
<!-- Run against the PHPCompatibilityWP ruleset -->
249246
<rule ref="PHPCompatibilityWP"/>
250-
251-
<config name="testVersion" value="7.4-"/>
252247
</ruleset>

0 commit comments

Comments
 (0)