MediaWiki-CodeSniffer
MediaWiki CodeSniffer Standards
Loading...
Searching...
No Matches
MediaWiki\Sniffs\Commenting\EmptyTagSniff Class Reference

Check for tags with nothing after them. More...

+ Inheritance diagram for MediaWiki\Sniffs\Commenting\EmptyTagSniff:

Public Member Functions

 register ()
 @inheritDoc
 
 process (File $phpcsFile, $stackPtr)
 Processes this test, when one of its tokens is encountered.
 

Detailed Description

Check for tags with nothing after them.

Author
DannyS712

Member Function Documentation

◆ process()

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

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

Parameters
File$phpcsFileThe file being scanned.
int$stackPtrThe position of the current token in the stack passed in $tokens.
Returns
void

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