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