Skip to content

Commit

Permalink
Use MarkdownTable in Reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
nochso committed Jan 26, 2016
1 parent 88f8411 commit c2cd0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PHPSemVerChecker/Reporter/Reporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace PHPSemVerChecker\Reporter;

use PHPSemVerChecker\Console\Helper\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 {
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit c2cd0c2

Please sign in to comment.