diff options
Diffstat (limited to 'build/code_sniffer/phpbb/Sniffs')
-rw-r--r-- | build/code_sniffer/phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/build/code_sniffer/phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php b/build/code_sniffer/phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php index 955405ce01..349bccbb02 100644 --- a/build/code_sniffer/phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php +++ b/build/code_sniffer/phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php @@ -50,13 +50,11 @@ class phpbb_Sniffs_ControlStructures_OpeningParenthesisSniff implements PHP_Code { $error = 'There should be exactly one space between the keyword and opening parenthesis'; $phpcsFile->addError($error, $stackPtr, 'NoSpaceBeforeOpeningParenthesis'); - return; } else if ($tokens[$stackPtr + 1]['content'] !== ' ') { $error = 'There should be exactly one space between the keyword and opening parenthesis'; $phpcsFile->addError($error, $stackPtr, 'IncorrectSpaceBeforeOpeningParenthesis'); - return; } } } |