lint/refactor/remove-function-argument
Not in any preset. In Rector’s rector/php52, rector/php85, rector/php86 sets. Unsafe fix: it can change behavior.
What it does
Remove argument by position by function name
Configuration
[lint.rules]
"refactor/remove-function-argument" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
RemoveFuncCallArg(rector)