Ensure single and multi-line function declarations are defined correctly.
[line 36]
The number of spaces code should be indented.void isMultiLineDeclaration(
PHP_CodeSniffer_File
$phpcsFile, int
$stackPtr, int
$openBracket, array
$tokens)
Overridden in child classes as:
void process(
PHP_CodeSniffer_File
$phpcsFile, int
$stackPtr)
void processMultiLineDeclaration(
PHP_CodeSniffer_File
$phpcsFile, int
$stackPtr, array
$tokens)
Overridden in child classes as:
void processSingleLineDeclaration(
PHP_CodeSniffer_File
$phpcsFile, int
$stackPtr, array
$tokens)
Just uses the Generic BSD-Allman brace sniff.