function IncludeOwnSystemSniff::getIncludedClassFromToken
Determines the included class name from given token.
Parameters
\PHP_CodeSniffer\Files\File $phpcsFile The file where this token was found.:
array $tokens The array of file tokens.:
int $stackPtr The position in the tokens array of the: potentially included class.
Return value
bool
File
-
vendor/
squizlabs/ php_codesniffer/ src/ Standards/ MySource/ Sniffs/ Channels/ IncludeOwnSystemSniff.php, line 89
Class
Namespace
PHP_CodeSniffer\Standards\MySource\Sniffs\ChannelsCode
protected function getIncludedClassFromToken($phpcsFile, array $tokens, $stackPtr) {
return false;
}