analyse/types/unpack-non-iterable
In the analyse-essential preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/unpack-non-iterable" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
UnpackIterableInArrayRule(phpstan-classes)arrayUnpacking.nonIterable(phpstan)