Skip to content

Commit 9a2eb59

Browse files
herndlmondrejmirtes
authored andcommitted
add issetruletest to cover everything
1 parent 1c4a92c commit 9a2eb59

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
@@ -413,4 +413,11 @@ public function testBug6997(): void
413413
$this->analyse([__DIR__ . '/data/bug-6997.php'], []);
414414
}
415415

416+
public function testBug7776(): void
417+
{
418+
$this->treatPhpDocTypesAsCertain = true;
419+
$this->strictUnnecessaryNullsafePropertyFetch = false;
420+
$this->analyse([__DIR__ . '/../../Analyser/data/bug-7776.php'], []);
421+
}
422+
416423
}

0 commit comments

Comments
 (0)