format/control-flow/elseif
In the format-laravel and format-psr12 presets. Safe fix.
What it does
The keyword elseif should be used instead of else if so that all control keywords look like single words.
Configuration
[format.rules]
"control-flow/elseif" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
elseif(php-cs-fixer)