lint/functions/no-extra-arguments
In the code-quality set. Safe fix. Gated by php-version.
What it does
Remove extra parameters
Configuration
[lint.rules]
"functions/no-extra-arguments" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
RemoveExtraParameters(rector)