diff --git a/composer.lock b/composer.lock index f5f6729..c17ecab 100644 --- a/composer.lock +++ b/composer.lock @@ -3094,21 +3094,21 @@ }, { "name": "rector/rector", - "version": "2.2.11", + "version": "2.3.1", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "7bd21a40b0332b93d4bfee284093d7400696902d" + "reference": "9afc1bb43571b25629f353c61a9315b5ef31383a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/7bd21a40b0332b93d4bfee284093d7400696902d", - "reference": "7bd21a40b0332b93d4bfee284093d7400696902d", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/9afc1bb43571b25629f353c61a9315b5ef31383a", + "reference": "9afc1bb43571b25629f353c61a9315b5ef31383a", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.32" + "phpstan/phpstan": "^2.1.33" }, "conflict": { "rector/rector-doctrine": "*", @@ -3142,7 +3142,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.2.11" + "source": "https://github.com/rectorphp/rector/tree/2.3.1" }, "funding": [ { @@ -3150,7 +3150,7 @@ "type": "github" } ], - "time": "2025-12-02T11:23:46+00:00" + "time": "2026-01-13T15:13:58+00:00" }, { "name": "rregeer/phpunit-coverage-check", diff --git a/rector.php b/rector.php index ce2e1c1..6887d96 100644 --- a/rector.php +++ b/rector.php @@ -24,7 +24,7 @@ use Rector\Php80\Rector\Identical\StrEndsWithRector; use Rector\Php80\Rector\Identical\StrStartsWithRector; use Rector\Php80\Rector\NotIdentical\StrContainsRector; -use Rector\Php81\Rector\Array_\FirstClassCallableRector; +use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Php82\Rector\Class_\ReadOnlyClassRector; use Rector\Php83\Rector\ClassConst\AddTypeToConstRector; @@ -71,7 +71,7 @@ // PHP 8.1 ReadOnlyPropertyRector::class, - FirstClassCallableRector::class, + ArrayToFirstClassCallableRector::class, // PHP 8.2 ReadOnlyClassRector::class,