Faster IsSuperTypeOfResult creation #26050
Triggered via pull request
February 25, 2026 12:54
Status
Failure
Total duration
13m 17s
Artifacts
–
tests.yml
on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
41s
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.3, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Type/Accessory/HasOffsetValueType.php#L127
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
);
return $result
- ->and($otherType->getOffsetValueType($this->offsetType)->isSuperTypeOf($this->valueType));
+ ->and($this->valueType->isSuperTypeOf($otherType->getOffsetValueType($this->offsetType)));
}
public function isAcceptedBy(Type $acceptingType, bool $strictTypes): AcceptsResult
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Type/Accessory/HasOffsetValueType.php#L127
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
);
return $result
- ->and($otherType->getOffsetValueType($this->offsetType)->isSuperTypeOf($this->valueType));
+ ->and($this->valueType->isSuperTypeOf($otherType->getOffsetValueType($this->offsetType)));
}
public function isAcceptedBy(Type $acceptingType, bool $strictTypes): AcceptsResult
|