MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
Loading...
Searching...
No Matches
MediaWiki\Sniffs\WhiteSpace\UnaryMinusSpacingSniff Class Reference

Sniff to warn when there is a space after a unary minus operator. More...

+ Inheritance diagram for MediaWiki\Sniffs\WhiteSpace\UnaryMinusSpacingSniff:

Public Member Functions

 register ()
 @inheritDoc
 
 process (File $phpcsFile, $stackPtr)
 

Detailed Description

Sniff to warn when there is a space after a unary minus operator.

Author
DannyS712

Member Function Documentation

◆ process()

MediaWiki\Sniffs\WhiteSpace\UnaryMinusSpacingSniff::process ( File $phpcsFile,
$stackPtr )
Parameters
File$phpcsFile
int$stackPtrThe current token index.
Returns
void

The documentation for this class was generated from the following file: