analyse/classes/internal-static-method-call
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"classes/internal-static-method-call" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
RestrictedStaticMethodUsageRule(phpstan-classes)