Skip to content

Commit

Permalink
[ticket/13930] Use OpeningParenthesisSniff in legacy ruleset
Browse files Browse the repository at this point in the history
PHPBB3-13930
  • Loading branch information
marc1706 committed Jun 8, 2015
1 parent d70ad12 commit d4e0c08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions build/code_sniffer/ruleset-php-legacy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,7 @@
<!-- The ?> closing tag MUST be omitted from files containing only PHP. -->
<rule ref="Zend.Files.ClosingTag" />

<!-- There MUST be one space between control structure and opening parenthesis -->
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />

</ruleset>
3 changes: 0 additions & 3 deletions build/code_sniffer/ruleset-php-strict.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,4 @@
<!-- There MUST NOT be unused use statements. -->
<rule ref="./phpbb/Sniffs/Namespaces/UnusedUseSniff.php" />

<!-- There MUST be one space between control structure and opening parenthesis -->
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />

</ruleset>

0 comments on commit d4e0c08

Please sign in to comment.