lint/functions/no-call-user-func-method
In the coding-style set. Unsafe fix: it can change behaviour.
What it does
Refactor call_user_func() on known class method to a method call
Configuration
[lint.rules]
"functions/no-call-user-func-method" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
CallUserFuncToMethodCall(rector)