Implements BackedEnumFromDynamicStaticMethodThrowTypeExtension #25018
tests.yml
on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
38s
Matrix: Integration tests
Matrix: Tests PHPUnit 11.x
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Annotations
2 errors and 2 warnings
|
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Type/Php/BackedEnumFromDynamicStaticMethodThrowTypeExtension.php#L33
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
}
$valueType = $scope->getType($arguments[0]->value);
- if (!$valueType->isConstantScalarValue()->yes()) {
+ if ($valueType->isConstantScalarValue()->no()) {
return $methodReflection->getThrowType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Type/Php/BackedEnumFromDynamicStaticMethodThrowTypeExtension.php#L33
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
}
$valueType = $scope->getType($arguments[0]->value);
- if (!$valueType->isConstantScalarValue()->yes()) {
+ if ($valueType->isConstantScalarValue()->no()) {
return $methodReflection->getThrowType();
}
|