Removed blank line in missing extensions hint when having no php.ini loaded file (#10839)
parent
b025971bb8
commit
567423e9f7
|
@ -113,10 +113,14 @@ class SolverProblemsException extends \RuntimeException
|
|||
{
|
||||
$paths = IniHelper::getAll();
|
||||
|
||||
if (count($paths) === 1 && empty($paths[0])) {
|
||||
if ('' === $paths[0]) {
|
||||
if (count($paths) === 1) {
|
||||
return '';
|
||||
}
|
||||
|
||||
array_shift($paths);
|
||||
}
|
||||
|
||||
$ignoreExtensionsArguments = implode(" ", array_map(function ($extension) {
|
||||
return "--ignore-platform-req=$extension";
|
||||
}, $missingExtensions));
|
||||
|
|
Loading…
Reference in New Issue