You are here

protected function VariableAnalysisSniff::processMemberVar in Coder 8.2

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

File

coder_sniffer/DrupalPractice/Sniffs/CodeAnalysis/VariableAnalysisSniff.php, line 1943

Class

VariableAnalysisSniff
Checks the for undefined function variables.

Namespace

DrupalPractice\Sniffs\CodeAnalysis

Code

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

  // TODO: don't care for now.
  $tokens = $phpcsFile
    ->getTokens();
  $token = $tokens[$stackPtr];
}