Merge pull request #6388 from marc1706/ticket/16987-master

[ticket/16987] Update composer and dependencies to latest versions - master version
This commit is contained in:
Marc Alexander 2022-04-16 22:20:43 +02:00
commit 70086dcb3b
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
4 changed files with 417 additions and 380 deletions

Binary file not shown.

793
phpBB/composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -319,7 +319,7 @@ class installer
if ($repo_url->getValue($repository) === 'https://repo.packagist.org')
{
$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);
$json = $downloader->get($url)->getBody();

View file

@ -46,7 +46,7 @@ class html_output_formatter extends \Composer\Console\HtmlOutputFormatter
/**
* {@inheritdoc}
*/
public function format($message)
public function format(?string $message): ?string
{
$formatted = parent::format($message);