Fix subtype check for identical late-resolvable conditional types (bug #10942)#4579
Open
yt-catpaw wants to merge 5 commits into
Open
Fix subtype check for identical late-resolvable conditional types (bug #10942)#4579yt-catpaw wants to merge 5 commits into
yt-catpaw wants to merge 5 commits into
Annotations
3 errors
|
|
|
tests/PHPStan/Type/LateResolvableTypeTraitTest.php#L74
Call to an undefined method PHPStan\Type\Type::isSubTypeOf().
|
|
tests/PHPStan/Type/LateResolvableTypeTraitTest.php#L50
Method PHPStan\Type\LateResolvableTypeTraitTest::provideCases() should return list<array{PHPStan\Type\Type, PHPStan\Type\Type, PHPStan\TrinaryLogic}> but returns array{'conditional vs same conditional': array{PHPStan\Type\ConditionalTypeForParameter, PHPStan\Type\ConditionalTypeForParameter, PHPStan\TrinaryLogic}, 'conditional vs union containing it': array{PHPStan\Type\ConditionalTypeForParameter, PHPStan\Type\UnionType, PHPStan\TrinaryLogic}}.
|
The logs for this run have expired and are no longer available.
Loading