void processTokenOutsideScope(
File
$phpcsFile, int
$stackPtr)
Processes a token that is found within the scope that this test is listening to.
Overrides
AbstractScopeSniff::processTokenOutsideScope() (Processes a token that is found within the scope that this test is listening to.)
Parameters:
PHP_CodeSniffer_File
$phpcsFile
—
The file where this token was found.
int
$stackPtr
—
The position in the stack where this token was found.
void processTokenWithinScope(
File
$phpcsFile, int
$stackPtr, int
$currScope)
Processes the function tokens within the class.
Overrides
AbstractScopeSniff::processTokenWithinScope() (Processes a token that is found within the scope that this test is listening to.)
Parameters:
PHP_CodeSniffer_File
$phpcsFile
—
The file where this token was found.
int
$stackPtr
—
The position where the token was found.
int
$currScope
—
The current scope opener token.