elseif
The keyword elseif should be used instead of else if so that all control keywords look like single words.
else if
--- Original +++ New <?php if ($a) { -} else if ($b) { +} elseif ($b) { }
The rule is part of the following rule sets:
@PER
@PER-CS1.0
@PER-CS2.0
@PSR2
@PSR12
@PhpCsFixer
@Symfony