From 95bc0fb456d1b29121fa79860451639e9a8eaa8c Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Mon, 20 Oct 2014 18:49:54 +0200 Subject: [PATCH] #1120 - using the `Symfony\Component\Console\Helper\TableHelper` for `symfony/symfony:~2.3` compatibility (Instead of `Symfony\Component\Console\Helper\Table`) --- .../ORM/Tools/Console/Command/MappingDescribeCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php index ab7ea5577..47a00b996 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php @@ -22,7 +22,7 @@ namespace Doctrine\ORM\Tools\Console\Command; use Doctrine\Common\Persistence\Mapping\MappingException; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Console\Command\Command; -use Symfony\Component\Console\Helper\Table; +use Symfony\Component\Console\Helper\TableHelper; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; @@ -79,7 +79,7 @@ EOT */ private function displayEntity($entityName, EntityManagerInterface $entityManager, OutputInterface $output) { - $table = new Table($output); + $table = new TableHelper(); $table->setHeaders(array('Field', 'Value')); @@ -126,7 +126,7 @@ EOT ) ); - $table->render(); + $table->render($output); } /**