Skip to content

Commit 6108d2a

Browse files
committed
Composer: raise the minimum supported PHPCS + PHPCSUtils versions
PHP_CodeSniffer 3.13.3 + 3.13.4 and PHPCSUtils 1.1.2 have been released. This commit raises the minimum supported PHPCS/Utils versions for improved PHP 8.4 support. Note: while raising to 3.13.4 is not necessary from a functional point of view, 3.13.3 contains an issue which blocks the ability to run the tests, so we need 3.13.4 to safeguard the functionality of this external standard correctly. Ref: * https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.1.2 * https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.13.3 * https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.13.4
1 parent 639d162 commit 6108d2a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ PHPCSExtra is a collection of sniffs and standards for use with [PHP_CodeSniffer
4343
## Minimum Requirements
4444

4545
* PHP 5.4 or higher.
46-
* [PHP_CodeSniffer][phpcs-gh] version **3.13.0** or higher.
47-
* [PHPCSUtils][phpcsutils-gh] version **1.1.0** or higher.
46+
* [PHP_CodeSniffer][phpcs-gh] version **3.13.4** or higher.
47+
* [PHPCSUtils][phpcsutils-gh] version **1.1.2** or higher.
4848

4949

5050
## Installation
@@ -58,15 +58,15 @@ Installing via Composer is highly recommended.
5858
Run the following from the root of your project:
5959
```bash
6060
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
61-
composer require --dev phpcsstandards/phpcsextra:"^1.2.0"
61+
composer require --dev phpcsstandards/phpcsextra:"^1.3.0"
6262
```
6363

6464
### Composer Global Installation
6565

6666
Alternatively, you may want to install this standard globally:
6767
```bash
6868
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
69-
composer global require --dev phpcsstandards/phpcsextra:"^1.2.0"
69+
composer global require --dev phpcsstandards/phpcsextra:"^1.3.0"
7070
```
7171

7272
### Updating to a newer version

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
},
2323
"require" : {
2424
"php" : ">=5.4",
25-
"squizlabs/php_codesniffer" : "^3.13.0 || ^4.0",
26-
"phpcsstandards/phpcsutils" : "^1.1.0"
25+
"squizlabs/php_codesniffer" : "^3.13.4 || ^4.0",
26+
"phpcsstandards/phpcsutils" : "^1.1.2"
2727
},
2828
"require-dev" : {
2929
"php-parallel-lint/php-parallel-lint": "^1.4.0",

0 commit comments

Comments
 (0)