mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
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:
commit
70086dcb3b
4 changed files with 417 additions and 380 deletions
BIN
composer.phar
BIN
composer.phar
Binary file not shown.
793
phpBB/composer.lock
generated
793
phpBB/composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -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();
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue