lint/types/add-var-phpdoc-from-default
In the types set. Unsafe fix: it can change behaviour.
What it does
Add @var array docblock to array property based on iterable default value
Configuration
[lint.rules]
"types/add-var-phpdoc-from-default" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
DocblockVarArrayFromPropertyDefaults(rector)