mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
4d7c087805
[DeadCode] Improve RemoveUnreachableStatementRector performance by return after array_splice early (#2193)
11 lines
386 B
PHP
11 lines
386 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220429;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(\Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector::class);
|
|
};
|