Source Location: /PHP_CodeSniffer-2.0.0a2/CodeSniffer/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php
process [line 70]
Processes this test, when one of its tokens is encountered.
Overridden in child classes as:
- MySource_Sniffs_Commenting_FunctionCommentSniff::process()
- Processes this test, when one of its tokens is encountered.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
processParams [line 320]
Process the function parameter comments.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
int
$commentStart
—
The position in the stack where the comment started.
processReturn [line 123]
Process the return comment of this function comment.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
int
$commentStart
—
The position in the stack where the comment started.
processThrows [line 251]
Process any throw tags that this function comment has.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
int
$commentStart
—
The position in the stack where the comment started.
register [line 54]
Returns an array of tokens this test wants to listen for.