Skip to content

Commit 668eed5

Browse files
committed
Composer: raise the minimum supported PHPCS version to 3.13.4
This is necessary to benefit from the new way to tokenize fully qualified `\false` and `\null` introduced in 3.13.3 (PHPCSStandards/PHP_CodeSniffer 1206). It will simplify a fix for how `WordPress.WP.EnqueuedResourceParameters` handles fully qualified `\false` and `\null` (see 2630). Bumping the version to 3.13.4 instead of 3.13.3 as 3.13.4 contains a fix to a bug that affected 3.13.3 that prevents WPCS sniffs tests from executing (PHPCSStandards/PHP_CodeSniffer 1213).
1 parent c7c7e2d commit 668eed5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ When you introduce new `public` sniff properties, or your sniff extends a class
6262

6363
### Pre-requisites
6464
* WordPress-Coding-Standards
65-
* PHP_CodeSniffer 3.13.0 or higher
65+
* PHP_CodeSniffer 3.13.4 or higher
6666
* PHPCSUtils 1.1.0 or higher
6767
* PHPCSExtra 1.4.0 or higher
6868
* PHPUnit 8.x - 9.x

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"ext-libxml": "*",
2222
"ext-tokenizer": "*",
2323
"ext-xmlreader": "*",
24-
"squizlabs/php_codesniffer": "^3.13.0",
24+
"squizlabs/php_codesniffer": "^3.13.4",
2525
"phpcsstandards/phpcsutils": "^1.1.0",
2626
"phpcsstandards/phpcsextra": "^1.4.0"
2727
},

0 commit comments

Comments
 (0)