From a34a33f31b614d3b2cf2b96eefd84df8970ff605 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Sep 2025 16:26:08 +0000 Subject: [PATCH 1/2] chore(deps): update dependency phpstan/phpstan to v2.1.23 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 02ac24ab0..5b4369e00 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "2.1.22", + "phpstan/phpstan": "2.1.23", "phpstan/phpstan-phpunit": "2.0.7", "phpstan/phpstan-strict-rules": "2.0.6", "phpunit/phpunit": "^9.5 || ^10.5.21 || ^11", From 8b4fcb2d3a141caeef16e919ef6f6c4020d12eda Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Wed, 10 Sep 2025 18:36:04 +0200 Subject: [PATCH 2/2] Remove ignored error that no longer triggers --- phpstan/include-by-php-version.php | 3 --- phpstan/php-below-8.4.neon | 7 ------- 2 files changed, 10 deletions(-) delete mode 100644 phpstan/php-below-8.4.neon diff --git a/phpstan/include-by-php-version.php b/phpstan/include-by-php-version.php index 1e6e5fc35..dd440c3a8 100644 --- a/phpstan/include-by-php-version.php +++ b/phpstan/include-by-php-version.php @@ -6,9 +6,6 @@ if (version_compare($phpversion, '8.2', '>=')) { $includes[] = __DIR__ . '/php-at-least-8.2.neon'; } -if (version_compare($phpversion, '8.4', '<')) { - $includes[] = __DIR__ . '/php-below-8.4.neon'; -} if (version_compare($phpversion, '8.2', '<')) { $includes[] = __DIR__ . '/php-below-8.2.neon'; } diff --git a/phpstan/php-below-8.4.neon b/phpstan/php-below-8.4.neon deleted file mode 100644 index bd3220b60..000000000 --- a/phpstan/php-below-8.4.neon +++ /dev/null @@ -1,7 +0,0 @@ -parameters: - ignoreErrors: - - - message: '#^Call\-site variance of covariant object in generic type ReflectionClass\ in PHPDoc tag @param for parameter \$class is redundant, template type T of object of class ReflectionClass has the same variance\.$#' - identifier: generics.callSiteVarianceRedundant - count: 1 - path: ../generate-class-reference.php