Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,9 @@ private function getDownloadURLs(): array {
if (!$this->isAbleToDecompress($format)) {
continue;
}

// If only one download URL exists, $urls is a string
$urls = (array)$urls;
foreach ($urls as $url) {
if (!is_string($url)) {
continue;
Expand Down
3 changes: 3 additions & 0 deletions lib/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,9 @@ private function getDownloadURLs(): array {
if (!$this->isAbleToDecompress($format)) {
continue;
}

// If only one download URL exists, $urls is a string
$urls = (array)$urls;
foreach ($urls as $url) {
if (!is_string($url)) {
continue;
Expand Down
Binary file modified updater.phar
Binary file not shown.
32 changes: 16 additions & 16 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ComposerStaticInit936ba63ded5d1b8248cdb4d5673af0ea
);

public static $prefixLengthsPsr4 = array (
'S' =>
'S' =>
array (
'Symfony\\Polyfill\\Php80\\' => 23,
'Symfony\\Polyfill\\Php73\\' => 23,
Expand All @@ -30,66 +30,66 @@ class ComposerStaticInit936ba63ded5d1b8248cdb4d5673af0ea
'Symfony\\Component\\String\\' => 25,
'Symfony\\Component\\Console\\' => 26,
),
'P' =>
'P' =>
array (
'Psr\\Container\\' => 14,
),
'N' =>
'N' =>
array (
'NC\\Updater\\' => 11,
),
'B' =>
'B' =>
array (
'Bamarni\\Composer\\Bin\\' => 21,
),
);

public static $prefixDirsPsr4 = array (
'Symfony\\Polyfill\\Php80\\' =>
'Symfony\\Polyfill\\Php80\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
),
'Symfony\\Polyfill\\Php73\\' =>
'Symfony\\Polyfill\\Php73\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-php73',
),
'Symfony\\Polyfill\\Mbstring\\' =>
'Symfony\\Polyfill\\Mbstring\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
),
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
),
'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
'Symfony\\Polyfill\\Intl\\Grapheme\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme',
),
'Symfony\\Polyfill\\Ctype\\' =>
'Symfony\\Polyfill\\Ctype\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
),
'Symfony\\Contracts\\Service\\' =>
'Symfony\\Contracts\\Service\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/service-contracts',
),
'Symfony\\Component\\String\\' =>
'Symfony\\Component\\String\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/string',
),
'Symfony\\Component\\Console\\' =>
'Symfony\\Component\\Console\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/console',
),
'Psr\\Container\\' =>
'Psr\\Container\\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
),
'NC\\Updater\\' =>
'NC\\Updater\\' =>
array (
0 => __DIR__ . '/../..' . '/lib',
),
'Bamarni\\Composer\\Bin\\' =>
'Bamarni\\Composer\\Bin\\' =>
array (
0 => __DIR__ . '/..' . '/bamarni/composer-bin-plugin/src',
),
Expand Down