From 1fc8f82c677af4834332c1fb118f87ff7eb6dc43 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 30 Jul 2026 12:05:20 +0200 Subject: [PATCH 1/2] bump dev dependencies and symfony components Bump symfony/filesystem, symfony/finder and symfony/process to 8.1, which unblocks the latest rector/jack, rector/swiss-knife and tomasvotruba/class-leak. symfony/console stays on 6.4. Run composer update and vendor/bin/jack raise-to-installed. --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 1d241ad5e50..dd8901d5d78 100644 --- a/composer.json +++ b/composer.json @@ -34,9 +34,9 @@ "rector/rector-symfony": "dev-main", "sebastian/diff": "^9.0", "symfony/console": "^6.4.24", - "symfony/filesystem": "^7.4", - "symfony/finder": "^6.4", - "symfony/process": "^7.4", + "symfony/filesystem": "^8.1", + "symfony/finder": "^8.1", + "symfony/process": "^8.1", "symplify/easy-parallel": "^11.2.2", "symplify/rule-doc-generator-contracts": "^11.2", "webmozart/assert": "^2.4" @@ -48,8 +48,8 @@ "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-phpunit": "^2.0", "phpstan/phpstan-webmozart-assert": "^2.0", - "phpunit/phpunit": "^13.0", - "rector/jack": "^1.0", + "phpunit/phpunit": "^13.2", + "rector/jack": "^1.1", "rector/swiss-knife": "^2.4.1", "shipmonk/composer-dependency-analyser": "^1.8", "symplify/easy-coding-standard": "^13.2.13", From 64946f7c166f23a1faac8fff9976861aaa1aaf6c Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 30 Jul 2026 14:21:28 +0200 Subject: [PATCH 2/2] finalize ArrayToFirstClassCallableRector swiss-knife 2.4.6 detects it has no children. --- rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php b/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php index 30609679dce..6512455c472 100644 --- a/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php +++ b/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php @@ -31,7 +31,7 @@ * @see RFC https://wiki.php.net/rfc/first_class_callable_syntax * @see \Rector\Tests\Php81\Rector\Array_\ArrayToFirstClassCallableRector\ArrayToFirstClassCallableRectorTest */ -class ArrayToFirstClassCallableRector extends AbstractRector implements MinPhpVersionInterface +final class ArrayToFirstClassCallableRector extends AbstractRector implements MinPhpVersionInterface { public function __construct( private readonly ArrayCallableMethodMatcher $arrayCallableMethodMatcher,