From dbd2ee85fb2414a9ab722d3238ab58e820d9970a Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 4 Aug 2025 17:43:38 +0200 Subject: [PATCH] Composer/ruleset: allow for (some) PHP 8.4 token constants PHP 8.4 introduced a few new token constants related to asymmetric visibility. Detection for these new tokens is already in PHPCompatibility 10.0. As PHPCS polyfills these tokens, we should allow for these to be used in external PHPCS standards. The token constants are backfilled by PHPCS as of version 3.13.0. Ref: PHPCSStandards/PHP_CodeSniffer 871 --- PHPCSDev/ruleset.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PHPCSDev/ruleset.xml b/PHPCSDev/ruleset.xml index eea2f23..cbdc532 100644 --- a/PHPCSDev/ruleset.xml +++ b/PHPCSDev/ruleset.xml @@ -31,6 +31,9 @@ + + +