mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
feat(CI): Speed up cs:check with parallelism
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
185748e390
commit
59cbdec9ac
1 changed files with 2 additions and 0 deletions
|
|
@ -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')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue