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

Public Member Functions

 register ()
 Returns an array of tokens this test wants to listen for.
 
 process (File $phpcsFile, $stackPtr)
 Processes this test, when one of its tokens is encountered.
 
 processDocBlock (File $phpcsFile, int $stackPtr)
 

Member Function Documentation

◆ process()

MediaWiki\Sniffs\Commenting\PhpunitAnnotationsSniff::process ( File $phpcsFile,
$stackPtr )

Processes this test, when one of its tokens is encountered.

Parameters
File$phpcsFile
int$stackPtrThe position of the current token in the stack passed in $tokens.
Returns
void

◆ processDocBlock()

MediaWiki\Sniffs\Commenting\PhpunitAnnotationsSniff::processDocBlock ( File $phpcsFile,
int $stackPtr )
Parameters
File$phpcsFile
int$stackPtrPosition of T_DOC_COMMENT_OPEN_TAG
Returns
void

◆ register()

MediaWiki\Sniffs\Commenting\PhpunitAnnotationsSniff::register ( )

Returns an array of tokens this test wants to listen for.

Returns
array

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