Skip to content

Commit 7dc0d54

Browse files
authored
Fix extra newline in debug output (#215)
1 parent 5f7d226 commit 7dc0d54

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/Debug/DebugUsagePrinter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ private function printMixedEverythingUsages(Output $output, array $fullyMixedUsa
156156
$this->getExampleCaller([$usages]),
157157
),
158158
);
159-
160-
$output->writeLineFormatted('');
161159
}
162160

163161
$output->writeLineFormatted('');

tests/Rule/DeadCodeRuleTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ public function testDiagnoseFullyMixedCalls(): void
255255
<fg=red>Found 1 UNKNOWN call over UNKNOWN type!!</>
256256
$ec • method call in <fg=white>data/mixed-member/full-mixed-method.php:12</>
257257
258-
259258
Such usages basically break whole dead code analysis, because any method on any class can be called there!
260259
All those usages were ignored!
261260
@@ -278,7 +277,6 @@ public function testDiagnoseFullyMixedFetches(): void
278277
<fg=red>Found 1 UNKNOWN fetch over UNKNOWN type!!</>
279278
$ec • constant fetch in <fg=white>data/mixed-member/full-mixed-const.php:12</>
280279
281-
282280
Such usages basically break whole dead code analysis, because any constant on any class can be fetched there!
283281
All those usages were ignored!
284282

0 commit comments

Comments
 (0)