| @@ 215-223 (lines=9) @@ | ||
| 212 | ||
| 213 | $this->enabled = false; |
|
| 214 | ||
| 215 | if ($this->_numFixes > 0) { |
|
| 216 | if (PHP_CODESNIFFER_VERBOSITY > 1) { |
|
| 217 | @ob_end_clean(); |
|
| 218 | echo "\t*** Reached maximum number of loops with $this->_numFixes violations left unfixed ***".PHP_EOL; |
|
| 219 | ob_start(); |
|
| 220 | } |
|
| 221 | ||
| 222 | return false; |
|
| 223 | } |
|
| 224 | ||
| 225 | return true; |
|
| 226 | ||
| @@ 418-423 (lines=6) @@ | ||
| 415 | echo "\t=> Changeset failed to apply".PHP_EOL; |
|
| 416 | ob_start(); |
|
| 417 | } |
|
| 418 | } else if (PHP_CODESNIFFER_VERBOSITY > 1) { |
|
| 419 | $fixes = count($this->_changeset); |
|
| 420 | @ob_end_clean(); |
|
| 421 | echo "\t=> Changeset ended: $fixes changes applied".PHP_EOL; |
|
| 422 | ob_start(); |
|
| 423 | } |
|
| 424 | ||
| 425 | $this->_changeset = array(); |
|
| 426 | ||