1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

append commas to array items

This commit is contained in:
Paweł Tomulik 2023-03-10 22:37:39 +01:00
parent 232791753d
commit 388efaf85c
No known key found for this signature in database
GPG Key ID: 383742B6D85FF3D5

View File

@ -1160,7 +1160,7 @@ class IssetTest extends TestCase
if (isset($list[$offset])) {} if (isset($list[$offset])) {}
$list[$offset] = ""; $list[$offset] = "";
}', }',
'error_message' => 'ReferenceConstraintViolation' 'error_message' => 'ReferenceConstraintViolation',
], ],
'setArbitraryListWithinNotIsset' => [ 'setArbitraryListWithinNotIsset' => [
'code' => '<?php 'code' => '<?php
@ -1170,7 +1170,7 @@ class IssetTest extends TestCase
$list[$offset] = ""; $list[$offset] = "";
} }
}', }',
'error_message' => 'ReferenceConstraintViolation' 'error_message' => 'ReferenceConstraintViolation',
], ],
]; ];
} }