You are here

protected function MethodScopeSniff::processTokenOutsideScope in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Scope/MethodScopeSniff.php \Drupal\Sniffs\Scope\MethodScopeSniff::processTokenOutsideScope()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Scope/MethodScopeSniff.php \Drupal\Sniffs\Scope\MethodScopeSniff::processTokenOutsideScope()

Processes a token that is found outside the scope that this test is listening to.

Parameters

\PHP_CodeSniffer\Files\File $phpcsFile The file where this token was found.:

int $stackPtr The position in the stack where this: token was found.

Return value

void

File

coder_sniffer/Drupal/Sniffs/Scope/MethodScopeSniff.php, line 101

Class

MethodScopeSniff
Verifies that class/interface/trait methods have scope modifiers.

Namespace

Drupal\Sniffs\Scope

Code

protected function processTokenOutsideScope(File $phpcsFile, $stackPtr) {
}