mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 05:56:14 +01:00
tea/Build/php-cs-fixer/php-cs-fixer.php
2024-09-17 14:49:37 +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;