Skip to content

Commit 70e1e21

Browse files
committed
Updated Rector to commit f632f73e7f0981f4ad52390c4ff9b2166bc04257
rectorphp/rector-src@f632f73 rename FirstClassCallableRector to ArrayToFirstClassCallableRector to make feature explicit (#7735)
1 parent f735eb5 commit 70e1e21

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

config/set/php81.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Rector\CodingStyle\Rector\FuncCall\FunctionFirstClassCallableRector;
88
use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
99
use Rector\Config\RectorConfig;
10-
use Rector\Php81\Rector\Array_\FirstClassCallableRector;
10+
use Rector\Php81\Rector\Array_\ArrayToFirstClassCallableRector;
1111
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
1212
use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector;
1313
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
@@ -31,7 +31,7 @@
3131
NullToStrictStringFuncCallArgRector::class,
3232
NullToStrictIntPregSlitFuncCallLimitArgRector::class,
3333
// array of local method call
34-
FirstClassCallableRector::class,
34+
ArrayToFirstClassCallableRector::class,
3535
// closure/arrow function
3636
FunctionLikeToFirstClassCallableRector::class,
3737
ClosureFromCallableToFirstClassCallableRector::class,

rules/Php81/Rector/Array_/FirstClassCallableRector.php renamed to rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
2828
/**
2929
* @see RFC https://wiki.php.net/rfc/first_class_callable_syntax
30-
* @see \Rector\Tests\Php81\Rector\Array_\FirstClassCallableRector\FirstClassCallableRectorTest
30+
* @see \Rector\Tests\Php81\Rector\Array_\ArrayToFirstClassCallableRector\ArrayToFirstClassCallableRectorTest
3131
*/
32-
final class FirstClassCallableRector extends AbstractRector implements MinPhpVersionInterface
32+
final class ArrayToFirstClassCallableRector extends AbstractRector implements MinPhpVersionInterface
3333
{
3434
/**
3535
* @readonly

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '89c84c4246821f1738fcd62847e10b9e3be03c5f';
22+
public const PACKAGE_VERSION = 'f632f73e7f0981f4ad52390c4ff9b2166bc04257';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-12-08 01:15:25';
27+
public const RELEASE_DATE = '2025-12-08 00:32:31';
2828
/**
2929
* @var int
3030
*/

vendor/composer/autoload_classmap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2205,7 +2205,7 @@
22052205
'Rector\\Php81\\NodeAnalyzer\\ComplexNewAnalyzer' => $baseDir . '/rules/Php81/NodeAnalyzer/ComplexNewAnalyzer.php',
22062206
'Rector\\Php81\\NodeFactory\\EnumFactory' => $baseDir . '/rules/Php81/NodeFactory/EnumFactory.php',
22072207
'Rector\\Php81\\NodeManipulator\\NullToStrictStringIntConverter' => $baseDir . '/rules/Php81/NodeManipulator/NullToStrictStringIntConverter.php',
2208-
'Rector\\Php81\\Rector\\Array_\\FirstClassCallableRector' => $baseDir . '/rules/Php81/Rector/Array_/FirstClassCallableRector.php',
2208+
'Rector\\Php81\\Rector\\Array_\\ArrayToFirstClassCallableRector' => $baseDir . '/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php',
22092209
'Rector\\Php81\\Rector\\ClassMethod\\NewInInitializerRector' => $baseDir . '/rules/Php81/Rector/ClassMethod/NewInInitializerRector.php',
22102210
'Rector\\Php81\\Rector\\Class_\\MyCLabsClassToEnumRector' => $baseDir . '/rules/Php81/Rector/Class_/MyCLabsClassToEnumRector.php',
22112211
'Rector\\Php81\\Rector\\Class_\\SpatieEnumClassToEnumRector' => $baseDir . '/rules/Php81/Rector/Class_/SpatieEnumClassToEnumRector.php',

vendor/composer/autoload_static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ class ComposerStaticInit12735a61b7a06210a61ac1597c9ec8fa
24652465
'Rector\\Php81\\NodeAnalyzer\\ComplexNewAnalyzer' => __DIR__ . '/../..' . '/rules/Php81/NodeAnalyzer/ComplexNewAnalyzer.php',
24662466
'Rector\\Php81\\NodeFactory\\EnumFactory' => __DIR__ . '/../..' . '/rules/Php81/NodeFactory/EnumFactory.php',
24672467
'Rector\\Php81\\NodeManipulator\\NullToStrictStringIntConverter' => __DIR__ . '/../..' . '/rules/Php81/NodeManipulator/NullToStrictStringIntConverter.php',
2468-
'Rector\\Php81\\Rector\\Array_\\FirstClassCallableRector' => __DIR__ . '/../..' . '/rules/Php81/Rector/Array_/FirstClassCallableRector.php',
2468+
'Rector\\Php81\\Rector\\Array_\\ArrayToFirstClassCallableRector' => __DIR__ . '/../..' . '/rules/Php81/Rector/Array_/ArrayToFirstClassCallableRector.php',
24692469
'Rector\\Php81\\Rector\\ClassMethod\\NewInInitializerRector' => __DIR__ . '/../..' . '/rules/Php81/Rector/ClassMethod/NewInInitializerRector.php',
24702470
'Rector\\Php81\\Rector\\Class_\\MyCLabsClassToEnumRector' => __DIR__ . '/../..' . '/rules/Php81/Rector/Class_/MyCLabsClassToEnumRector.php',
24712471
'Rector\\Php81\\Rector\\Class_\\SpatieEnumClassToEnumRector' => __DIR__ . '/../..' . '/rules/Php81/Rector/Class_/SpatieEnumClassToEnumRector.php',

0 commit comments

Comments
 (0)