From f5e0c4a7ff57f6a78cceb0fb00373742a5abff6f Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 8 Sep 2024 00:33:20 +0700 Subject: [PATCH] enable remove unused imports on rector config --- rector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rector.php b/rector.php index b3f652c..f145e34 100644 --- a/rector.php +++ b/rector.php @@ -21,7 +21,7 @@ ]) ->withPaths([__DIR__ . '/config', __DIR__ . '/src', __DIR__ . '/test']) ->withRootFiles() - ->withImportNames() + ->withImportNames(removeUnusedImports: true) ->withSkip([ FirstClassCallableRector::class ]);