protected function PropertyDeclarationSniff::processVariable in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php \Drupal\Sniffs\Classes\PropertyDeclarationSniff::processVariable()
- 8.3.x coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php \Drupal\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
File
- coder_sniffer/
Drupal/ Sniffs/ Classes/ PropertyDeclarationSniff.php, line 89
Class
- PropertyDeclarationSniff
- Laregely 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.
*/
}