lint/functions/no-unreachable-default-argument-value
In the code-quality set. Unsafe fix: it can change behaviour. Intent: correctness.
What it does
In function arguments there must not be arguments with default values before non-default ones.
Configuration
[lint.rules]
"functions/no-unreachable-default-argument-value" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
no_unreachable_default_argument_value(php-cs-fixer, risky)