Skip to content

Commit 8ac48d3

Browse files
committed
fix: add tests on isset rules
1 parent fc838fe commit 8ac48d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/PHPStan/Rules/Variables/IssetRuleTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,4 +492,10 @@ public function testIssetAfterRememberedConstructor(): void
492492
]);
493493
}
494494

495+
public function testBug13353(): void
496+
{
497+
$this->treatPhpDocTypesAsCertain = true;
498+
499+
$this->analyse([__DIR__ . '/data/bug-13353.php'], []);
500+
}
495501
}

0 commit comments

Comments
 (0)