lint/style/no-dynamic-property
In the coding-style set. Report only. Upstream gates: strictRules.noVariableVariables.
What it does
Disallows accessing a property by a variable name ($object->$property).
Configuration
[lint.rules]
"style/no-dynamic-property" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
VariablePropertyFetchRule(phpstan-classes)property.dynamicName(phpstan-strict-rules)