Skip to content

Commit

Permalink
Enable parallel runner (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan authored Oct 13, 2024
1 parent fc05980 commit 784a690
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Redaxo\PhpCsFixerConfig;

use PhpCsFixer\ConfigInterface;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
use PhpCsFixerCustomFixers\Fixer\MultilinePromotedPropertiesFixer;
use PhpCsFixerCustomFixers\Fixer\PhpdocSingleLineVarFixer;
use PhpCsFixerCustomFixers\Fixers;
Expand All @@ -24,6 +25,7 @@ public function __construct(string $name = 'REDAXO 5')
parent::__construct($name);

$this->setUsingCache(true);
$this->setParallelConfig(ParallelConfigFactory::detect());
$this->setRiskyAllowed(true);
$this->registerCustomFixers(new Fixers());
$this->registerCustomFixers([
Expand Down

0 comments on commit 784a690

Please sign in to comment.