From d69ed7fb6d307604c50e2902138cb66306261198 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 10 Jul 2026 19:53:37 +0200 Subject: [PATCH] Composer: raise the minimum supported PHPCS version to 3.13.5 While not strictly _necessary_, raising the minimum supported PHPCS and PHPCSUtils versions buys us improved support for PHP 8.4 and 8.5, both runtime support, as well as improved syntax support. --- .github/CONTRIBUTING.md | 4 ++-- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 29909cd49f..80032cba98 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -62,8 +62,8 @@ When you introduce new `public` sniff properties, or your sniff extends a class ### Pre-requisites * WordPress-Coding-Standards -* PHP_CodeSniffer 3.13.4 or higher -* PHPCSUtils 1.1.0 or higher +* PHP_CodeSniffer 3.13.5 or higher +* PHPCSUtils 1.2.2 or higher * PHPCSExtra 1.5.0 or higher * PHPUnit 8.x - 9.x diff --git a/composer.json b/composer.json index 898bf88b73..4961107d8d 100644 --- a/composer.json +++ b/composer.json @@ -21,8 +21,8 @@ "ext-libxml": "*", "ext-tokenizer": "*", "ext-xmlreader": "*", - "squizlabs/php_codesniffer": "^3.13.4", - "phpcsstandards/phpcsutils": "^1.1.0", + "squizlabs/php_codesniffer": "^3.13.5", + "phpcsstandards/phpcsutils": "^1.2.2", "phpcsstandards/phpcsextra": "^1.5.0" }, "require-dev": {