Skip to content

fix: Support named args in ParallelConfigFactory::detect() #9637

fix: Support named args in ParallelConfigFactory::detect()

fix: Support named args in ParallelConfigFactory::detect() #9637

Triggered via pull request May 20, 2024 11:31
Status Failure
Total duration 4m 26s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Matrix: Deployment checks
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
PHP 7.4 Fixer with lowest deps
Process completed with exit code 8.
PHP 8.3 Fixer
Process completed with exit code 8.
PHP 8.2 Fixer
Process completed with exit code 8.
PHP 8.1 Fixer with Symfony ^6
Process completed with exit code 8.
PHP 8.3 Fixer with Symfony ^7
Process completed with exit code 8.
PHP 8.0 Fixer
Process completed with exit code 8.
PHP 8.4 Fixer
Process completed with exit code 8.
PHP 8.3 Fixer on macOS
Process completed with exit code 8.
PHP 8.3 Fixer on Windows
Process completed with exit code 1.
PHP 8.3 mutation tests: src/Runner/Parallel/ParallelConfigFactory.php#L59
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ self::$cpuDetector = new CpuCoreCounter([...FinderRegistry::getDefaultLogicalFinders(), new DummyCpuCoreFinder(1)]); } $args = array_filter(['maxProcesses' => self::$cpuDetector->getCount(), 'filesPerProcess' => $filesPerProcess, 'processTimeout' => $processTimeout], static fn($value): bool => null !== $value); - if (PHP_VERSION_ID < 80000) { + if (PHP_VERSION_ID <= 80000) { $args = array_values($args); } return new ParallelConfig(...$args); } }