Skip to content

Commit ce03e9e

Browse files
committed
RuntimeSourceFilname: fix detection, add test - fix code coverage
1 parent bd3a16e commit ce03e9e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/RuntimeTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,9 @@ private static function testBasicTypes(): void
192192
assert(!TypeValidator::isType([], 'object'));
193193
assert(TypeValidator::isType(new \stdClass(), '\stdClass'));
194194
assert(TypeValidator::isType(new self(), 'RuntimeTest'));
195-
assert(TypeValidator::isType(new PHPStanTest(), 'PHPStanTest'));
196195

197196
// object with is_type() global function
198197
assert(is_type(new self(), 'RuntimeTest'));
199-
assert(is_type(new PHPStanTest(), 'PHPStanTest'));
200198

201199
// mixed / non-empty-mixed
202200
assert(TypeValidator::isType('a', 'mixed'));

0 commit comments

Comments
 (0)