diff --git a/ecs.php b/ecs.php new file mode 100644 index 00000000..8c9ba07b --- /dev/null +++ b/ecs.php @@ -0,0 +1,27 @@ +parameters(); + $parameters->set(Option::SETS, [ + SetList::CLEAN_CODE, + SetList::PSR_12, + SetList::SYMFONY, + //SetList::SYMPLIFY + ]); + + $parameters->set(Option::PATHS, [ + __DIR__ . '/src', + __DIR__ . '/tests', + ]); + + $parameters->set(Option::SKIP, [ + LineLengthFixer::class => null + ]); +}; \ No newline at end of file diff --git a/ecs.yaml b/ecs.yaml deleted file mode 100644 index 2eb99600..00000000 --- a/ecs.yaml +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - sets: - - "psr12" - - "php70" - - "php71" - - "clean-code" - - "common" - # very nice to have ↓ - # - "symplify" - - "symfony" - - paths: - - 'src' - - 'tests' - - skip: - Symplify\CodingStandard\Fixer\Naming\PropertyNameMatchingTypeFixer: ~ - Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer: ~ \ No newline at end of file