diff --git a/src/Composer/Command/ValidateCommand.php b/src/Composer/Command/ValidateCommand.php index 10975afc8..623304bfa 100644 --- a/src/Composer/Command/ValidateCommand.php +++ b/src/Composer/Command/ValidateCommand.php @@ -125,8 +125,7 @@ EOT } $messages = array( - 'error' => $errors, - 'error' => $publishErrors, + 'error' => array_merge($errors, $publishErrors), 'warning' => $warnings, );