Skip to content

Commit

Permalink
enable remove unused imports on rector config
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Sep 7, 2024
1 parent a68bf7a commit f5e0c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
])
->withPaths([__DIR__ . '/config', __DIR__ . '/src', __DIR__ . '/test'])
->withRootFiles()
->withImportNames()
->withImportNames(removeUnusedImports: true)
->withSkip([
FirstClassCallableRector::class
]);

0 comments on commit f5e0c4a

Please sign in to comment.