function PropertyDeclarationSniff::processVariable
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php \PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes\PropertyDeclarationSniff::processVariable()
Processes normal variables.
Parameters
\PHP_CodeSniffer\Files\File $phpcsFile The file where this token was found.:
int $stackPtr The position where the token was found.:
Return value
void
Overrides AbstractVariableSniff::processVariable
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Classes/ PropertyDeclarationSniff.php, line 89
Class
- PropertyDeclarationSniff
- Largely copied from \PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes\PropertyDeclarationSniff to have a fixer for the var keyword.
Namespace
Drupal\Sniffs\ClassesCode
protected function processVariable(File $phpcsFile, $stackPtr) {
/*
We don't care about normal variables.
*/
}