diff --git a/.dockerignore b/.dockerignore index 3abd450ad7e..db528c4c65c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -9,8 +9,7 @@ phpstan.neon rector.php phpunit.xml ecs.php -ecs-after-rector.php -changelog-linker.yaml +changelog-linker.php LICENSE diff --git a/README.md b/README.md index f2f0444fc95..97ead315583 100644 --- a/README.md +++ b/README.md @@ -259,4 +259,4 @@ Do you use Rector to upgrade your code? Add it here: Rector uses [nikic/php-parser](https://github.com/nikic/PHP-Parser/), built on technology called an *abstract syntax tree* (AST). An AST doesn't know about spaces and when written to a file it produces poorly formatted code in both PHP and docblock annotations. **That's why your project needs to have a coding standard tool** and a set of formatting rules, so it can make Rector's output code nice and shiny again. -Don't have a coding standard tool? Add [ECS](https://github.com/Symplify/EasyCodingStandard) and use prepared [`ecs-after-rector.php`](/ecs-after-rector.php) set. +We're using [ECS](https://github.com/symplify/easy-coding-standard) with [this setup](ecs.php). diff --git a/ecs-after-rector.php b/ecs-after-rector.php deleted file mode 100644 index 5ac3cc87366..00000000000 --- a/ecs-after-rector.php +++ /dev/null @@ -1,30 +0,0 @@ -services(); - - $services->set(NoUnusedImportsFixer::class); - $services->set(OrderedImportsFixer::class); - $services->set(NoLeadingImportSlashFixer::class); - $services->set(NoTrailingWhitespaceInCommentFixer::class); - $services->set(NoEmptyPhpdocFixer::class); - $services->set(ClassAttributesSeparationFixer::class); - $services->set(DeclareStrictTypesFixer::class); - - $parameters = $containerConfigurator->parameters(); - - $parameters->set(Option::SETS, [ - SetList::DOCTRINE_ANNOTATIONS, - ]); -};