From ca558369fc0feb4951140c7d18facf43150c5b33 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 13 May 2012 11:01:10 +0200 Subject: [PATCH] Fix bug in ValidateCommand --- src/Composer/Command/ValidateCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, );