|
| process (PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
|
| processOpen (PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
|
| processClose (PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
|
PSR2_Sniffs_Classes_ClassDeclarationSniff::process |
( |
PHP_CodeSniffer_File |
$phpcsFile, |
|
|
|
$stackPtr |
|
) |
| |
Processes this test, when one of its tokens is encountered.
- Parameters
-
PHP_CodeSniffer_File | $phpcsFile | The file being scanned. |
int | $stackPtr | The 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 | $phpcsFile | The file being scanned. |
int | $stackPtr | The 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 | $phpcsFile | The file being scanned. |
int | $stackPtr | The position of the current token in the stack passed in $tokens. |
- Returns
- void
The documentation for this class was generated from the following file:
- fannie/unit-tests/CodingStandard/CORE_PSR2/Sniffs/Classes/ClassDeclarationSniff.php