mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 19:53:14 +01:00
ff4d797c73
[DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
11 lines
327 B
PHP
11 lines
327 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202210;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(ActionInjectionToConstructorInjectionRector::class);
|
|
};
|