analyse/disallowed/property
In the analyse-basic preset and every stricter one. Report only.
What it does
Reports uses of the properties the config forbids (disallowedProperties).
Configuration
[analyse.rules]
"disallowed/property" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
InstancePropertyUsages(phpstan-classes)StaticPropertyUsages(phpstan-classes)disallowed.property(phpstan-disallowed-calls)