analyse/undefined/assigned-property
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"undefined/assigned-property" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
AccessPropertiesInAssignRule(phpstan-classes)InvalidPropertyAccess(mago-analyzer)MixedPropertyAccess(mago-analyzer)NonExistentProperty(mago-analyzer)NullPropertyAccess(mago-analyzer)PossiblyNullPropertyAccess(mago-analyzer)property.nameNotString(phpstan)property.nonObject(phpstan)property.private(phpstan)staticProperty.nonStaticAccess(phpstan)