Skip to content

Commit

Permalink
Updated Rector to commit 11fdd74
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 17, 2022
1 parent 5d5bb83 commit 5a655d6
Show file tree
Hide file tree
Showing 7 changed files with 498 additions and 704 deletions.
7 changes: 3 additions & 4 deletions docs/auto_import_names.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,11 @@ To remove imports, use [ECS](https://github.com/symplify/easy-coding-standard) w

```php
// ecs.php
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer;
use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ContainerConfigurator $containerConfigurator): void {
$services = $containerConfigurator->services();
$services->set(NoUnusedImportsFixer::class);
return static function (ECSConfig $ecsConfig): void {
$ecsConfig->rule(NoUnusedImportsFixer::class);
};
```

Expand Down
Loading

0 comments on commit 5a655d6

Please sign in to comment.