Fixes #10938: Do not display duplicate ignore extension hints
parent
740af2bdb1
commit
8d5bdaf443
|
@ -119,7 +119,7 @@ class SolverProblemsException extends \RuntimeException
|
||||||
|
|
||||||
$ignoreExtensionsArguments = implode(" ", array_map(function ($extension) {
|
$ignoreExtensionsArguments = implode(" ", array_map(function ($extension) {
|
||||||
return "--ignore-platform-req=$extension";
|
return "--ignore-platform-req=$extension";
|
||||||
}, $missingExtensions));
|
}, array_unique($missingExtensions)));
|
||||||
|
|
||||||
$text = "To enable extensions, verify that they are enabled in your .ini files:\n - ";
|
$text = "To enable extensions, verify that they are enabled in your .ini files:\n - ";
|
||||||
$text .= implode("\n - ", $paths);
|
$text .= implode("\n - ", $paths);
|
||||||
|
|
Loading…
Reference in New Issue