Skip to content

Commit a960f74

Browse files
committed
Regression test
Closes phpstan/phpstan#10847
1 parent deef919 commit a960f74

File tree

2 files changed

+886
-0
lines changed

2 files changed

+886
-0
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,12 @@ public function testBug10538(): void
13331333
$this->assertNoErrors($errors);
13341334
}
13351335

1336+
public function testBug10847(): void
1337+
{
1338+
$errors = $this->runAnalyse(__DIR__ . '/data/bug-10847.php');
1339+
$this->assertNoErrors($errors);
1340+
}
1341+
13361342
public function testBug10772(): void
13371343
{
13381344
if (PHP_VERSION_ID < 80100) {

0 commit comments

Comments
 (0)