Joomla_Sniffs_Functions_FunctionDeclarationSniff::processSingleLineDeclaration
Processes single-line declarations.
Just uses the Generic BSD-Allman brace sniff.
Signature
public function processSingleLineDeclaration(PHP_CodeSniffer_File
$phpcsFile,
int
$stackPtr,
array
$tokensĀ )
Parameters
-
$phpcsFile
- The file being scanned.
-
$stackPtr
- The position of the current token
-
$tokens
- The stack of tokens that make up
Returns
- void