Skip to content

Commit 72c18e8

Browse files
committed
update tests
1 parent 5f878c8 commit 72c18e8

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,10 @@ public function testRule(): void
107107
'Offset \'b\' does not exist on array{a: \'blabla\'}.',
108108
228,
109109
],
110-
[
111-
'Offset string does not exist on array<int, mixed>.',
112-
240,
113-
],
114110
[
115111
'Cannot access offset \'a\' on Closure(): void.',
116112
253,
117113
],
118-
[
119-
'Offset string does not exist on array<int, string>.',
120-
308,
121-
],
122114
[
123115
'Offset null does not exist on array<int, string>.',
124116
310,
@@ -252,18 +244,10 @@ public function testRuleBleedingEdge(): void
252244
'Offset \'b\' does not exist on array{a: \'blabla\'}.',
253245
228,
254246
],
255-
[
256-
'Offset string does not exist on array<int, mixed>.',
257-
240,
258-
],
259247
[
260248
'Cannot access offset \'a\' on Closure(): void.',
261249
253,
262250
],
263-
[
264-
'Offset string does not exist on array<int, string>.',
265-
308,
266-
],
267251
[
268252
'Offset null does not exist on array<int, string>.',
269253
310,

0 commit comments

Comments
 (0)