Skip to content

Upgrade tools

Upgrade tools #57

Triggered via push October 21, 2024 06:00
Status Success
Total duration 50s
Artifacts

tests.yaml

on: push
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

40 warnings
PHP 8.1 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!' . 'The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.1 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!'); } public static function phpBinaryNotFound() : self {
PHP 8.1 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.1 @ ubuntu-latest: src/Finder/PhpExecutableFinder.php#L34
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function __invoke() : string { - $phpPath = $this->finder->find(false); + $phpPath = $this->finder->find(true); if (false === $phpPath) { throw ParallelException::phpBinaryNotFound(); }
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write(['Running tasks in parallel:', [...$tasks][0], '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write([...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L62
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ $resultMap = ResultMap::empty(); $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { - $resultMap->registerResult($task, (int) $process->getExitCode()); + $resultMap->registerResult($task, $process->getExitCode()); $io->write('Finished task ' . $task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']);
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . 'Finished task ' . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.1 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.3 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!' . 'The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.3 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!'); } public static function phpBinaryNotFound() : self {
PHP 8.3 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.3 @ ubuntu-latest: src/Finder/PhpExecutableFinder.php#L34
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function __invoke() : string { - $phpPath = $this->finder->find(false); + $phpPath = $this->finder->find(true); if (false === $phpPath) { throw ParallelException::phpBinaryNotFound(); }
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write(['Running tasks in parallel:', [...$tasks][0], '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write([...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L62
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ $resultMap = ResultMap::empty(); $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { - $resultMap->registerResult($task, (int) $process->getExitCode()); + $resultMap->registerResult($task, $process->getExitCode()); $io->write('Finished task ' . $task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']);
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . 'Finished task ' . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.3 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.4 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!' . 'The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.4 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!'); } public static function phpBinaryNotFound() : self {
PHP 8.4 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.4 @ ubuntu-latest: src/Finder/PhpExecutableFinder.php#L34
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function __invoke() : string { - $phpPath = $this->finder->find(false); + $phpPath = $this->finder->find(true); if (false === $phpPath) { throw ParallelException::phpBinaryNotFound(); }
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write(['Running tasks in parallel:', [...$tasks][0], '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write([...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L62
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ $resultMap = ResultMap::empty(); $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { - $resultMap->registerResult($task, (int) $process->getExitCode()); + $resultMap->registerResult($task, $process->getExitCode()); $io->write('Finished task ' . $task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']);
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . 'Finished task ' . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.4 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.2 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!' . 'The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.2 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('Please log an issue with detailed information on how to reproduce!'); } public static function phpBinaryNotFound() : self {
PHP 8.2 @ ubuntu-latest: src/Exception/ParallelException.php#L33
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } public static function noProcessExecutorDetected() : self { - return new self('The composer Loop does not contain a ProcessExecutor. ' . 'Please log an issue with detailed information on how to reproduce!'); + return new self('The composer Loop does not contain a ProcessExecutor. '); } public static function phpBinaryNotFound() : self {
PHP 8.2 @ ubuntu-latest: src/Finder/PhpExecutableFinder.php#L34
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ */ public function __invoke() : string { - $phpPath = $this->finder->find(false); + $phpPath = $this->finder->find(true); if (false === $phpPath) { throw ParallelException::phpBinaryNotFound(); }
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "SpreadOneItem": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write(['Running tasks in parallel:', [...$tasks][0], '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $io->write([...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L55
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $io = $event->getIO(); $executor = new AsyncTaskExecutor($loop, $this->executableFinder); $resultMap = ResultMap::empty(); - $io->write(['Running tasks in parallel:', ...$tasks, '']); + $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); $io->write('Finished task ' . $task . '');
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L62
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ $resultMap = ResultMap::empty(); $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { - $resultMap->registerResult($task, (int) $process->getExitCode()); + $resultMap->registerResult($task, $process->getExitCode()); $io->write('Finished task ' . $task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']);
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . 'Finished task ' . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));
PHP 8.2 @ ubuntu-latest: src/Scripts/ParallelScript.php#L64
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ $io->write(['Running tasks in parallel:', ...$tasks, '']); $loop->wait(array_map(static fn(string $task): PromiseInterface => $executor($task, [])->then(static function (Process $process) use($task, $io, $resultMap) : void { $resultMap->registerResult($task, (int) $process->getExitCode()); - $io->write('Finished task ' . $task . ''); + $io->write($task . ''); $io->writeError($process->getErrorOutput()); $io->write([$process->getOutput(), '']); }), $tasks));