Lines Matching refs:i
92 for ($i = ($stackPtr + 1); $i < $phpcsFile->numTokens; $i++) {
93 if ($tokens[$i]['column'] !== 1 || isset($checkTokens[$tokens[$i]['code']]) === false) {
99 if (isset($tokens[$i]['orig_content']) === true) {
100 $content = $tokens[$i]['orig_content'];
102 $content = $tokens[$i]['content'];
108 …if ($tokens[$i]['code'] === T_INLINE_HTML && preg_match('`^(\s*)(\S.*)`s', $content, $matches) > 0…
128 $phpcsFile->recordMetric($i, 'Line indent', 'tabs');
132 if ($tokens[$i]['code'] === T_DOC_COMMENT_WHITESPACE && $content === ' ') {
147 $phpcsFile->recordMetric($i, 'Line indent', 'spaces');
156 $phpcsFile->recordMetric($i, 'Line indent', 'tabs');
164 $phpcsFile->recordMetric($i, 'Line indent', 'mixed');
169 $fix = $phpcsFile->addFixableError($error, $i, 'SpacesUsed');
174 $phpcsFile->fixer->replaceToken($i, $trimmed.$padding.$nonWhitespace);