1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +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])) {}
$list[$offset] = "";
}',
'error_message' => 'ReferenceConstraintViolation'
'error_message' => 'ReferenceConstraintViolation',
],
'setArbitraryListWithinNotIsset' => [
'code' => '<?php
@ -1170,7 +1170,7 @@ class IssetTest extends TestCase
$list[$offset] = "";
}
}',
'error_message' => 'ReferenceConstraintViolation'
'error_message' => 'ReferenceConstraintViolation',
],
];
}