Преглед изворни кода

Fix bug in ValidateCommand

Jordi Boggiano пре 13 година
родитељ
комит
ca558369fc
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/Composer/Command/ValidateCommand.php

+ 1 - 2
src/Composer/Command/ValidateCommand.php

@@ -125,8 +125,7 @@ EOT
         }
 
         $messages = array(
-            'error' => $errors,
-            'error' => $publishErrors,
+            'error' => array_merge($errors, $publishErrors),
             'warning' => $warnings,
         );