Skip to content

Commit 9f4902d

Browse files
committed
Added newline when printing to screen so the output is clean
1 parent edbc2bc commit 9f4902d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CodeSniffer/Reports/Diff.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ public function generate(
139139
$toScreen=true
140140
) {
141141
echo $cachedData;
142+
if ($toScreen === true) {
143+
echo PHP_EOL;
144+
}
142145

143146
}//end generate()
144147

0 commit comments

Comments
 (0)