MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
|
Make sure function names follow lower camel case. More...
Public Member Functions | |
register () | |
@inheritDoc | |
process (File $phpcsFile, $stackPtr) | |
Make sure function names follow lower camel case.
This ignores methods in the form on(Something) where the class implements an interface with the name (Something)Hook, to avoid sending warnings for code in MediaWiki extensions and skins for hook handlers where the method cannot be renamed because it is inherited from the hook interface
MediaWiki\Sniffs\NamingConventions\LowerCamelFunctionsNameSniff::process | ( | File | $phpcsFile, |
$stackPtr ) |
File | $phpcsFile | |
int | $stackPtr | The current token index. |