Lines Matching refs:tokens
64 $tokens = $phpcsFile->getTokens();
66 …$errorData = array(strtolower($tokens[$stackPtr]['content']).' '.$tokens[$scope_identifier]…
68 if (isset($tokens[$stackPtr]['scope_opener']) === false) {
74 $openingBrace = $tokens[$stackPtr]['scope_opener'];
78 $lastClassLine = $tokens[$lastClassLineToken]['line'];
79 $braceLine = $tokens[$openingBrace]['line'];
98 if ($tokens[$next]['line'] === $tokens[$openingBrace]['line']) {
99 if ($next === $tokens[$stackPtr]['scope_closer']) {
117 if ($tokens[($openingBrace - 1)]['code'] !== T_WHITESPACE) {
119 } else if ($tokens[($openingBrace - 1)]['content'] === "\t") {
122 $length = strlen($tokens[($openingBrace - 1)]['content']);