From 22876c58fe91effcc2cd4ddcc949a211e20a7595 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 28 Oct 2026 11:21:02 +0300 Subject: [PATCH] Fix rector --- composer.json | 2 +- rector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c430528..ae5e237 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "bamarni/composer-bin-plugin": "^1.8.2", "friendsofphp/php-cs-fixer": "^3.93", "phpunit/phpunit": "^9.6.22", - "rector/rector": "^2.5.5", + "rector/rector": "^2.8.1", "shipmonk/composer-dependency-analyser": "^1.8", "spatie/phpunit-watcher": "^1.23.6", "yiisoft/code-style": "^1.0" diff --git a/rector.php b/rector.php index d47a8b0..bbf2598 100644 --- a/rector.php +++ b/rector.php @@ -11,7 +11,7 @@ __DIR__ . '/src', __DIR__ . '/tests', ]) - ->withPhp74Sets() + ->withPhpSets() ->withRules([ InlineConstructorDefaultToPropertyRector::class, ])