MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
Loading...
Searching...
No Matches
MediaWiki\Sniffs\Usage\MagicConstantClosureSniff Class Reference
+ Inheritance diagram for MediaWiki\Sniffs\Usage\MagicConstantClosureSniff:

Public Member Functions

 __construct ()
 @inheritDoc
 

Protected Member Functions

 processTokenWithinScope (File $phpcsFile, $stackPtr, $currScope)
 
 processTokenOutsideScope (File $phpcsFile, $stackPtr)
 

Member Function Documentation

◆ processTokenOutsideScope()

MediaWiki\Sniffs\Usage\MagicConstantClosureSniff::processTokenOutsideScope ( File $phpcsFile,
$stackPtr )
protected
Parameters
File$phpcsFile
int$stackPtrThe current token index.
Returns
void @suppress PhanUnusedProtectedMethodParameter Inherit from parent class

◆ processTokenWithinScope()

MediaWiki\Sniffs\Usage\MagicConstantClosureSniff::processTokenWithinScope ( File $phpcsFile,
$stackPtr,
$currScope )
protected
Parameters
File$phpcsFile
int$stackPtrThe current token index.
int$currScopeThe position of the current scope.
Returns
void @suppress PhanUnusedProtectedMethodParameter Inherit from parent class

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