Skip to content

Commit a77e4d0

Browse files
committed
Use MarkdownTable in Reporter
1 parent 5603b65 commit a77e4d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PHPSemVerChecker/Reporter/Reporter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace PHPSemVerChecker\Reporter;
44

5+
use PHPSemVerChecker\Console\MarkdownTable;
56
use PHPSemVerChecker\Operation\Operation;
67
use PHPSemVerChecker\Report\Report;
78
use PHPSemVerChecker\SemanticVersioning\Level;
8-
use Symfony\Component\Console\Helper\Table;
99
use Symfony\Component\Console\Output\OutputInterface;
1010

1111
class Reporter {
@@ -72,7 +72,7 @@ protected function outputReport(OutputInterface $output, Report $report, $contex
7272
*/
7373
protected function outputTable(OutputInterface $output, Report $report, $context)
7474
{
75-
$table = new Table($output);
75+
$table = new MarkdownTable($output);
7676
$table->setHeaders(['Level', 'Location', 'Target', 'Reason', 'Code']);
7777
foreach (Level::asList('desc') as $level) {
7878
$reportForLevel = $report[$context][$level];

0 commit comments

Comments
 (0)