Skip to content

Commit 674f8aa

Browse files
committed
Assert-and-throws-are-side-effects
1 parent 1aa0347 commit 674f8aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -3512,6 +3512,10 @@ public function testBug12544(): void
35123512
$this->checkUnionTypes = true;
35133513
$this->checkExplicitMixed = true;
35143514
$this->analyse([__DIR__ . '/data/bug-12544.php'], [
3515+
[
3516+
'Call to private method hello() of class Bug12544\Bar.',
3517+
19,
3518+
],
35153519
[
35163520
'Call to private method somethingElse() of class Bug12544\Bar.',
35173521
20,

0 commit comments

Comments
 (0)