analyse/classes/dynamic-static-call
In the analyse-strict preset and every stricter one. Report only. Upstream gates: strictRules.dynamicCallOnStaticMethod.
Configuration
[analyse.rules]
"classes/dynamic-static-call" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
DynamicCallOnStaticMethodsRule(phpstan-classes)DynamicStaticMethodCall(mago-analyzer)staticMethod.dynamicCall(phpstan-strict-rules)