Skip to content

Fix invokable objects incorrectly labeled as instances of Closure #25081

Fix invokable objects incorrectly labeled as instances of Closure

Fix invokable objects incorrectly labeled as instances of Closure #25081

Triggered via pull request February 3, 2026 21:25
Status Failure
Total duration 12m 46s
Artifacts

tests.yml

on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
34s
Determine levels tests matrix
Matrix: Integration tests
Matrix: Tests PHPUnit 11.x
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Fit to window
Zoom out
Zoom in

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/Accessory/HasMethodType.php#L90
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ( $this->isCallable()->yes() - && $otherType->isCallable()->yes() + && !$otherType->isCallable()->no() && !(new ObjectType(Closure::class))->isSuperTypeOf($otherType)->yes() ) { return IsSuperTypeOfResult::createYes();
Mutation Testing (8.3, ubuntu-latest): src/Type/Accessory/HasMethodType.php#L90
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ( $this->isCallable()->yes() - && $otherType->isCallable()->yes() + && !$otherType->isCallable()->no() && !(new ObjectType(Closure::class))->isSuperTypeOf($otherType)->yes() ) { return IsSuperTypeOfResult::createYes();