function AbstractVariableSniff::processMemberVar
Called to process class 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.
1 call to AbstractVariableSniff::processMemberVar()
- 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::processMemberVar()
- MemberVarScopeSniff::processMemberVar in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ Scope/ MemberVarScopeSniff.php - Processes the function tokens within the class.
- MemberVarSpacingSniff::processMemberVar in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ Squiz/ Sniffs/ WhiteSpace/ MemberVarSpacingSniff.php - Processes the function tokens within the class.
- PropertyDeclarationSniff::processMemberVar in vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Classes/ PropertyDeclarationSniff.php - Processes the function tokens within the class.
- PropertyDeclarationSniff::processMemberVar in vendor/
squizlabs/ php_codesniffer/ src/ Standards/ PSR2/ Sniffs/ Classes/ PropertyDeclarationSniff.php - Processes the function tokens within the class.
- StrictSchemaDisabledSniff::processMemberVar in vendor/
drupal/ coder/ coder_sniffer/ DrupalPractice/ Sniffs/ Objects/ StrictSchemaDisabledSniff.php - Processes this test, when one of its tokens is encountered.
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Sniffs/ AbstractVariableSniff.php, line 193
Class
Namespace
PHP_CodeSniffer\SniffsCode
protected abstract function processMemberVar(File $phpcsFile, $stackPtr);