protected function UnusedPrivateMethodSniff::processTokenOutsideScope in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php \DrupalPractice\Sniffs\Objects\UnusedPrivateMethodSniff::processTokenOutsideScope()
- 8.3.x coder_sniffer/DrupalPractice/Sniffs/Objects/UnusedPrivateMethodSniff.php \DrupalPractice\Sniffs\Objects\UnusedPrivateMethodSniff::processTokenOutsideScope()
Process tokens outside of scope.
Parameters
\PHP_CodeSniffer\Files\File $phpcsFile The file being processed.:
int $stackPtr The position where this token was: found.
Return value
void
File
- coder_sniffer/
DrupalPractice/ Sniffs/ Objects/ UnusedPrivateMethodSniff.php, line 116
Class
- UnusedPrivateMethodSniff
- Checks that private methods are actually used in a class.
Namespace
DrupalPractice\Sniffs\ObjectsCode
protected function processTokenOutsideScope(File $phpcsFile, $stackPtr) {
}