Skip to content

Commit

Permalink
Merge branch 'release/2.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
enricobattocchi committed Mar 9, 2023
2 parents b52b3f1 + 66ff9a5 commit 8ed5af5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ jobs:
phpcs_version: 'dev-master'
wpcs_version: 'dev-master'
- php_version: 'latest'
phpcs_version: '3.7.1'
phpcs_version: '3.7.2'
wpcs_version: '2.3.0'
- php_version: '5.4'
phpcs_version: 'dev-master'
wpcs_version: '2.3.0'
- php_version: '5.4'
phpcs_version: '3.7.1'
phpcs_version: '3.7.2'
wpcs_version: 'dev-master'

name: "QTest${{ matrix.phpcs_version == 'dev-master' && ' + Lint' || '' }}: PHP ${{ matrix.php_version }} - PHPCS ${{ matrix.phpcs_version }} - WPCS ${{ matrix.wpcs_version }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# Once it has been released and YoastCS has been made compatible, the matrix should switch (back)
# WPCS `dev-master` to `dev-develop`.
php_version: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
phpcs_version: ['3.7.1', 'dev-master']
phpcs_version: ['3.7.2', 'dev-master']
wpcs_version: ['2.3.0', 'dev-master']
experimental: [false]

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

### [2.3.1] - 2023-03-09

#### Changed
* PHPCS: The default setting for the minimum supported PHP version for repos using YoastCS is now PHP 7.2 (was 5.6).
* Composer: Supported version of [PHP_CodeSniffer] has been changed from `^3.7.1` to `^3.7.2`.

### [2.3.0] - 2023-01-09

#### Added
Expand Down
2 changes: 1 addition & 1 deletion Yoast/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
SNIFF FOR PHP CROSS-VERSION COMPATIBILITY
#############################################################################
-->
<config name="testVersion" value="5.6-"/>
<config name="testVersion" value="7.2-"/>
<rule ref="PHPCompatibilityWP">
<include-pattern>*\.php$</include-pattern>
</rule>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"require": {
"php": ">=5.4",
"squizlabs/php_codesniffer": "^3.7.1",
"squizlabs/php_codesniffer": "^3.7.2",
"wp-coding-standards/wpcs": "^2.3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0",
Expand Down

0 comments on commit 8ed5af5

Please sign in to comment.