PHP Class Kohana_Sniffs_Classes_EmptyConstructorCallSniff, coding-standards

Inheritance: implements PHP_CodeSniffer_Sniff
Mostrar archivo Open project: kohana/coding-standards

Public Methods

Method Description
process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes the tokens that this sniff is interested in.
register ( ) : array(int) Returns the token types that this sniff is interested in.

Method Details

process() public method

Processes the tokens that this sniff is interested in.
public process ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File File where the token was found
$stackPtr integer Position in the stack where the token was found
return void

register() public method

Returns the token types that this sniff is interested in.
public register ( ) : array(int)
return array(int)