Skip to content

Commit 1aa0347

Browse files
committed
Assert-and-throws-are-side-effects
1 parent 51b2224 commit 1aa0347

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/PHPStan/Rules/Pure/PureMethodRuleTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ public function dataBug11207(): array
206206
];
207207
}
208208

209+
public function testBug12048(): void
210+
{
211+
$this->treatPhpDocTypesAsCertain = true;
212+
$this->analyse([__DIR__ . '/data/bug-12048.php'], []);
213+
}
214+
209215
public function testBug12224(): void
210216
{
211217
$this->treatPhpDocTypesAsCertain = true;

0 commit comments

Comments
 (0)