[ticket/12721] Add Squiz.ControlStructures.ElseIfDeclaration in legacy

PHPBB3-12721
This commit is contained in:
Tristan Darricau 2014-06-15 21:34:02 +02:00
parent 06bf864c41
commit 09fc008e62
10 changed files with 14 additions and 10 deletions

View file

@ -45,6 +45,9 @@
<!-- When referencing arrays you should not put whitespace around the opening bracket or before the closing bracket. --> <!-- When referencing arrays you should not put whitespace around the opening bracket or before the closing bracket. -->
<rule ref="Squiz.Arrays.ArrayBracketSpacing" /> <rule ref="Squiz.Arrays.ArrayBracketSpacing" />
<!-- Verifies that there are not elseif statements. The else and the if should be separated by a space. -->
<rule ref="Squiz.ControlStructures.ElseIfDeclaration" />
<!-- In the argument list, there MUST NOT be a space before each comma, <!-- In the argument list, there MUST NOT be a space before each comma,
and there MUST be one space after each comma. --> and there MUST be one space after each comma. -->
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">

View file

@ -1,4 +1,5 @@
<?php <?php
// @codingStandardsIgnoreFile
// //
// $Id: sphinxapi.php 3087 2012-01-30 23:07:35Z shodan $ // $Id: sphinxapi.php 3087 2012-01-30 23:07:35Z shodan $