diff --git a/src/PHPSemVerChecker/Reporter/Reporter.php b/src/PHPSemVerChecker/Reporter/Reporter.php index 0c216b2..a985f0f 100644 --- a/src/PHPSemVerChecker/Reporter/Reporter.php +++ b/src/PHPSemVerChecker/Reporter/Reporter.php @@ -2,10 +2,10 @@ namespace PHPSemVerChecker\Reporter; +use PHPSemVerChecker\Console\MarkdownTable; use PHPSemVerChecker\Operation\Operation; use PHPSemVerChecker\Report\Report; use PHPSemVerChecker\SemanticVersioning\Level; -use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Output\OutputInterface; class Reporter { @@ -72,7 +72,7 @@ protected function outputReport(OutputInterface $output, Report $report, $contex */ protected function outputTable(OutputInterface $output, Report $report, $context) { - $table = new Table($output); + $table = new MarkdownTable($output); $table->setHeaders(['Level', 'Location', 'Target', 'Reason', 'Code']); foreach (Level::asList('desc') as $level) { $reportForLevel = $report[$context][$level];