From 7ae0dd2a2a81f26706e99e23b0c74b7a57fdb06d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 10 Mar 2013 13:44:54 +0100 Subject: [PATCH] Always install dev requirements when using the require command, fixes #1676 --- src/Composer/Command/RequireCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index 93304479b..d88a9d9b1 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -107,7 +107,7 @@ EOT ->setVerbose($input->getOption('verbose')) ->setPreferSource($input->getOption('prefer-source')) ->setPreferDist($input->getOption('prefer-dist')) - ->setDevMode($input->getOption('dev')) + ->setDevMode(true) ->setUpdate(true) ->setUpdateWhitelist(array_keys($requirements)); ;