From 9822fc2f1dd48d2be13b4feee2294563137fe056 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 9 Oct 2025 17:38:54 +0200 Subject: [PATCH 1/2] bump couple deps --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 908f8010..1e1ea430 100644 --- a/composer.json +++ b/composer.json @@ -5,17 +5,17 @@ "license": "MIT", "require": { "php": "^8.2", - "phpstan/phpstan": "^2.1.14", + "phpstan/phpstan": "^2.1", "webmozart/assert": "^1.11" }, "require-dev": { - "nikic/php-parser": "^5.4", + "nikic/php-parser": "^5.6", "symplify/phpstan-extensions": "^12.0", - "phpunit/phpunit": "^11.5", - "rector/rector": "^2.0", - "symplify/easy-coding-standard": "^12.1", - "phpstan/extension-installer": "^1.3", - "tomasvotruba/class-leak": "^0.2", + "phpunit/phpunit": "^11.5|^12.2", + "rector/rector": "^2.2", + "symplify/easy-coding-standard": "^12.6", + "phpstan/extension-installer": "^1.4", + "tomasvotruba/class-leak": "^2.0", "tracy/tracy": "^2.10" }, "autoload": { From c34fa9a6b27e52e019fb93dc5dc0301a458c57b1 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 9 Oct 2025 17:39:24 +0200 Subject: [PATCH 2/2] cs --- composer.json | 2 +- phpstan.neon | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 1e1ea430..d339a3fc 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "require": { "php": "^8.2", - "phpstan/phpstan": "^2.1", + "phpstan/phpstan": "^2.1.30", "webmozart/assert": "^1.11" }, "require-dev": { diff --git a/phpstan.neon b/phpstan.neon index 09501de1..12a3b5a4 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -20,13 +20,7 @@ parameters: # overly detailed generics - '#Rector\\TypePerfect\\Tests\\Rules\\(.*?) generic (class|interface)#' - - - identifier: phpstanApi.instanceofType - paths: - - src/Printer/CollectorMetadataPrinter.php - - src/Rules/NarrowPrivateClassMethodParamTypeRule.php - - src/Rules/NoArrayAccessOnObjectRule.php - - src/Rules/ReturnNullOverFalseRule.php + - identifier: phpstanApi.instanceofType - identifier: phpstanApi.instanceofAssumption