mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16987] Remove invalid default value for Composer\Config constructor
PHPBB3-16987
This commit is contained in:
parent
3c460a554c
commit
008f766cf4
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class installer
|
||||||
if ($repo_url->getValue($repository) === 'https://repo.packagist.org')
|
if ($repo_url->getValue($repository) === 'https://repo.packagist.org')
|
||||||
{
|
{
|
||||||
$url = 'https://packagist.org/packages/list.json?type=' . $type;
|
$url = 'https://packagist.org/packages/list.json?type=' . $type;
|
||||||
$composer_config = new \Composer\Config([]);
|
$composer_config = new \Composer\Config();
|
||||||
$downloader = new HttpDownloader($io, $composer_config);
|
$downloader = new HttpDownloader($io, $composer_config);
|
||||||
$json = $downloader->get($url)->getBody();
|
$json = $downloader->get($url)->getBody();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue