function PropertyDeclarationSniff::processVariableInString
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::processVariableInString()
Processes variables in double quoted strings.
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::processVariableInString
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Classes/ PropertyDeclarationSniff.php, line 106
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 processVariableInString(File $phpcsFile, $stackPtr) {
/*
We don't care about normal variables.
*/
}