analyse/types/redundant-array-values
In the analyse-recommended preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/redundant-array-values" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ArrayValuesRule(phpstan-classes)arrayValues.empty(phpstan)arrayValues.list(phpstan)