Skip to content

Refactor development environment (#260) #1093

Refactor development environment (#260)

Refactor development environment (#260) #1093

Triggered via push February 22, 2026 07:07
Status Success
Total duration 1m 55s
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) {
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L77
Escaped Mutant for Mutator "FalseValue": @@ @@ } 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": @@ @@ } $pauseSeconds = (int) $input->getOption('pause'); - if ($pauseSeconds < 0) { + if ($pauseSeconds >= 0) { $pauseSeconds = 1; }
mutation / PHP 8.4-ubuntu-latest: src/Command/ListenAllCommand.php#L72
Escaped Mutant for Mutator "LessThan": @@ @@ } $pauseSeconds = (int) $input->getOption('pause'); - if ($pauseSeconds < 0) { + if ($pauseSeconds <= 0) { $pauseSeconds = 1; }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SoftLimitTrait.php#L18
Escaped Mutant for Mutator "GreaterThanOrEqualTo": @@ @@ 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#L73
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#L72
Escaped Mutant for Mutator "FunctionCallRemoval": @@ @@ // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + pcntl_signal_dispatch(); }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L72
Escaped Mutant for Mutator "IncrementInteger": @@ @@ // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + usleep(10001); pcntl_signal_dispatch(); }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L72
Escaped Mutant for Mutator "DecrementInteger": @@ @@ // Wait for resume signal until the loop is suspended while ($this->pause && !$this->exit) { - usleep(10000); + usleep(9999); pcntl_signal_dispatch(); }
mutation / PHP 8.4-ubuntu-latest: src/Cli/SignalLoop.php#L68
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) {