mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-04 16:36:13 +01:00
[TASK] Use the parallel runner for PHP-CS-Fixer (#1326)
Enable the new option to speed things up. Keep comment from upstream code. Resolves: #1316
This commit is contained in:
parent
d9347c174c
commit
8508d9ee1a
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,10 @@
|
|||
<?php
|
||||
|
||||
$config = \TYPO3\CodingStandards\CsFixerConfig::create();
|
||||
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
|
||||
use TYPO3\CodingStandards\CsFixerConfig;
|
||||
|
||||
$config = CsFixerConfig::create();
|
||||
// @TODO 4.0 no need to call this manually
|
||||
$config->setParallelConfig(ParallelConfigFactory::detect());
|
||||
$config->getFinder()->in('Classes')->in('Configuration')->in('Tests');
|
||||
return $config;
|
||||
|
|
Loading…
Reference in a new issue