Skip to content

Commit

Permalink
Fix CS in CS config file
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Oct 13, 2024
1 parent 784a690 commit 2081ca6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

declare(strict_types=1);

$finder = (new PhpCsFixer\Finder())
use PhpCsFixer\Finder;
use Redaxo\PhpCsFixerConfig\Config;

$finder = (new Finder())
->in(__DIR__)
->append([
__FILE__,
])
;

return (new Redaxo\PhpCsFixerConfig\Config())
return (new Config())
->setFinder($finder)
;

0 comments on commit 2081ca6

Please sign in to comment.