diff --git a/config/set/php85.php b/config/set/php85.php index 7c71e4d6a0b..f228b79c8e4 100644 --- a/config/set/php85.php +++ b/config/set/php85.php @@ -6,9 +6,9 @@ use Rector\Php85\Rector\ArrayDimFetch\ArrayFirstLastRector; use Rector\Removing\Rector\FuncCall\RemoveFuncCallArgRector; use Rector\Removing\ValueObject\RemoveFuncCallArg; +use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; use Rector\Renaming\Rector\MethodCall\RenameMethodRector; use Rector\Renaming\ValueObject\MethodCallRename; -use Rector\Renaming\Rector\FuncCall\RenameFunctionRector; return static function (RectorConfig $rectorConfig): void { $rectorConfig->rules([ArrayFirstLastRector::class]); diff --git a/tests/Issues/WithPhpSets/config/configured_rule.php b/tests/Issues/WithPhpSets/config/configured_rule.php index 03bfeb78f96..abb32da9a73 100644 --- a/tests/Issues/WithPhpSets/config/configured_rule.php +++ b/tests/Issues/WithPhpSets/config/configured_rule.php @@ -7,4 +7,4 @@ return RectorConfig::configure() ->withPhpSets(php85: true) - ->withPhpVersion(PhpVersion::PHP_85); \ No newline at end of file + ->withPhpVersion(PhpVersion::PHP_85);