From 4c9945f84c399220d48330ae3ad2712a072a0049 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 30 Jul 2026 14:14:49 +0200 Subject: [PATCH] bump dev dependencies, PHPUnit 13 Run composer update and vendor/bin/jack raise-to-installed. PHPUnit 13 removed the RunClassInSeparateProcess attribute, which kept the pinned php version of PrePromotedTest from leaking into every later test. --- composer.json | 8 ++++---- .../PrePromotedTest.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 74eb8aa7..8303d618 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,8 @@ "phpstan/phpstan": "^2.2", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-webmozart-assert": "^2.0", - "phpunit/phpunit": "^11.5", - "rector/jack": "^0.5", + "phpunit/phpunit": "^13.2", + "rector/jack": "^1.0", "rector/rector-src": "dev-main", "rector/swiss-knife": "^2.4", "symfony/config": "^6.4", @@ -24,8 +24,8 @@ "symfony/security-http": "^6.4", "symfony/validator": "^6.4", "symfony/web-link": "^6.4", - "symplify/easy-coding-standard": "^13.1", - "symplify/phpstan-rules": "^14.10", + "symplify/easy-coding-standard": "^13.2", + "symplify/phpstan-rules": "^14.12", "symplify/vendor-patches": "^11.5", "tomasvotruba/class-leak": "^2.1", "tomasvotruba/type-coverage": "^2.3", diff --git a/rules-tests/CodeQuality/Rector/Class_/ControllerMethodInjectionToConstructorRector/PrePromotedTest.php b/rules-tests/CodeQuality/Rector/Class_/ControllerMethodInjectionToConstructorRector/PrePromotedTest.php index 2b3730ce..37ed035d 100644 --- a/rules-tests/CodeQuality/Rector/Class_/ControllerMethodInjectionToConstructorRector/PrePromotedTest.php +++ b/rules-tests/CodeQuality/Rector/Class_/ControllerMethodInjectionToConstructorRector/PrePromotedTest.php @@ -6,10 +6,10 @@ use Iterator; use PHPUnit\Framework\Attributes\DataProvider; -use PHPUnit\Framework\Attributes\RunClassInSeparateProcess; +use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses; use Rector\Testing\PHPUnit\AbstractRectorTestCase; -#[RunClassInSeparateProcess] +#[RunTestsInSeparateProcesses] final class PrePromotedTest extends AbstractRectorTestCase { #[DataProvider('provideData')]