Skip to content

Commit

Permalink
chore: parallel php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
audunru committed May 20, 2024
1 parent 40189e2 commit 9dbe61e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;

$finder = PhpCsFixer\Finder::create()
->notPath('vendor')
->in(__DIR__)
Expand All @@ -11,6 +13,7 @@
$config = new PhpCsFixer\Config();

$config
->setParallelConfig(ParallelConfigFactory::detect())
->setLineEnding("\n")
->setCacheFile(__DIR__.'/.php-cs-fixer.cache')
->setIndent(' ')
Expand Down

0 comments on commit 9dbe61e

Please # to comment.