MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Replace assertEquals and assertSame where the actual value is count( anything ) with the more specific assertCount. More...
Public Member Functions | |
register () | |
@inheritDoc | |
process (File $phpcsFile, $stackPtr) | |
Replace assertEquals and assertSame where the actual value is count( anything ) with the more specific assertCount.
Based on AssertEqualsSniff sniff
MediaWiki\Sniffs\PHPUnit\AssertCountSniff::process | ( | File | $phpcsFile, |
$stackPtr ) |
File | $phpcsFile | |
int | $stackPtr |