From 59acf9d4aafd1fd4e1d869b66c9cafc0fbf1ce8d Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 15 Oct 2020 14:40:27 +0200 Subject: [PATCH] Remove dev hint for 2.0, fixes #8738 --- src/Composer/DependencyResolver/SolverProblemsException.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Composer/DependencyResolver/SolverProblemsException.php b/src/Composer/DependencyResolver/SolverProblemsException.php index 838c86004..ab3e2aa40 100644 --- a/src/Composer/DependencyResolver/SolverProblemsException.php +++ b/src/Composer/DependencyResolver/SolverProblemsException.php @@ -71,12 +71,9 @@ class SolverProblemsException extends \RuntimeException $hints[] = "ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.\nIf you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+."; } - // TODO remove before 2.0 final if (!class_exists('PHPUnit\Framework\TestCase', false)) { if (strpos($text, 'found composer-plugin-api[2.0.0] but it does not match')) { $hints[] = "You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2."; - } else { - $hints[] = "You are using a snapshot build of Composer 2, which may be the cause of the problem. Run `composer self-update --stable` and then try again. In case it solves the problem, please report an issue mentioning Composer 2."; } }