analyse/disallowed/static-method
In the analyse-basic preset and every stricter one. Report only.
What it does
Reports calls of the static methods the config forbids (disallowedStaticCalls).
Configuration
[analyse.rules]
"disallowed/static-method" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
StaticCalls(phpstan-classes)StaticFirstClassCallables(phpstan-classes)