Lines Matching refs:i
119 for ($i = $nextLineToken; $i <= $nextContent; $i++) {
120 if ($tokens[$i]['line'] === $tokens[$nextContent]['line']) {
121 … $phpcsFile->fixer->addContentBefore($i, str_repeat($phpcsFile->eolChar, $this->spacing));
125 $phpcsFile->fixer->replaceToken($i, '');
138 for ($i = $stackPtr; $i > 0; $i--) {
139 if (strpos($tokens[$i]['content'], $phpcsFile->eolChar) === false) {
142 $prevLineToken = $i;
173 $i = ($stackPtr - 1);
175 while ($currentLine !== $prevLine && $currentLine > 1 && $i > 0) {
176 if (isset($tokens[$i]['scope_condition']) === true) {
177 $scopeCondition = $tokens[$i]['scope_condition'];
182 } else if ($tokens[$i]['code'] === T_FUNCTION) {
187 $currentLine = $tokens[$i]['line'];
192 … if ($tokens[($i - 1)]['line'] < $currentLine && $tokens[($i + 1)]['line'] > $currentLine) {
194 if ($tokens[$i]['code'] === T_WHITESPACE) {
199 $i--;
232 for ($i = $nextSpace; $i < ($nextContent - 1); $i++) {
233 $phpcsFile->fixer->replaceToken($i, '');
236 … $phpcsFile->fixer->replaceToken($i, str_repeat($phpcsFile->eolChar, $this->spacing));