Merge branch '2.4'
commit
93bfe73b52
|
@ -65,7 +65,7 @@ class ValidatingArrayLoader implements LoaderInterface
|
|||
$this->config = $config;
|
||||
|
||||
$this->validateString('name', true);
|
||||
if ($err = self::hasPackageNamingError($config['name'])) {
|
||||
if (isset($config['name']) && ($err = self::hasPackageNamingError($config['name']))) {
|
||||
$this->errors[] = 'name : '.$err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue