Skip to content

Commit b6d6556

Browse files
committed
Merge branch 'feature/improve-debug-output' of https://github.com/jrfnl/PHP_CodeSniffer
2 parents 7e287c6 + 59e949b commit b6d6556

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Fixer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ public function fixFile()
184184
}
185185

186186
echo ']... ';
187+
if (PHP_CODESNIFFER_VERBOSITY > 1) {
188+
echo PHP_EOL;
189+
}
187190
}
188191

189192
if ($this->numFixes === 0 && $this->inConflict === false) {

src/Reports/Cbf.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public function generateFileReport($report, File $phpcsFile, $showSources=false,
4444
ob_end_clean();
4545
$startTime = microtime(true);
4646
echo "\t=> Fixing file: $errors/$errors violations remaining";
47+
if (PHP_CODESNIFFER_VERBOSITY > 1) {
48+
echo PHP_EOL;
49+
}
4750
}
4851

4952
$fixed = $phpcsFile->fixer->fixFile();

0 commit comments

Comments
 (0)