PHP: Remove minimum_supported_wp_version and testVersion.
Migration guide: Add the following to the phpcs.xml.dist file to restore previous behaviour.
<!-- The minimum supported WordPress version for all sniffs which use it. -->
<config name="minimum_supported_wp_version" value="5.3"/>
<!-- The minimum PHP requirement. -->
<config name="testVersion" value="7.4-"/>
PHP: Introduce Required-Strict ruleset for stricter rules.
PHP: Update slevomat/coding-standard from 8.6.4 to 8.8.0.
PHP: Update sirbrillig/phpcs-variable-analysis from 2.11.9 to 2.11.10.
PHP: Remove minimum_supported_wp_version and testVersion.
Migration guide: Add the following to the phpcs.xml.dist file to restore previous behaviour.
<!-- The minimum supported WordPress version for all sniffs which use it. -->
<config name="minimum_supported_wp_version" value="5.3"/>
<!-- The minimum PHP requirement. -->
<config name="testVersion" value="7.4-"/>
PHP: Introduce Required-Strict ruleset for stricter rules.
PHP: Update slevomat/coding-standard from 8.6.4 to 8.8.0.
PHP: Update sirbrillig/phpcs-variable-analysis from 2.11.9 to 2.11.10.
[4.0.0] - 2022-12-08
Changed
JS: Increase minimum peer dependency of @wordpress/eslint-plugin from 10 to 13.
JS: Increase minimum peer dependency of prettier to 2.6.
CSS: Increase minimum peer dependency of @wordpress/stylelint-config to 21.
PHP: Increase minimum PHP requirement to 7.2.
PHP: Update slevomat/coding-standard from 7.0.18 to 8.6.4.
PHP: Update phpcompatibility/phpcompatibility-wp from 2.1.3 to 2.1.4.
PHP: Update sirbrillig/phpcs-variable-analysis from 2.11.2 to 2.11.9.
[3.0.0] - 2022-02-11
Added
CSS: Add SCSS preset for stylelint-config.
Changed
PHP: Update slevomat/coding-standard from 7.0.12 to 7.0.18.
PHP: Update phpcompatibility/phpcompatibility-wp from 2.1.1 to 2.1.3.
PHP: Allow to install on PHP 8.
JS: Increase minimum peer dependency of eslint from 7 to 8.
JS: Increase minimum peer dependency of @wordpress/eslint-plugin from 8/9 to 10.
CSS: Increase minimum peer dependency of stylelint from 13 to 14.
CSS: Increase minimum peer dependency of @wordpress/stylelint-config from 19 to 20.
Fixed
CSS: Correctly set rules for function-url-quotes and at-rule-no-unknown.
[2.2.0] - 2021-07-15
Changed
PHP: Update slevomat/coding-standard from 6.4.1 to 7.0.12.
PHP: Update sirbrillig/phpcs-variable-analysis from 2.11.0 to 2.11.2.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Updates the requirements on wearerequired/coding-standards to permit the latest version.
Release notes
Sourced from wearerequired/coding-standards's releases.
Changelog
Sourced from wearerequired/coding-standards's changelog.
... (truncated)
Commits
fdd4baa
Publish 5.0.0da615e5
Update changelog4b53728
Recommend to use Required-Strict by defaultfee1518
Add migration guide806cd54
Add a strict PHPCS rulset which enfores declare( strict_types=1 ) (#209)65651d9
Don't set minimum_supported_wp_version and testVersion (#208)20a1342
Update sirbrillig/phpcs-variable-analysis requirement (#207)ad3363c
Update slevomat/coding-standard requirement from 8.7.1 to 8.8.0 (#206)fc315a1
Update slevomat/coding-standard requirement from 8.6.4 to 8.7.1 (#205)21d0cc9
Publish 4.0.0You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)