PHP Class Squiz_Sniffs_WhiteSpace_MemberVarSpacingSniff, PHP_CodeSniffer

Author: Greg Sherwood ([email protected])
Author: Marc McIntyre ([email protected])
Inheritance: extends PHP_CodeSniffer_Standards_AbstractVariableSniff
Show file Open project: squizlabs/php_codesniffer

Protected Methods

Method Description
processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes the function tokens within the class.
processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes normal variables.
processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes variables in double quoted strings.

Method Details

processMemberVar() protected method

Processes the function tokens within the class.
protected processMemberVar ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The file where this token was found.
$stackPtr integer The position where the token was found.
return void

processVariable() protected method

Processes normal variables.
protected processVariable ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The file where this token was found.
$stackPtr integer The position where the token was found.
return void

processVariableInString() protected method

Processes variables in double quoted strings.
protected processVariableInString ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File The file where this token was found.
$stackPtr integer The position where the token was found.
return void