[Tools] removed unused local variable $cm in InfoCommand class.
This commit is contained in:
parent
5a1c1e55ef
commit
aca1470e6b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user