Merge pull request #8 from reactphp-parallel/raise-to-PHP-8.3 #14
ci.yml
on: push
Continuous Integration
/
...
/
Supported Versions Matrix
6s
Continuous Integration
/
...
/
Package Name
8s
Continuous Integration
/
...
/
Check Markdown links
31s
Continuous Integration
/
...
/
Supported Threading Matrix
8s
Continuous Integration
/
...
/
Supported Checks Matrix
32s
Matrix: Continuous Integration / Continuous Integration / can-require
Continuous Integration
/
...
/
Compile the matrix
3s
Matrix: Continuous Integration / Continuous Integration / qa
Matrix: Continuous Integration / Continuous Integration / directly-on-os
Continuous Integration
/
...
/
✔️
3s
Annotations
2 errors and 30 warnings
Continuous Integration / Continuous Integration / Test we can require "react-parallel/test-pool" on PHP 8.3 (zts)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires react-parallel/test-pool dev-2f05b8f8a378b33319b45094c7b63505f1026c88, found react-parallel/test-pool[dev-main] but it does not match the constraint.
|
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-2f05b8f8a378b33319b45094c7b63505f1026c88, found react-parallel/test-pool[dev-main] but it does not match the constraint.
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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 (true) {
$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.3 (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 (false) {
$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.3 (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;
}
|
Continuous Integration / Continuous Integration / Run mutation-testing on PHP 8.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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 (false) {
$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.3 (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 (true) {
$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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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.3 (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 (true) {
$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.3 (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 (false) {
$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.3 (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;
}
|