Update dependency phpunit/phpunit to ^11.5.0 #2628
continuous-integration.yml
on: push
Matrix: Check Backward Compatibility
Matrix: Run benchmarks
Matrix: Check Coding Standards
Matrix: Test Compatibility
Matrix: Check Demo Scripts
Matrix: Mutation tests
Matrix: PHPUnit tests
Matrix: Static Analysis by PHPStan
Matrix: Static Analysis by Psalm
Annotations
27 warnings
Check Demo Scripts (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run benchmarks (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Compatibility (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check Coding Standards (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (highest, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (highest, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (lowest, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by PHPStan (locked, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Static Analysis by PHPStan (locked, 8.4, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (highest, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (lowest, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPUnit tests (lowest, 8.2, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation tests (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/Adapter/ReflectionNamedType.php#L24
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
/** @var non-empty-string */
private string $toString;
/** @param \Roave\BetterReflection\Reflection\ReflectionNamedType|non-empty-string $type */
- public function __construct(BetterReflectionNamedType|string $type, private bool $allowsNull = false)
+ public function __construct(BetterReflectionNamedType|string $type, private bool $allowsNull = true)
{
if ($type instanceof BetterReflectionNamedType) {
$nameType = $type->getName();
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L373
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
}
/** @psalm-var mixed $nodePropertyArrayItem */
foreach ($nodeProperty as $nodePropertyArrayItem) {
- if ($nodePropertyArrayItem instanceof Node && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) {
+ if (true && $this->nodeIsOrContainsYield($nodePropertyArrayItem)) {
return true;
}
}
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert(true || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || true || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || true || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || true || $returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || true);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || false);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|
Mutation tests (locked, 8.3, ubuntu-latest):
src/Reflection/ReflectionFunctionAbstract.php#L509
Escaped Mutant for Mutator "LogicalOrAllSubExprNegation":
--- Original
+++ New
@@ @@
if ($returnType === null) {
return null;
}
- assert($returnType instanceof Node\Identifier || $returnType instanceof Node\Name || $returnType instanceof Node\NullableType || $returnType instanceof Node\UnionType || $returnType instanceof Node\IntersectionType);
+ assert(!$returnType instanceof Node\Identifier || !$returnType instanceof Node\Name || !$returnType instanceof Node\NullableType || !$returnType instanceof Node\UnionType || !$returnType instanceof Node\IntersectionType);
return ReflectionType::createFromNode($this->reflector, $this, $returnType);
}
/** @return list<ReflectionAttribute> */
|