MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Identify usage of is_null and replace it with a comparison against null. More...
Public Member Functions | |
register () | |
@inheritDoc | |
process (File $phpcsFile, $stackPtr) | |
@inheritDoc | |
Identify usage of is_null and replace it with a comparison against null.
MediaWiki\Sniffs\Usage\IsNullSniff::process | ( | File | $phpcsFile, |
$stackPtr ) |
@inheritDoc
File | $phpcsFile | The PHP_CodeSniffer file where the token was found. |
int | $stackPtr | The position in the PHP_CodeSniffer file's token stack where the token was found. |
MediaWiki\Sniffs\Usage\IsNullSniff::register | ( | ) |
@inheritDoc