1
0
Fork 0

Merge pull request #4583 from alcohol/show-warning-for-bad-classmap

fixes #4562
pull/4594/head
Jordi Boggiano 2015-11-06 22:33:38 +00:00
commit 649dc78f08
1 changed files with 5 additions and 1 deletions

View File

@ -402,7 +402,11 @@ EOF;
if (isset($autoloads['classmap'])) {
foreach ($autoloads['classmap'] as $dir) {
try {
$loader->addClassMap($this->generateClassMap($dir));
} catch (\RuntimeException $e) {
$this->io->writeError('<warning>'.$e->getMessage().'</warning>');
}
}
}