CORE POS - Fannie
The CORE POS back end
Public Member Functions | List of all members
PSR2_Sniffs_Classes_ClassDeclarationSniff Class Reference
Inheritance diagram for PSR2_Sniffs_Classes_ClassDeclarationSniff:

Public Member Functions

 process (PHP_CodeSniffer_File $phpcsFile, $stackPtr)
 
 processOpen (PHP_CodeSniffer_File $phpcsFile, $stackPtr)
 
 processClose (PHP_CodeSniffer_File $phpcsFile, $stackPtr)
 

Member Function Documentation

PSR2_Sniffs_Classes_ClassDeclarationSniff::process ( PHP_CodeSniffer_File  $phpcsFile,
  $stackPtr 
)

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

Parameters
PHP_CodeSniffer_File$phpcsFileThe file being scanned.
int$stackPtrThe position of the current token in the stack passed in $tokens.
Returns
void
PSR2_Sniffs_Classes_ClassDeclarationSniff::processClose ( PHP_CodeSniffer_File  $phpcsFile,
  $stackPtr 
)

Processes the closing section of a class declaration.

Parameters
PHP_CodeSniffer_File$phpcsFileThe file being scanned.
int$stackPtrThe position of the current token in the stack passed in $tokens.
Returns
void
PSR2_Sniffs_Classes_ClassDeclarationSniff::processOpen ( PHP_CodeSniffer_File  $phpcsFile,
  $stackPtr 
)

Processes the opening section of a class declaration.

Parameters
PHP_CodeSniffer_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: