Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Feb 17, 2022
2 parents 164937e + 6537246 commit ab1fd2b
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 37 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.0] - 2022-02-17
### Changed
- Updated minimum WordPress version to `5.7`: https://codex.wordpress.org/Supported_Versions.
- Updated minimum PHP version to `7.4`: https://www.php.net/supported-versions.

## [1.0.0] - 2021-06-25
### Added
- Added `PHPCompatibilityWP` rule.
Expand All @@ -22,5 +27,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added relative exclude pattern `^wordpress/*` for the `wordpress` folder.
- Added relative exclude pattern `^wp-content/*` for the `wp-content` folder.

[Unreleased]: https://github.com/pronamic/wp-coding-standards/compare/1.0.0...HEAD
[Unreleased]: https://github.com/pronamic/wp-coding-standards/compare/1.1.0...HEAD
[1.1.0]: https://github.com/pronamic/wp-coding-standards/compare/1.0.0...1.1.0
[1.0.0]: https://github.com/pronamic/wp-coding-standards/releases/tag/1.0.0
4 changes: 2 additions & 2 deletions PronamicWP/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

<!-- Minimum WordPress version to check. -->
<!-- @link https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties#minimum-wp-version-to-check-for-usage-of-deprecated-functions-classes-and-function-parameters -->
<config name="minimum_supported_wp_version" value="4.7" />
<config name="minimum_supported_wp_version" value="5.7" />

<!-- PHP compatibility test version 5.6 and higher. -->
<config name="testVersion" value="5.6-" />
<config name="testVersion" value="7.4-" />

<!-- Exclude files relative to the root of the project -->
<!-- @link https://github.com/squizlabs/PHP_CodeSniffer/issues/981 -->
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
"source": "https://github.com/pronamic/wp-coding-standards"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=5.6.20",
"php": ">=7.4",
"automattic/vipwpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"phpcompatibility/phpcompatibility-wp": "^2.1",
Expand Down
69 changes: 37 additions & 32 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab1fd2b

Please sign in to comment.