Deduplicate packages with a similar name/version in the error output
parent
adaa788955
commit
698c642a9f
|
@ -149,11 +149,11 @@ class Problem
|
||||||
|
|
||||||
protected function getPackageList($packages)
|
protected function getPackageList($packages)
|
||||||
{
|
{
|
||||||
return implode(', ', array_map(function ($package) {
|
return implode(', ', array_unique(array_map(function ($package) {
|
||||||
return $package->getPrettyString();
|
return $package->getPrettyString();
|
||||||
},
|
},
|
||||||
$packages
|
$packages
|
||||||
));
|
)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue