Searched refs:stringTokens (Results 1 – 9 of 9) sorted by relevance
145 …$stringTokens = PHP_CodeSniffer_File::tokenizeString($content, $phpcsFile->tokenizer, $phpcsFile->…163 $numTokens = count($stringTokens);173 if ($stringTokens[0]['code'] !== T_OPEN_TAG) {178 if (isset($stringTokens[($numTokens - 1)]) === false179 || $stringTokens[($numTokens - 1)]['code'] !== T_CLOSE_TAG187 … && isset(PHP_CodeSniffer_Tokens::$emptyTokens[$stringTokens[($numTokens - 2)]['code']]) === false197 if (isset($emptyTokens[$stringTokens[$i]['code']]) === true) {200 … } else if (in_array($stringTokens[$i]['code'], PHP_CodeSniffer_Tokens::$comparisonTokens) === true201 … || in_array($stringTokens[$i]['code'], PHP_CodeSniffer_Tokens::$arithmeticTokens) === true202 || $stringTokens[$i]['code'] === T_GOTO_LABEL
156 $stringTokens = token_get_all(sprintf('<?php %s;?>', $content));157 foreach ($stringTokens as $stringPtr => $stringToken) {164 $varContent = '$'.$stringTokens[($stringPtr + 1)][1];
104 if (isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$prev]['code']]) === true105 && isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$next]['code']]) === true
67 if (isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$i]['code']]) === true) {103 … if (isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$i]['code']]) === true) {
94 $stringTokens = token_get_all('<?php '.$workingString);95 foreach ($stringTokens as $token) {
242 protected $stringTokens = array( variable in PHP_CodeSniffer_Tokenizers_JS361 if ($inComment === '' && isset($this->stringTokens[$char]) === true) {
666 public static $stringTokens = array( variable in PHP_CodeSniffer_Tokens
421 if (isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$i]['code']]) === true
802 if (isset(PHP_CodeSniffer_Tokens::$stringTokens[$tokens[$i]['code']]) === true) {