diff --git a/rector.php b/rector.php index d781ebf9..238b7781 100644 --- a/rector.php +++ b/rector.php @@ -6,6 +6,7 @@ return RectorConfig::configure() ->withPhpSets() + ->withRootFiles() ->withPreparedSets( codeQuality: true, deadCode: true, @@ -20,16 +21,8 @@ __DIR__ . '/src', __DIR__ . '/tests', ]) - ->withRootFiles() ->withImportNames(removeUnusedImports: true) ->withSkip([ '*/Source/*', '*/Fixture/*', ]); - -// -// $rectorConfig->ruleWithConfiguration(\Rector\Php55\Rector\String_\StringClassNameToClassConstantRector::class, [ -// 'Symfony\Component\Console\*', -// 'Rector\Contract\Rector\ConfigurableRectorInterface', -// ]); -//};