From 267d84e32dffc6585ca7dffa0f87d8819d98a6b5 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 26 Jul 2026 19:52:05 +0200 Subject: [PATCH] Composer: update minimum version PHPCSUtils + PHPCSExtra PHPCSUtils has just released version 1.2.3, which includes a security fix which is relevant for two sniffs which are included in PHPCSExtra, which has released version 1.5.1 in response. With that in mind, I'm bumping the minimum supported PHPCSUtils and PHPCSExtra versions to encourage users of to upgrade the underlying dependencies. Why does a version bump help ? Well, it only helps when a new version of WordPressCS is released, which is what I intend to do next. Once that's done, it helps as Composer will now show WordPressCS as a direct dependency which is outdated, while PHPCSUtils/PHPCSExtra would only show as an indirect dependency which is outdated, which doesn't have the same urgency for people to update. Refs: * https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.2.3 * https://github.com/PHPCSStandards/PHPCSExtra/releases/tag/1.5.1 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4961107d8d..4af7f4f87c 100644 --- a/composer.json +++ b/composer.json @@ -22,8 +22,8 @@ "ext-tokenizer": "*", "ext-xmlreader": "*", "squizlabs/php_codesniffer": "^3.13.5", - "phpcsstandards/phpcsutils": "^1.2.2", - "phpcsstandards/phpcsextra": "^1.5.0" + "phpcsstandards/phpcsutils": "^1.2.3", + "phpcsstandards/phpcsextra": "^1.5.1" }, "require-dev": { "phpcompatibility/php-compatibility": "^10.0.0@dev",