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