analyse/types/invalid-property-type
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"types/invalid-property-type" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
ExistingClassesInPropertiesRule(phpstan-classes)property.trait(phpstan)property.unresolvableNativeType(phpstan)