BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\PSR2\Sniffs\Files\ClosingTagSniff Class Reference
Inheritance diagram for PHP_CodeSniffer\Standards\PSR2\Sniffs\Files\ClosingTagSniff:
Collaboration diagram for PHP_CodeSniffer\Standards\PSR2\Sniffs\Files\ClosingTagSniff:

Public Member Functions

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

Member Function Documentation

PHP_CodeSniffer\Standards\PSR2\Sniffs\Files\ClosingTagSniff::process ( File  $phpcsFile,
  $stackPtr 
)

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

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

Implements PHP_CodeSniffer\Sniffs\Sniff.

PHP_CodeSniffer\Standards\PSR2\Sniffs\Files\ClosingTagSniff::register ( )

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

Returns
array

Implements PHP_CodeSniffer\Sniffs\Sniff.


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