void processMemberVar(
File
$phpcsFile, int
$stackPtr)
Called to process class member vars.
Overrides
AbstractVariableSniff::processMemberVar() (Called to process class member vars.)
Parameters:
PHP_CodeSniffer_File
$phpcsFile
—
The file being scanned.
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
void processVariable(
File
$phpcsFile, int
$stackPtr)
Called to process a normal variable.
Not required for this sniff.
Overrides
AbstractVariableSniff::processVariable() (Called to process normal member vars.)
Parameters:
PHP_CodeSniffer_File
$phpcsFile
—
The PHP_CodeSniffer file where this token was found.
int
$stackPtr
—
The position where the double quoted string was found.
void processVariableInString(
File
$phpcsFile, int
$stackPtr)
Called to process variables found in double quoted strings.
Not required for this sniff.
Overrides
AbstractVariableSniff::processVariableInString() (Called to process variables found in double quoted strings or heredocs.)
Parameters:
PHP_CodeSniffer_File
$phpcsFile
—
The PHP_CodeSniffer file where this token was found.
int
$stackPtr
—
The position where the double quoted string was found.