analyse/undefined/method
In the analyse-basic preset and every stricter one. Report only.
Configuration
[analyse.rules]
"undefined/method" = "on"
To skip it in some files or lines, add an ignore comment.
Replaces
CallMethodsRule(phpstan-classes)checkThisOnly(phpstan-parameters)reportMagicMethods(phpstan-parameters)NonExistentMethod(mago-analyzer)PossiblyNonExistentMethod(mago-analyzer)method.nameNotString(phpstan)method.notFound(phpstan)