@@ 299-301 (lines=3) @@ | ||
296 | $tokens = $phpcsFile->getTokens(); |
|
297 | $line = $tokens[$stackPtr]['line']; |
|
298 | ||
299 | for ($i = ($stackPtr - 1); $tokens[$i]['line'] === $line; $i--) { |
|
300 | $phpcsFile->fixer->replaceToken($i, ''); |
|
301 | } |
|
302 | ||
303 | for ($i = $stackPtr; $tokens[$i]['line'] === $line; $i++) { |
|
304 | $phpcsFile->fixer->replaceToken($i, ''); |
|
@@ 303-305 (lines=3) @@ | ||
300 | $phpcsFile->fixer->replaceToken($i, ''); |
|
301 | } |
|
302 | ||
303 | for ($i = $stackPtr; $tokens[$i]['line'] === $line; $i++) { |
|
304 | $phpcsFile->fixer->replaceToken($i, ''); |
|
305 | } |
|
306 | ||
307 | }//end fixerClearLine() |
|
308 |