Always read out warnings from the ValidatingArrayLoader
parent
334dcb0c6a
commit
25554e08fe
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue