Skip to content

Commit 10ba4d1

Browse files
committed
Update rector rules (deprecated name FirstClassCallableRector)
1 parent 1f456db commit 10ba4d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
use Rector\Php80\Rector\Identical\StrEndsWithRector;
2525
use Rector\Php80\Rector\Identical\StrStartsWithRector;
2626
use Rector\Php80\Rector\NotIdentical\StrContainsRector;
27-
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
27+
use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector;
2828
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
2929
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
3030
use Rector\Php83\Rector\ClassConst\AddTypeToConstRector;
@@ -71,7 +71,7 @@
7171

7272
// PHP 8.1
7373
ReadOnlyPropertyRector::class,
74-
FirstClassCallableRector::class,
74+
ArrayToFirstClassCallableRector::class,
7575

7676
// PHP 8.2
7777
ReadOnlyClassRector::class,

0 commit comments

Comments
 (0)