Skip to content

Commit 12ad9fd

Browse files
authored
Partly revert wrong expectations (#5589)
1 parent 86d1207 commit 12ad9fd

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

tests/PHPStan/Rules/Arrays/OffsetAccessAssignmentRuleTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,4 @@ public function testAppendToArrayWithPhpIntMaxKey(): void
222222
]);
223223
}
224224

225-
public function testBug9004(): void
226-
{
227-
$this->checkUnionTypes = true;
228-
$this->analyse([__DIR__ . '/../../Analyser/nsrt/bug-9004.php'], [
229-
[
230-
'Cannot assign new offset to list<int>|string.',
231-
14,
232-
],
233-
]);
234-
}
235-
236225
}

0 commit comments

Comments
 (0)