diff --git a/src/Composer/DependencyResolver/Problem.php b/src/Composer/DependencyResolver/Problem.php index 8c73bd91d..54815995f 100644 --- a/src/Composer/DependencyResolver/Problem.php +++ b/src/Composer/DependencyResolver/Problem.php @@ -224,10 +224,6 @@ class Problem } return 'Installation request for '.$packageName.$this->constraintToText($constraint).' -> satisfiable by '.$this->getPackageList($packages).'.'; - case 'update': - return 'Update request for '.$packageName.$this->constraintToText($constraint).'.'; - case 'remove': - return 'Removal request for '.$packageName.$this->constraintToText($constraint).''; } if (isset($constraint)) { diff --git a/src/Composer/DependencyResolver/Request.php b/src/Composer/DependencyResolver/Request.php index fc4a21070..851407591 100644 --- a/src/Composer/DependencyResolver/Request.php +++ b/src/Composer/DependencyResolver/Request.php @@ -38,11 +38,6 @@ class Request $this->addJob($packageName, 'install', $constraint); } - public function remove($packageName, ConstraintInterface $constraint = null) - { - $this->addJob($packageName, 'remove', $constraint); - } - /** * Mark an existing package as being installed and having to remain installed *