Sfoglia il codice sorgente

Increasing version number to include 5.3.3 which also has an issue with SplFixedArray

Justin Rainbow 13 anni fa
parent
commit
8e64229461
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/DependencyResolver/Solver.php

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

@@ -937,7 +937,7 @@ class Solver
             $this->installedMap[$package->getId()] = $package;
             $this->installedMap[$package->getId()] = $package;
         }
         }
 
 
-        if (version_compare(PHP_VERSION, '5.3.2', '>')) {
+        if (version_compare(PHP_VERSION, '5.3.3', '>')) {
             $this->decisionMap = new \SplFixedArray($this->pool->getMaxId() + 1);
             $this->decisionMap = new \SplFixedArray($this->pool->getMaxId() + 1);
         } else {
         } else {
             $this->decisionMap = array_fill(0, $this->pool->getMaxId() + 1, 0);
             $this->decisionMap = array_fill(0, $this->pool->getMaxId() + 1, 0);