diff --git a/ecs.php b/ecs.php index f42b0050781..6b066bde27e 100644 --- a/ecs.php +++ b/ecs.php @@ -52,11 +52,6 @@ __DIR__ . '/scoper.php', ]); - $containerConfigurator->import(SetList::PSR_12); - $containerConfigurator->import(SetList::SYMPLIFY); - $containerConfigurator->import(SetList::COMMON); - $containerConfigurator->import(SetList::CLEAN_CODE); - $parameters->set(Option::SKIP, [ '*/Source/*', '*/Fixture/*', @@ -97,6 +92,11 @@ ], ]); - $containerConfigurator->import(SetList::CONTROL_STRUCTURES); + // import SetList here on purpose to avoid overridden by existing Skip Option in current config + $containerConfigurator->import(SetList::PSR_12); + $containerConfigurator->import(SetList::SYMPLIFY); + $containerConfigurator->import(SetList::COMMON); + $containerConfigurator->import(SetList::CLEAN_CODE); + $parameters->set(Option::LINE_ENDING, "\n"); };