Skip to content

Commit

Permalink
Add php cs fixer rule to remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpepper committed Feb 3, 2025
1 parent 92b8e45 commit fb78535
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
This document has been generated with
https://mlocati.github.io/php-cs-fixer-configurator/#version:3.0.0-rc.1|configurator
Expand All @@ -9,10 +10,12 @@
->setRiskyAllowed(true)
->setRules([
'@PSR12' => true,
'no_unused_imports' => true,
])
->setFinder(PhpCsFixer\Finder::create()
->setFinder(
PhpCsFixer\Finder::create()
->exclude('vendor')
->exclude('util/cache')
->in(__DIR__)
)
;
;

0 comments on commit fb78535

Please sign in to comment.