Skip to content

Commit 59e949b

Browse files
committed
Fixer/Cbf: add missing new line in level 2 debug output
... to make the output slightly more readable.
1 parent fde816c commit 59e949b

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)