function AbstractVariableSniff::processVariable
Called to process normal member vars.
Parameters
\PHP_CodeSniffer\Files\File $phpcsFile The PHP_CodeSniffer file where this: token was found.
int $stackPtr The position where the token was found.:
Return value
void|int Optionally returns a stack pointer. The sniff will not be called again on the current file until the returned stack pointer is reached. Return `$phpcsFile->numTokens` to skip the rest of the file.
2 calls to AbstractVariableSniff::processVariable()
- AbstractVariableSniff::processTokenOutsideScope in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractVariableSniff.php - Processes the token outside the scope in the file.
- AbstractVariableSniff::processTokenWithinScope in vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractVariableSniff.php - Processes the token in the specified PHP_CodeSniffer\Files\File.
11 methods override AbstractVariableSniff::processVariable()
- MemberVarScopeSniff::processVariable in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Scope/ MemberVarScopeSniff.php - Processes normal variables.
- MemberVarSpacingSniff::processVariable in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ MemberVarSpacingSniff.php - Processes normal variables.
- PropertyDeclarationSniff::processVariable in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Classes/ PropertyDeclarationSniff.php - Processes normal variables.
- PropertyDeclarationSniff::processVariable in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PSR2/ Sniffs/ Classes/ PropertyDeclarationSniff.php - Processes normal variables.
- StrictSchemaDisabledSniff::processVariable in vendor/
drupal/ coder/ coder_sniffer/ DrupalPractice/ Sniffs/ Objects/ StrictSchemaDisabledSniff.php - Called to process normal member vars.
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractVariableSniff.php, line 208
Class
Namespace
PHP_CodeSniffer\SniffsCode
protected abstract function processVariable(File $phpcsFile, $stackPtr);