Skip to content

Commit

Permalink
Add "no_unused_imports" rule to PHP CS Fixer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik authored Jan 24, 2025
1 parent 7932d9f commit 09fef2b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@

return (new Config())
->setParallelConfig(ParallelConfigFactory::detect())
->setRules(['@PER-CS2.0' => true])
->setRules([
'@PER-CS2.0' => true,
'no_unused_imports' => true,
])
->setFinder($finder);

0 comments on commit 09fef2b

Please sign in to comment.