Skip to content

Commit 537c12c

Browse files
committed
Fix performance issue with big appended arrays
1 parent 53a1554 commit 537c12c

File tree

2 files changed

+280
-0
lines changed

2 files changed

+280
-0
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

+6
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,12 @@ public function testBug11640(): void
14481448
$this->assertNoErrors($errors);
14491449
}
14501450

1451+
public function testBug11913(): void
1452+
{
1453+
$errors = $this->runAnalyse(__DIR__ . '/data/bug-11913.php');
1454+
$this->assertNoErrors($errors);
1455+
}
1456+
14511457
/**
14521458
* @param string[]|null $allAnalysedFiles
14531459
* @return Error[]

0 commit comments

Comments
 (0)