Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

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

More lint/functions rules · Edit this page

Last updated on

Was this page helpful?