Minor PR fixes

This commit is contained in:
Roland Franssen 2017-03-22 22:04:16 +01:00 committed by GitHub
parent 59dd7521a7
commit 036b0414d6

View File

@ -47,10 +47,6 @@ class AboutCommand extends ContainerAwareCommand
/** @var $kernel KernelInterface */
$kernel = $this->getContainer()->get('kernel');
$baseDir = realpath($kernel->getRootDir().DIRECTORY_SEPARATOR.'..');
$bundles = array_map(function ($bundle) use ($baseDir) {
return $bundle->getName();
}, $kernel->getBundles());
sort($bundles);
$io->table(array(), array(
array('<info>Symfony</>'),