Browse Source

Fix platform dev reqs being required even in --no-dev installs

Jordi Boggiano 9 years ago
parent
commit
8f0324f51e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Installer.php

+ 1 - 1
src/Composer/Installer.php

@@ -440,7 +440,7 @@ class Installer
                 $request->install($package->getName(), $constraint);
             }
 
-            foreach ($this->locker->getPlatformRequirements(true) as $link) {
+            foreach ($this->locker->getPlatformRequirements($this->devMode) as $link) {
                 $request->install($link->getTarget(), $link->getConstraint());
             }
         }