Parcourir la source

Fix array syntax

Jordi Boggiano il y a 9 ans
Parent
commit
f4bcf7590b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Composer/Command/DiagnoseCommand.php

+ 1 - 1
src/Composer/Command/DiagnoseCommand.php

@@ -334,7 +334,7 @@ EOT
     private function checkPubKeys($config)
     {
         $home = $config->get('home');
-        $errors = [];
+        $errors = array();
         $io = $this->getIO();
 
         if (file_exists($home.'/keys.tags.pub') && file_exists($home.'/keys.dev.pub')) {