From 8d92048c8c6a1fe19484fd91631e716aa002f194 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 24 Oct 2019 15:20:14 +0200 Subject: [PATCH] Update safeguard code, fixes #8383 --- src/Composer/DependencyResolver/Decisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/DependencyResolver/Decisions.php b/src/Composer/DependencyResolver/Decisions.php index 86b62c3d3..abd1a110b 100644 --- a/src/Composer/DependencyResolver/Decisions.php +++ b/src/Composer/DependencyResolver/Decisions.php @@ -183,7 +183,7 @@ class Decisions implements \Iterator, \Countable $previousDecision = isset($this->decisionMap[$packageId]) ? $this->decisionMap[$packageId] : null; if ($previousDecision != 0) { - $literalString = $this->pool->literalToString($literal); + $literalString = $this->pool->literalToPrettyString($literal, []); $package = $this->pool->literalToPackage($literal); throw new SolverBugException( "Trying to decide $literalString on level $level, even though $package was previously decided as ".(int) $previousDecision."."