Remove CODE_OF_CONDUCT.md and PULL_REQUEST_TEMPLATE.md (#258) #1070
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#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":
@@ @@
// 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#L66
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#L66
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#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) {
|