MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Custom sniff that finds unnecessary slow in_array() that can be replaced with array_key_exists() or isset(). More...
Public Member Functions | |
register () | |
@inheritDoc | |
process (File $phpcsFile, $stackPtr) | |
Custom sniff that finds unnecessary slow in_array() that can be replaced with array_key_exists() or isset().
@license GPL-2.0-or-later
MediaWiki\Sniffs\Usage\InArrayUsageSniff::process | ( | File | $phpcsFile, |
$stackPtr ) |
File | $phpcsFile | |
int | $stackPtr |