function MethodScopeSniff::processTokenOutsideScope
Same name in this branch
- 11.1.x vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php \PHP_CodeSniffer\Standards\Squiz\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
Overrides AbstractScopeSniff::processTokenOutsideScope
File
-
vendor/
drupal/ coder/ coder_sniffer/ Drupal/ Sniffs/ Scope/ MethodScopeSniff.php, line 101
Class
- MethodScopeSniff
- Verifies that class/interface/trait methods have scope modifiers.
Namespace
Drupal\Sniffs\ScopeCode
protected function processTokenOutsideScope(File $phpcsFile, $stackPtr) {
}