From 212c20d0514f43543004f75cba638ed3eae144cd Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 6 Aug 2026 22:42:52 +0200 Subject: [PATCH] Composer: raise the minimum supported PHPCS version to 3.13.6 PHP_CodeSniffer released security versions last night. Let's update the minimum supported version to encourage WPCS users to update. Includes follow up to 2770, which forgot to update the `CONTRIBUTING` guide. Ref: https://github.com/PHPCSStandards/PHP_CodeSniffer/releases#release-3.13.6 --- .github/CONTRIBUTING.md | 6 +++--- composer.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 80032cba98..2b1b5239f2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -62,9 +62,9 @@ When you introduce new `public` sniff properties, or your sniff extends a class ### Pre-requisites * WordPress-Coding-Standards -* PHP_CodeSniffer 3.13.5 or higher -* PHPCSUtils 1.2.2 or higher -* PHPCSExtra 1.5.0 or higher +* PHP_CodeSniffer 3.13.6 or higher +* PHPCSUtils 1.2.3 or higher +* PHPCSExtra 1.5.1 or higher * PHPUnit 8.x - 9.x The WordPress Coding Standards use the `PHP_CodeSniffer` native unit test framework for unit testing the sniffs. diff --git a/composer.json b/composer.json index 4af7f4f87c..15e4ba49f2 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "ext-libxml": "*", "ext-tokenizer": "*", "ext-xmlreader": "*", - "squizlabs/php_codesniffer": "^3.13.5", + "squizlabs/php_codesniffer": "^3.13.6", "phpcsstandards/phpcsutils": "^1.2.3", "phpcsstandards/phpcsextra": "^1.5.1" },