Skip to content

Commit

Permalink
Coding standard fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Apr 19, 2018
1 parent 5a98939 commit d0ee54f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function register()
*/
public function process(File $phpcsFile, $stackPtr)
{
$tokens = $phpcsFile->getTokens();
$tokens = $phpcsFile->getTokens();

if (isset(Tokens::$castTokens[$tokens[$stackPtr]['code']]) === true) {
// A cast token.
Expand All @@ -69,7 +69,7 @@ public function process(File $phpcsFile, $stackPtr)
}//end if

return;
}
}//end if

$phpTypes = [
'self' => true,
Expand Down Expand Up @@ -109,7 +109,7 @@ public function process(File $phpcsFile, $stackPtr)
} else {
$phpcsFile->recordMetric($stackPtr, 'PHP type case', 'lower');
}//end if
}
}//end if

$params = $phpcsFile->getMethodParameters($stackPtr);
foreach ($params as $param) {
Expand Down Expand Up @@ -139,8 +139,8 @@ public function process(File $phpcsFile, $stackPtr)
} else {
$phpcsFile->recordMetric($stackPtr, 'PHP type case', 'lower');
}//end if
}
}
}//end if
}//end foreach

}//end process()

Expand Down

0 comments on commit d0ee54f

Please sign in to comment.