Skip to content

Commit b3be0cc

Browse files
committed
fix test on CatchWithUnthrownExceptionRuleTest
1 parent 051c79c commit b3be0cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/PHPStan/Rules/Exceptions/CatchWithUnthrownExceptionRuleTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ public function testRule(): void
105105
'Dead catch - Exception is never thrown in the try block.',
106106
398,
107107
],
108+
[
109+
'Dead catch - Exception is never thrown in the try block.',
110+
407,
111+
],
108112
[
109113
'Dead catch - Exception is never thrown in the try block.',
110114
432,
@@ -213,6 +217,10 @@ public function testRuleWithoutReportingUncheckedException(): void
213217
'Dead catch - Exception is never thrown in the try block.',
214218
398,
215219
],
220+
[
221+
'Dead catch - Exception is never thrown in the try block.',
222+
407,
223+
],
216224
[
217225
'Dead catch - Exception is never thrown in the try block.',
218226
432,

0 commit comments

Comments
 (0)