Fix BcMath\Number unary plus/minus/bitwise-not #25698
Triggered via pull request
February 17, 2026 12:55
Status
Failure
Total duration
14m 53s
Artifacts
–
tests.yml
on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
37s
Matrix: Integration tests
Matrix: Tests PHPUnit 11.x
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Annotations
3 errors and 20 warnings
|
Integration tests (windows-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)
Process completed with exit code 1.
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1848
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1848
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1780
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1780
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1170
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1170
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1058
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1058
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L996
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L996
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1848
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1848
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1780
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1780
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1170
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1170
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1058
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L1058
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L996
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if (!(new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->no()) {
return new ErrorType();
}
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Reflection/InitializerExprTypeResolver.php#L996
Escaped Mutant for Mutator "PHPStan\Infection\IsSuperTypeOfCalleeAndArgumentMutator":
@@ @@
return $this->getNeverType($leftType, $rightType);
}
- if ((new ObjectType('BcMath\Number'))->isSuperTypeOf($leftType)->yes()) {
+ if ($leftType->isSuperTypeOf(new ObjectType('BcMath\Number'))->yes()) {
return new ErrorType();
}
|