mirror of
https://github.com/nextcloud/server.git
synced 2026-06-04 06:13:34 -04:00
Merge pull request #46062 from nextcloud/ci/noid/parallel-cs-check
feat(CI): Speed up cs:check with parallelism
This commit is contained in:
commit
8c944f44df
1 changed files with 2 additions and 0 deletions
|
|
@ -8,9 +8,11 @@ declare(strict_types=1);
|
|||
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
|
||||
|
||||
use Nextcloud\CodingStandard\Config;
|
||||
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
|
||||
|
||||
$config = new Config();
|
||||
$config
|
||||
->setParallelConfig(ParallelConfigFactory::detect())
|
||||
->getFinder()
|
||||
->ignoreVCSIgnored(true)
|
||||
->exclude('config')
|
||||
|
|
|
|||
Loading…
Reference in a new issue