From 2056c4c7329d06dca7fc893081a5444eb634e4dd Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 29 Oct 2011 19:23:52 +0200 Subject: [PATCH] Allow downgrades and uninstalls in the default policy --- src/Composer/DependencyResolver/DefaultPolicy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/DependencyResolver/DefaultPolicy.php b/src/Composer/DependencyResolver/DefaultPolicy.php index 5eef7fd32..0c5efe963 100644 --- a/src/Composer/DependencyResolver/DefaultPolicy.php +++ b/src/Composer/DependencyResolver/DefaultPolicy.php @@ -23,12 +23,12 @@ class DefaultPolicy implements PolicyInterface { public function allowUninstall() { - return false; + return true; } public function allowDowngrade() { - return false; + return true; } public function versionCompare(PackageInterface $a, PackageInterface $b, $operator)