Skip to content

Commit fee1518

Browse files
authored
Add migration guide
1 parent 806cd54 commit fee1518

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88

99
### Changed
10-
* PHP: Remove `minimum_supported_wp_version` and `testVersion`.
10+
* PHP: Remove `minimum_supported_wp_version` and `testVersion`.
11+
Migration guide: Add the following to the `phpcs.xml.dist` file to restore previous behaviour.
12+
```yml
13+
<!-- The minimum supported WordPress version for all sniffs which use it. -->
14+
<config name="minimum_supported_wp_version" value="5.3"/>
15+
<!-- The minimum PHP requirement. -->
16+
<config name="testVersion" value="7.4-"/>
17+
```
1118
* PHP: Introduce `Required-Strict` ruleset for stricter rules.
1219

1320
## [4.0.0] - 2022-12-08

0 commit comments

Comments
 (0)