Fix phpstan build on PHP 7.4 #25271
Triggered via pull request
February 11, 2026 16:34
Status
Failure
Total duration
13m 37s
Artifacts
–
tests.yml
on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
42s
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/ObjectType.php#L755
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
public function toNumber(): Type
{
- if ($this->isInstanceOf('SimpleXMLElement')->yes()) {
+ if (!$this->isInstanceOf('SimpleXMLElement')->no()) {
return new UnionType([
new FloatType(),
new IntegerType(),
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Type/ObjectType.php#L755
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
public function toNumber(): Type
{
- if ($this->isInstanceOf('SimpleXMLElement')->yes()) {
+ if (!$this->isInstanceOf('SimpleXMLElement')->no()) {
return new UnionType([
new FloatType(),
new IntegerType(),
|