| @@ 557-566 (lines=10) @@ | ||
| 554 | $this->_tokens[$stackPtr] = $content; |
|
| 555 | $this->_numFixes++; |
|
| 556 | ||
| 557 | if (PHP_CodeSniffer_VERBOSITY > 1) { |
|
| 558 | $indent = "\t"; |
|
| 559 | if (empty($this->_changeset) === false) { |
|
| 560 | $indent .= "\tA: "; |
|
| 561 | } |
|
| 562 | ||
| 563 | @ob_end_clean(); |
|
| 564 | echo "$indent$sniff (line $line) replaced token $stackPtr ($type) \"$oldContent\" => \"$newContent\"".PHP_EOL; |
|
| 565 | ob_start(); |
|
| 566 | } |
|
| 567 | ||
| 568 | return true; |
|
| 569 | ||
| @@ 612-621 (lines=10) @@ | ||
| 609 | unset($this->_fixedTokens[$stackPtr]); |
|
| 610 | $this->_numFixes--; |
|
| 611 | ||
| 612 | if (PHP_CodeSniffer_VERBOSITY > 1) { |
|
| 613 | $indent = "\t"; |
|
| 614 | if (empty($this->_changeset) === false) { |
|
| 615 | $indent .= "\tR: "; |
|
| 616 | } |
|
| 617 | ||
| 618 | @ob_end_clean(); |
|
| 619 | echo "$indent$sniff (line $line) reverted token $stackPtr ($type) \"$oldContent\" => \"$newContent\"".PHP_EOL; |
|
| 620 | ob_start(); |
|
| 621 | } |
|
| 622 | ||
| 623 | return true; |
|
| 624 | ||