Add PredefinedQueueProvider (#264)
#1114
Annotations
11 warnings
|
mutation / PHP 8.5-ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. 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#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.5-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.5-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.5-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.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) {
|