[2.x] Drop PHP 8.1 support #224
Annotations
1 error and 10 warnings
|
src/EventLoopBridge.php#L192
Escaped Mutant for Mutator "Identical":
@@ @@
$this->runTimer();
$this->scaleNoItemsCount = ZERO;
}
- if ($items === ZERO) {
+ if ($items !== ZERO) {
$this->scaleNoItemsCount++;
if ($this->scaleNoItemsCount > 10 && isset($this->scaleRange[$this->scalePosition - 1])) {
if ($this->timer instanceof TimerInterface) {
|
src/EventLoopBridge.php#L180
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
// @IgnoreException
}
$this->stopTimer();
- if ($items > ZERO && isset($this->scaleRange[$this->scalePosition + 1])) {
+ if ($items > ZERO && isset($this->scaleRange[$this->scalePosition + 2])) {
if ($this->timer instanceof TimerInterface) {
Loop::cancelTimer($this->timer);
$this->timer = null;
|
src/EventLoopBridge.php#L140
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
if (!$this->metrics instanceof Metrics) {
return;
}
- $this->metrics->timer()->counter(new Label('event', 'stop'))->incr();
+
}
private function runTimer(): void
{
|
src/EventLoopBridge.php#L136
Escaped Mutant for Mutator "LogicalNot":
@@ @@
}
Loop::cancelTimer($this->timer);
$this->timer = null;
- if (!$this->metrics instanceof Metrics) {
+ if ($this->metrics instanceof Metrics) {
return;
}
$this->metrics->timer()->counter(new Label('event', 'stop'))->incr();
|
src/EventLoopBridge.php#L136
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
}
Loop::cancelTimer($this->timer);
$this->timer = null;
- if (!$this->metrics instanceof Metrics) {
+ if (!false) {
return;
}
$this->metrics->timer()->counter(new Label('event', 'stop'))->incr();
|
src/EventLoopBridge.php#L136
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
}
Loop::cancelTimer($this->timer);
$this->timer = null;
- if (!$this->metrics instanceof Metrics) {
+ if (!true) {
return;
}
$this->metrics->timer()->counter(new Label('event', 'stop'))->incr();
|
src/EventLoopBridge.php#L120
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
if ($this->timer !== null) {
return;
}
- if ($this->metrics instanceof Metrics) {
+ if (true) {
$this->metrics->timer()->counter(new Label('event', 'start'))->incr();
}
$this->runTimer();
|
src/EventLoopBridge.php#L105
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$deferred = new Deferred();
$this->futures[spl_object_id($future)] = $deferred;
$this->events->addFuture(spl_object_hash($future), $future);
- if ($this->metrics instanceof Metrics) {
+ if (true) {
$this->metrics->futures()->gauge(new Label('state', 'active'))->incr();
}
$this->startTimer();
|
src/EventLoopBridge.php#L82
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
$stream = new Stream();
$this->channels[spl_object_id($channel)] = $stream;
$this->events->addChannel($channel);
- if ($this->metrics instanceof Metrics) {
+ if (true) {
$this->metrics->channels()->gauge(new Label('state', 'active'))->incr();
}
$this->startTimer();
|
src/EventLoopBridge.php#L62
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
}
public function withMetrics(Metrics $metrics): self
{
- $self = clone $this;
+ $self = $this;
$self->metrics = $metrics;
return $self;
}
|
The logs for this run have expired and are no longer available.
Loading