mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12726] Fix coding style
PHPBB3-12726
This commit is contained in:
parent
fa5afb60aa
commit
2ff9064ffb
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
|
||||||
*/
|
*/
|
||||||
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +109,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
|
||||||
$ok = true;
|
$ok = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Checks in implements
|
// Checks in implements
|
||||||
$old_implements = $stackPtr;
|
$old_implements = $stackPtr;
|
||||||
while (($implements = $phpcsFile->findNext(T_IMPLEMENTS, ($old_implements + 1))) !== false)
|
while (($implements = $phpcsFile->findNext(T_IMPLEMENTS, ($old_implements + 1))) !== false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue