mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-21 10:37:10 +00:00
feat(CI): Speed up cs:check with parallelism
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@ -9,9 +9,11 @@ declare(strict_types=1);
|
|||||||
require_once './vendor-bin/csfixer/vendor/autoload.php';
|
require_once './vendor-bin/csfixer/vendor/autoload.php';
|
||||||
|
|
||||||
use Nextcloud\CodingStandard\Config;
|
use Nextcloud\CodingStandard\Config;
|
||||||
|
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
|
||||||
|
|
||||||
$config = new Config();
|
$config = new Config();
|
||||||
$config
|
$config
|
||||||
|
->setParallelConfig(ParallelConfigFactory::detect())
|
||||||
->getFinder()
|
->getFinder()
|
||||||
->ignoreVCSIgnored(true)
|
->ignoreVCSIgnored(true)
|
||||||
->notPath('build')
|
->notPath('build')
|
||||||
|
Reference in New Issue
Block a user