Skip to content

Commit 0581d8e

Browse files
committed
Update pre-existing tests
1 parent 7a7601e commit 0581d8e

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

tests/PHPStan/Rules/Exceptions/OverwrittenExitPointByFinallyRuleTest.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ protected function getRule(): Rule
1919
public function testRule(): void
2020
{
2121
$this->analyse([__DIR__ . '/data/overwritten-exit-point.php'], [
22-
[
23-
'This throw is overwritten by a different one in the finally block below.',
24-
8,
25-
],
2622
[
2723
'This return is overwritten by a different one in the finally block below.',
2824
11,
@@ -41,10 +37,6 @@ public function testRule(): void
4137
public function testBug5627(): void
4238
{
4339
$this->analyse([__DIR__ . '/data/bug-5627.php'], [
44-
[
45-
'This throw is overwritten by a different one in the finally block below.',
46-
10,
47-
],
4840
[
4941
'This throw is overwritten by a different one in the finally block below.',
5042
12,
@@ -53,10 +45,6 @@ public function testBug5627(): void
5345
'The overwriting return is on this line.',
5446
14,
5547
],
56-
[
57-
'This exit point is overwritten by a different one in the finally block below.',
58-
29,
59-
],
6048
[
6149
'This exit point is overwritten by a different one in the finally block below.',
6250
31,
@@ -65,10 +53,6 @@ public function testBug5627(): void
6553
'The overwriting return is on this line.',
6654
33,
6755
],
68-
[
69-
'This exit point is overwritten by a different one in the finally block below.',
70-
39,
71-
],
7256
[
7357
'This exit point is overwritten by a different one in the finally block below.',
7458
41,
@@ -85,10 +69,6 @@ public function testBug5627(): void
8569
'The overwriting return is on this line.',
8670
51,
8771
],
88-
[
89-
'This throw is overwritten by a different one in the finally block below.',
90-
62,
91-
],
9272
[
9373
'This throw is overwritten by a different one in the finally block below.',
9474
64,
@@ -97,10 +77,6 @@ public function testBug5627(): void
9777
'The overwriting return is on this line.',
9878
66,
9979
],
100-
[
101-
'This exit point is overwritten by a different one in the finally block below.',
102-
81,
103-
],
10480
[
10581
'This exit point is overwritten by a different one in the finally block below.',
10682
83,
@@ -109,10 +85,6 @@ public function testBug5627(): void
10985
'The overwriting return is on this line.',
11086
85,
11187
],
112-
[
113-
'This exit point is overwritten by a different one in the finally block below.',
114-
91,
115-
],
11688
[
11789
'This exit point is overwritten by a different one in the finally block below.',
11890
93,
@@ -129,10 +101,6 @@ public function testBug5627(): void
129101
'The overwriting return is on this line.',
130102
103,
131103
],
132-
[
133-
'This throw is overwritten by a different one in the finally block below.',
134-
122,
135-
],
136104
[
137105
'This throw is overwritten by a different one in the finally block below.',
138106
124,

0 commit comments

Comments
 (0)