analyse/undefined/static-method
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"undefined/static-method" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
CallStaticMethodsRule(phpstan-classes)staticMethod.deprecatedClass(phpstan)staticMethod.deprecatedEnum(phpstan)staticMethod.deprecatedInterface(phpstan)staticMethod.deprecatedTrait(phpstan)staticMethod.internal(phpstan)staticMethod.internalClass(phpstan)staticMethod.internalEnum(phpstan)staticMethod.internalInterface(phpstan)staticMethod.internalTrait(phpstan)staticMethod.nameNotString(phpstan)staticMethod.notFound(phpstan)staticMethod.private(phpstan)staticMethod.protected(phpstan)