lint/style/no-call-user-func
In the code-quality and coding-style sets. Unsafe fix: it can change behaviour.
What it does
Call callables directly instead of through call_user_func().
Configuration
[lint.rules]
"style/no-call-user-func" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
regular_callable_call(php-cs-fixer, risky)