Sfoglia il codice sorgente

Same but for Problem.php

Fred Emmott 6 anni fa
parent
commit
41c7f4d2bf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/DependencyResolver/Problem.php

+ 1 - 1
src/Composer/DependencyResolver/Problem.php

@@ -106,7 +106,7 @@ class Problem
 
                     $msg = "\n    - This package requires ".$job['packageName'].$this->constraintToText($job['constraint']).' but ';
 
-                    if (defined('HHVM_VERSION')) {
+                    if (defined('HHVM_VERSION') || count($available)) {
                         return $msg . 'your HHVM version does not satisfy that requirement.';
                     }