PHP Class Kohana_Sniffs_Classes_EmptyConstructorCallSniff, coding-standards

Inheritance: implements PHP_CodeSniffer_Sniff
Afficher le fichier Open project: kohana/coding-standards

Méthodes publiques

Méthode 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 méthode

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
Résultat void

register() public méthode

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