mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-29 02:06:10 +01:00
tea/.php-cs-fixer.php
Daniel Siepmann 8508d9ee1a
[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
2024-05-24 22:32:01 +02:00

10 lines
329 B
PHP

<?php
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;