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:
parent
232791753d
commit
388efaf85c
@ -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',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user