Utilize build-infection #1540
build.yml
on: pull_request
Coding Standard
28s
Matrix: Lint
Matrix: Mutation Testing
Matrix: PHPStan
Matrix: Tests
Annotations
2 errors and 1 warning
|
Coding Standard
Process completed with exit code 2.
|
|
Mutation Testing (8.2)
Process completed with exit code 1.
|
|
Mutation Testing (8.2):
src/Rules/Doctrine/ORM/QueryBuilderDqlRule.php#L60
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
$calledOnType = $scope->getType($node->var);
// testing stuff
$obj = (new ObjectType('SomeClass'))->isSuperTypeOf($calledOnType);
- if ($obj->yes()) {
+ if (!$obj->no()) {
$x = 1;
} else {
$x = 2;
|