MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Complain about empty lines between the different use
statements at the top of a file.
More...
Public Member Functions | |
register () | |
@inheritDoc | |
process (File $phpcsFile, $stackPtr) | |
Complain about empty lines between the different use
statements at the top of a file.
We deliberately do check for multiple empty lines and remove them all, even though MultipleEmptyLinesSniff takes care of that too.
MediaWiki\Sniffs\WhiteSpace\EmptyLinesBetweenUseSniff::process | ( | File | $phpcsFile, |
$stackPtr ) |
File | $phpcsFile | |
int | $stackPtr | The current token index. |