Skip to content

Tests (#248)

Tests (#248) #1051

Triggered via push December 13, 2025 07:43
Status Success
Total duration 2m 8s
Artifacts

mutation.yml

on: push
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L79
Escaped Mutant for Mutator "GreaterThan": @@ @@ while ($this->loop->canContinue()) { $hasMessages = false; foreach ($queues as $queue) { - $hasMessages = $queue->run((int) $input->getOption('maximum')) > 0 || $hasMessages; + $hasMessages = $queue->run((int) $input->getOption('maximum')) >= 0 || $hasMessages; } if (!$hasMessages) { /** @psalm-var 0|positive-int $pauseSeconds */
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L77
Escaped Mutant for Mutator "FalseValue": @@ @@ $pauseSeconds = 1; } while ($this->loop->canContinue()) { - $hasMessages = false; + $hasMessages = true; foreach ($queues as $queue) { $hasMessages = $queue->run((int) $input->getOption('maximum')) > 0 || $hasMessages; }
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L72
Escaped Mutant for Mutator "LessThanNegotiation": @@ @@ $queues[] = $this->queueProvider->get($channel); } $pauseSeconds = (int) $input->getOption('pause'); - if ($pauseSeconds < 0) { + if ($pauseSeconds >= 0) { $pauseSeconds = 1; } while ($this->loop->canContinue()) {
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L72
Escaped Mutant for Mutator "LessThan": @@ @@ $queues[] = $this->queueProvider->get($channel); } $pauseSeconds = (int) $input->getOption('pause'); - if ($pauseSeconds < 0) { + if ($pauseSeconds <= 0) { $pauseSeconds = 1; } while ($this->loop->canContinue()) {
mutation / PHP 8.4-ubuntu-latest: src/Cli/SoftLimitTrait.php#L18
Escaped Mutant for Mutator "GreaterThanOrEqualTo": @@ @@ $limit = $this->getMemoryLimit(); if ($limit !== 0) { $usage = memory_get_usage(true); - if ($usage >= $limit) { + if ($usage > $limit) { return true; } }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L67
Escaped Mutant for Mutator "FunctionCallRemoval": @@ @@ // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { usleep(10000); - pcntl_signal_dispatch(); + } return !$this->exit; }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L66
Escaped Mutant for Mutator "FunctionCallRemoval": @@ @@ pcntl_signal_dispatch(); // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + pcntl_signal_dispatch(); } return !$this->exit;
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L66
Escaped Mutant for Mutator "IncrementInteger": @@ @@ pcntl_signal_dispatch(); // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + usleep(10001); pcntl_signal_dispatch(); } return !$this->exit;
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L66
Escaped Mutant for Mutator "DecrementInteger": @@ @@ pcntl_signal_dispatch(); // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + usleep(9999); pcntl_signal_dispatch(); } return !$this->exit;
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L62
Escaped Mutant for Mutator "FunctionCallRemoval": @@ @@ } protected function dispatchSignals(): bool { - pcntl_signal_dispatch(); + // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { usleep(10000);