Method | Description | |
---|---|---|
_fixVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, string $varName ) : void | ||
_isValidVar ( string $string, boolean $public = true ) : boolean | Check that a variable is a valid shape. | |
processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Processes class member variables. | |
processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Processes this test, when one of its tokens is encountered. | |
processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | Processes the variable found within a double quoted string. |
protected processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | ||
$phpcsFile | PHP_CodeSniffer_File | The file being scanned. |
$stackPtr | integer | The position of the current token in the stack passed in $tokens. |
return | void |
protected processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | ||
$phpcsFile | PHP_CodeSniffer_File | The file being scanned. |
$stackPtr | integer | The position of the current token in the stack passed in $tokens. |
return | void |
protected processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void | ||
$phpcsFile | PHP_CodeSniffer_File | The file being scanned. |
$stackPtr | integer | The position of the double quoted string. |
return | void |