Skip to content

Commit

Permalink
Don't set minimum_supported_wp_version and testVersion (#208)
Browse files Browse the repository at this point in the history
* Don't set minimum_supported_wp_version and testVersion

* Update changelog and readme example
  • Loading branch information
ocean90 authored Jan 21, 2023
1 parent 20a1342 commit 65651d9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed
* PHP: Remove `minimum_supported_wp_version` and `testVersion`.

## [4.0.0] - 2022-12-08

### Changed
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ You can create your own custom standard file (e.g. `phpcs.xml.dist`) if you want
<!-- Use required Coding Standards -->
<rule ref="Required"/>
<!-- The minimum supported WordPress version for all sniffs which use it. -->
<config name="minimum_supported_wp_version" value="6.1"/>
<!-- The minimum PHP requirement. -->
<config name="testVersion" value="7.4-"/>
<!-- Your custom rules go here -->
</ruleset>
```
Expand Down
5 changes: 0 additions & 5 deletions Required/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,6 @@
<severity>0</severity>
</rule>

<!--Require the latest version of WordPress. -->
<config name="minimum_supported_wp_version" value="5.3"/>

<!-- Run against the PHPCompatibilityWP ruleset -->
<rule ref="PHPCompatibilityWP"/>

<config name="testVersion" value="7.4-"/>
</ruleset>

0 comments on commit 65651d9

Please sign in to comment.