Skip to content

Commit bc536d8

Browse files
committed
fix: add tests on isset rules
1 parent cb08ebe commit bc536d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/PHPStan/Rules/Variables/IssetRuleTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,4 +510,11 @@ public function testBug10640(): void
510510

511511
$this->analyse([__DIR__ . '/../../Analyser/nsrt/bug-10640.php'], []);
512512
}
513+
514+
public function testBug13353(): void
515+
{
516+
$this->treatPhpDocTypesAsCertain = true;
517+
518+
$this->analyse([__DIR__ . '/data/bug-13353.php'], []);
519+
}
513520
}

0 commit comments

Comments
 (0)