analyse/laravel/config-collection
In the analyse-strict preset and every stricter one. Needs the laravel extension. Report only. Upstream setting: checkConfigTypes (default false).
Configuration
[analyse.rules]
"laravel/config-collection" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ConfigCollectionRule(phpstan-classes)larastan.configCollection(larastan)