You are here

protected function PropertyDeclarationSniff::processVariableInString in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php \Drupal\Sniffs\Classes\PropertyDeclarationSniff::processVariableInString()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php \Drupal\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

File

coder_sniffer/Drupal/Sniffs/Classes/PropertyDeclarationSniff.php, line 106

Class

PropertyDeclarationSniff
Laregely copied from \PHP_CodeSniffer\Standards\PSR2\Sniffs\Classes\PropertyDeclarationSniff to have a fixer for the var keyword.

Namespace

Drupal\Sniffs\Classes

Code

protected function processVariableInString(File $phpcsFile, $stackPtr) {

  /*
      We don't care about normal variables.
  */
}