<rule ref="Generic.Functions.FunctionCallArgumentSpacing" />
<rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />
- <rule ref="Generic.PHP.DisallowShortOpenTag" />
<rule ref="Generic.PHP.LowerCaseConstant" />
<rule ref="Generic.PHP.LowerCaseKeyword" />
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent" />
<?php if (extension_loaded('imagick')) { ?>
<li class="success"><?=getPhrase('php_extension_success', ['Imagick'])?></li>
- <?php } elseif (extension_loaded('gd')) { ?>
+ <?php } else if (extension_loaded('gd')) { ?>
<li class="success"><?=getPhrase('php_extension_success', ['GD'])?></li>
<?php } else { ?>
<li class="failure"><?=getPhrase('php_extension_gd_or_imagick_failure')?></li>