Merge pull request #25 from reactphp-parallel/renovate/phpunit #35
ci.yml
on: push
Continuous Integration
/
...
/
Supported Versions Matrix
5s
Continuous Integration
/
...
/
Package Name
6s
Continuous Integration
/
...
/
Check Markdown links
47s
Continuous Integration
/
...
/
Supported Threading Matrix
3s
Continuous Integration
/
...
/
Supported Checks Matrix
56s
Matrix: Continuous Integration / Continuous Integration / can-require
Continuous Integration
/
...
/
Compile the matrix
4s
Matrix: Continuous Integration / Continuous Integration / qa
Matrix: Continuous Integration / Continuous Integration / directly-on-os
Continuous Integration
/
...
/
✔️
4s
Annotations
1 error and 30 warnings
|
Continuous Integration / Continuous Integration / Test we can require "react-parallel/test-pool" on PHP 8.4 (zts)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires react-parallel/test-pool dev-0dfe06da6ca9a3d51de58ac00239508e1e376c3b, found react-parallel/test-pool[dev-main] but it does not match the constraint.
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L94
Escaped Mutant for Mutator "Decrement":
@@ @@
$this->idle++;
Loop::futureTick(function (): void {
$this->idle--;
- $this->running--;
+ $this->running++;
});
return $result;
} finally {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L93
Escaped Mutant for Mutator "Decrement":
@@ @@
$result = $callable(...$args);
$this->idle++;
Loop::futureTick(function (): void {
- $this->idle--;
+ $this->idle++;
$this->running--;
});
return $result;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L92
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$result = $callable(...$args);
$this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
+
return $result;
} finally {
if ($this->metrics instanceof Metrics) {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L91
Escaped Mutant for Mutator "Increment":
@@ @@
throw new KilledRuntime();
}
$result = $callable(...$args);
- $this->idle++;
+ $this->idle--;
Loop::futureTick(function (): void {
$this->idle--;
$this->running--;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L84
Escaped Mutant for Mutator "Increment":
@@ @@
$time = hrtime(true);
}
try {
- $this->running++;
+ $this->running--;
await(futurePromise());
if ($this->killed === TRUE_) {
throw new KilledRuntime();
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L83
Escaped Mutant for Mutator "UnwrapFinally":
@@ @@
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
- try {
- $this->running++;
- await(futurePromise());
- if ($this->killed === TRUE_) {
- throw new KilledRuntime();
- }
- $result = $callable(...$args);
- $this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
- return $result;
- } finally {
- if ($this->metrics instanceof Metrics) {
- $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
- }
+ $this->running++;
+ await(futurePromise());
+ if ($this->killed === TRUE_) {
+ throw new KilledRuntime();
+ }
+ $result = $callable(...$args);
+ $this->idle++;
+ Loop::futureTick(function (): void {
+ $this->idle--;
+ $this->running--;
+ });
+ return $result;
+ if ($this->metrics instanceof Metrics) {
+ $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
+ $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
+ $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
}
}
public function close(): bool
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$time = null;
if ($this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
+
$time = hrtime(true);
}
try {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L78
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$time = null;
if ($this->metrics instanceof Metrics) {
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
+
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L77
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
throw ClosedException::create();
}
$time = null;
- if ($this->metrics instanceof Metrics) {
+ if (!$this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with lowest dependency preference:
src/Direct.php#L39
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
private int $idle = 0;
public function withMetrics(Metrics $metrics): self
{
- $self = clone $this;
+ $self = $this;
$self->metrics = $metrics;
return $self;
}
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L94
Escaped Mutant for Mutator "Decrement":
@@ @@
$this->idle++;
Loop::futureTick(function (): void {
$this->idle--;
- $this->running--;
+ $this->running++;
});
return $result;
} finally {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L93
Escaped Mutant for Mutator "Decrement":
@@ @@
$result = $callable(...$args);
$this->idle++;
Loop::futureTick(function (): void {
- $this->idle--;
+ $this->idle++;
$this->running--;
});
return $result;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L92
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$result = $callable(...$args);
$this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
+
return $result;
} finally {
if ($this->metrics instanceof Metrics) {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L91
Escaped Mutant for Mutator "Increment":
@@ @@
throw new KilledRuntime();
}
$result = $callable(...$args);
- $this->idle++;
+ $this->idle--;
Loop::futureTick(function (): void {
$this->idle--;
$this->running--;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L84
Escaped Mutant for Mutator "Increment":
@@ @@
$time = hrtime(true);
}
try {
- $this->running++;
+ $this->running--;
await(futurePromise());
if ($this->killed === TRUE_) {
throw new KilledRuntime();
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L83
Escaped Mutant for Mutator "UnwrapFinally":
@@ @@
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
- try {
- $this->running++;
- await(futurePromise());
- if ($this->killed === TRUE_) {
- throw new KilledRuntime();
- }
- $result = $callable(...$args);
- $this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
- return $result;
- } finally {
- if ($this->metrics instanceof Metrics) {
- $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
- }
+ $this->running++;
+ await(futurePromise());
+ if ($this->killed === TRUE_) {
+ throw new KilledRuntime();
+ }
+ $result = $callable(...$args);
+ $this->idle++;
+ Loop::futureTick(function (): void {
+ $this->idle--;
+ $this->running--;
+ });
+ return $result;
+ if ($this->metrics instanceof Metrics) {
+ $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
+ $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
+ $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
}
}
public function close(): bool
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$time = null;
if ($this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
+
$time = hrtime(true);
}
try {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L78
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$time = null;
if ($this->metrics instanceof Metrics) {
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
+
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L77
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
throw ClosedException::create();
}
$time = null;
- if ($this->metrics instanceof Metrics) {
+ if (!$this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with highest dependency preference:
src/Direct.php#L39
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
private int $idle = 0;
public function withMetrics(Metrics $metrics): self
{
- $self = clone $this;
+ $self = $this;
$self->metrics = $metrics;
return $self;
}
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L94
Escaped Mutant for Mutator "Decrement":
@@ @@
$this->idle++;
Loop::futureTick(function (): void {
$this->idle--;
- $this->running--;
+ $this->running++;
});
return $result;
} finally {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L93
Escaped Mutant for Mutator "Decrement":
@@ @@
$result = $callable(...$args);
$this->idle++;
Loop::futureTick(function (): void {
- $this->idle--;
+ $this->idle++;
$this->running--;
});
return $result;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L92
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$result = $callable(...$args);
$this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
+
return $result;
} finally {
if ($this->metrics instanceof Metrics) {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L91
Escaped Mutant for Mutator "Increment":
@@ @@
throw new KilledRuntime();
}
$result = $callable(...$args);
- $this->idle++;
+ $this->idle--;
Loop::futureTick(function (): void {
$this->idle--;
$this->running--;
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L84
Escaped Mutant for Mutator "Increment":
@@ @@
$time = hrtime(true);
}
try {
- $this->running++;
+ $this->running--;
await(futurePromise());
if ($this->killed === TRUE_) {
throw new KilledRuntime();
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L83
Escaped Mutant for Mutator "UnwrapFinally":
@@ @@
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
- try {
- $this->running++;
- await(futurePromise());
- if ($this->killed === TRUE_) {
- throw new KilledRuntime();
- }
- $result = $callable(...$args);
- $this->idle++;
- Loop::futureTick(function (): void {
- $this->idle--;
- $this->running--;
- });
- return $result;
- } finally {
- if ($this->metrics instanceof Metrics) {
- $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
- }
+ $this->running++;
+ await(futurePromise());
+ if ($this->killed === TRUE_) {
+ throw new KilledRuntime();
+ }
+ $result = $callable(...$args);
+ $this->idle++;
+ Loop::futureTick(function (): void {
+ $this->idle--;
+ $this->running--;
+ });
+ return $result;
+ if ($this->metrics instanceof Metrics) {
+ $this->metrics->executionTime()->summary()->observe((hrtime(true) - $time) / 1000000000.0);
+ $this->metrics->threads()->gauge(new Label('state', 'idle'))->incr();
+ $this->metrics->threads()->gauge(new Label('state', 'busy'))->dcr();
}
}
public function close(): bool
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L79
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$time = null;
if ($this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
- $this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
+
$time = hrtime(true);
}
try {
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L78
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
}
$time = null;
if ($this->metrics instanceof Metrics) {
- $this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
+
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
}
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L77
Escaped Mutant for Mutator "InstanceOf_":
@@ @@
throw ClosedException::create();
}
$time = null;
- if ($this->metrics instanceof Metrics) {
+ if (!$this->metrics instanceof Metrics) {
$this->metrics->threads()->gauge(new Label('state', 'busy'))->incr();
$this->metrics->threads()->gauge(new Label('state', 'idle'))->dcr();
$time = hrtime(true);
|
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.4 (zts) with locked dependency preference:
src/Direct.php#L39
Escaped Mutant for Mutator "CloneRemoval":
@@ @@
private int $idle = 0;
public function withMetrics(Metrics $metrics): self
{
- $self = clone $this;
+ $self = $this;
$self->metrics = $metrics;
return $self;
}
|