diff --git a/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php index 771fdffac..ab7ea5577 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/MappingDescribeCommand.php @@ -54,7 +54,7 @@ Or: <info>%command.full_name%</info> MyEntity EOT - ); + ); } /** @@ -79,7 +79,6 @@ EOT */ private function displayEntity($entityName, EntityManagerInterface $entityManager, OutputInterface $output) { - $table = new Table($output); $table->setHeaders(array('Field', 'Value')); @@ -177,7 +176,7 @@ EOT } ); - if (! $matches) { + if ( ! $matches) { throw new \InvalidArgumentException(sprintf( 'Could not find any mapped Entity classes matching "%s"', $entityName diff --git a/tests/Doctrine/Tests/ORM/Tools/Console/Command/InfoCommandTest.php b/tests/Doctrine/Tests/ORM/Tools/Console/Command/InfoCommandTest.php index 4eafc0f27..5594299ac 100644 --- a/tests/Doctrine/Tests/ORM/Tools/Console/Command/InfoCommandTest.php +++ b/tests/Doctrine/Tests/ORM/Tools/Console/Command/InfoCommandTest.php @@ -32,7 +32,7 @@ class InfoCommandTest extends OrmFunctionalTestCase parent::setUp(); $this->application = new Application(); - $command = new InfoCommand(); + $command = new InfoCommand(); $this->application->setHelperSet(new HelperSet(array( 'em' => new EntityManagerHelper($this->_em)