1
0
Fork 0

Always read out warnings from the ValidatingArrayLoader

pull/1304/head
Jordi Boggiano 2012-11-08 19:56:40 +01:00
parent 334dcb0c6a
commit 25554e08fe
1 changed files with 2 additions and 1 deletions

View File

@ -107,9 +107,10 @@ class ConfigValidator
$loader->load($manifest); $loader->load($manifest);
} catch (InvalidPackageException $e) { } catch (InvalidPackageException $e) {
$errors = array_merge($errors, $e->getErrors()); $errors = array_merge($errors, $e->getErrors());
$warnings = array_merge($warnings, $e->getWarnings());
} }
$warnings = array_merge($warnings, $loader->getWarnings());
return array($errors, $publishErrors, $warnings); return array($errors, $publishErrors, $warnings);
} }
} }