lint/laravel/prefer-forwards-calls
Not in any preset. Needs the laravel extension. Unsafe fix: it can change behavior.
What it does
Replaces the use of call_user_func and call_user_func_array method with the CallForwarding trait
Configuration
[lint.rules]
"laravel/prefer-forwards-calls" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
UseForwardsCallsTrait(rector-laravel)