Skip to content

Harden GitHub workflows #1300

Harden GitHub workflows

Harden GitHub workflows #1300

Triggered via pull request June 20, 2026 09:07
Status Success
Total duration 7h 41m 41s
Artifacts

mutation.yml

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

Annotations

11 warnings
mutation / PHP 8.5-ubuntu-latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
mutation / PHP 8.5-ubuntu-latest: src/Command/ListenAllCommand.php#L71
Escaped Mutant for Mutator "LessThan": @@ @@ } $pauseSeconds = (int) $input->getOption('pause'); - if ($pauseSeconds < 0) { + if ($pauseSeconds <= 0) { $pauseSeconds = 1; }
mutation / PHP 8.5-ubuntu-latest: src/Command/ListenAllCommand.php#L70
Escaped Mutant for Mutator "CastInt": @@ @@ $queues[] = $this->queueProvider->get($queue); } - $pauseSeconds = (int) $input->getOption('pause'); + $pauseSeconds = $input->getOption('pause'); if ($pauseSeconds < 0) { $pauseSeconds = 1; }
mutation / PHP 8.5-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.5-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.5-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.5-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.5-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.5-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) {
mutation / PHP 8.5-ubuntu-latest: src/Cli/SignalLoop.php#L39
Escaped Mutant for Mutator "IncrementInteger": @@ @@ * @param int $memorySoftLimit Soft RAM limit in bytes. The loop won't let you continue to execute the program if * soft limit is reached. Zero means no limit. */ - public function __construct(protected int $memorySoftLimit = 0) + public function __construct(protected int $memorySoftLimit = 1) { foreach (self::SIGNALS_EXIT as $signal) { pcntl_signal($signal, fn() => $this->exit = true);
mutation / PHP 8.5-ubuntu-latest: src/Cli/SignalLoop.php#L39
Escaped Mutant for Mutator "DecrementInteger": @@ @@ * @param int $memorySoftLimit Soft RAM limit in bytes. The loop won't let you continue to execute the program if * soft limit is reached. Zero means no limit. */ - public function __construct(protected int $memorySoftLimit = 0) + public function __construct(protected int $memorySoftLimit = -1) { foreach (self::SIGNALS_EXIT as $signal) { pcntl_signal($signal, fn() => $this->exit = true);