aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-22 20:54:11 +0200
committerTristan Darricau <github@nicofuma.fr>2014-06-22 23:52:17 +0200
commit2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d (patch)
tree3f500aea8a2fb25ccea26999d2400f600312a1a3 /build
parentfa5afb60aa1879311a5f909b680af7da26647c6b (diff)
downloadforums-2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d.tar
forums-2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d.tar.gz
forums-2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d.tar.bz2
forums-2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d.tar.xz
forums-2ff9064ffbde4f6add1de8fbfcdd0ef120e9b85d.zip
[ticket/12726] Fix coding style
PHPBB3-12726
Diffstat (limited to 'build')
-rw-r--r--build/code_sniffer/phpbb/Sniffs/Namespaces/UnusedUseSniff.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/code_sniffer/phpbb/Sniffs/Namespaces/UnusedUseSniff.php b/build/code_sniffer/phpbb/Sniffs/Namespaces/UnusedUseSniff.php
index dad384d855..ba7e0b6557 100644
--- a/build/code_sniffer/phpbb/Sniffs/Namespaces/UnusedUseSniff.php
+++ b/build/code_sniffer/phpbb/Sniffs/Namespaces/UnusedUseSniff.php
@@ -29,7 +29,8 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
*/
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
- if ($this->should_ignore_use($phpcsFile, $stackPtr) === true) {
+ if ($this->should_ignore_use($phpcsFile, $stackPtr) === true)
+ {
return;
}
@@ -108,7 +109,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
$ok = true;
}
}
-
+
// Checks in implements
$old_implements = $stackPtr;
while (($implements = $phpcsFile->findNext(T_IMPLEMENTS, ($old_implements + 1))) !== false)