1
0
mirror of synced 2024-12-15 15:46:02 +03:00

[Tools] removed unused local variable $cm in InfoCommand class.

This commit is contained in:
Hugo Hamon 2012-01-12 20:00:19 +01:00 committed by Benjamin Eberlei
parent 5a1c1e55ef
commit aca1470e6b

View File

@ -68,7 +68,7 @@ EOT
foreach ($entityClassNames as $entityClassName) { foreach ($entityClassNames as $entityClassName) {
try { try {
$cm = $entityManager->getClassMetadata($entityClassName); $entityManager->getClassMetadata($entityClassName);
$output->writeln(sprintf("<info>[OK]</info> %s", $entityClassName)); $output->writeln(sprintf("<info>[OK]</info> %s", $entityClassName));
} catch (MappingException $e) { } catch (MappingException $e) {
$output->writeln("<error>[FAIL]</error> ".$entityClassName); $output->writeln("<error>[FAIL]</error> ".$entityClassName);