Skip to content

Commit aee05a4

Browse files
committed
build(phar): regenerate updater & vendor
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 459b48e commit aee05a4

15 files changed

Lines changed: 35 additions & 208 deletions

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ private function downloadArchive(string $fromUrl, string $toLocation): bool {
784784
}
785785

786786
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
787-
$isFileUrl = str_starts_with($fromUrl, 'file://');
787+
$isFileUrl = parse_url($fromUrl, PHP_URL_SCHEME) === 'file';
788788
if (!$isFileUrl && $httpCode !== 200 && $httpCode !== 206) {
789789
fclose($fp);
790790
unlink($toLocation);

updater.phar

84 Bytes
Binary file not shown.

vendor/bamarni/composer-bin-plugin/.github/workflows/phpstan.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

vendor/bamarni/composer-bin-plugin/.github/workflows/tests.yaml

Lines changed: 0 additions & 80 deletions
This file was deleted.

vendor/bamarni/composer-bin-plugin/.makefile/touch.sh

Lines changed: 0 additions & 61 deletions
This file was deleted.

vendor/bamarni/composer-bin-plugin/.phive/phars.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

vendor/bamarni/composer-bin-plugin/composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
},
1818
"require-dev": {
1919
"ext-json": "*",
20-
"composer/composer": "^2.0",
20+
"composer/composer": "^2.2.26",
2121
"phpstan/extension-installer": "^1.1",
22-
"phpstan/phpstan": "^1.8",
23-
"phpstan/phpstan-phpunit": "^1.1",
24-
"phpunit/phpunit": "^8.5 || ^9.5",
22+
"phpstan/phpstan": "^1.8 || ^2.0",
23+
"phpstan/phpstan-phpunit": "^1.1 || ^2.0",
24+
"phpunit/phpunit": "^8.5 || ^9.6 || ^10.0",
2525
"symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
2626
"symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0",
2727
"symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0"
@@ -38,9 +38,9 @@
3838
},
3939
"config": {
4040
"allow-plugins": {
41-
"phpstan/extension-installer": true,
4241
"ergebnis/composer-normalize": true,
43-
"infection/extension-installer": true
42+
"infection/extension-installer": true,
43+
"phpstan/extension-installer": true
4444
},
4545
"sort-packages": true
4646
},

vendor/bamarni/composer-bin-plugin/src/BamarniBinPlugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Symfony\Component\Console\Input\InputInterface;
2525
use Symfony\Component\Console\Output\OutputInterface;
2626
use Throwable;
27+
2728
use function count;
2829
use function in_array;
2930
use function sprintf;

vendor/bamarni/composer-bin-plugin/src/Command/BinCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Symfony\Component\Console\Input\InputInterface;
2020
use Symfony\Component\Console\Output\OutputInterface;
2121
use Throwable;
22+
2223
use function chdir;
2324
use function count;
2425
use function file_exists;
@@ -30,6 +31,7 @@
3031
use function mkdir;
3132
use function putenv;
3233
use function sprintf;
34+
3335
use const GLOB_ONLYDIR;
3436

3537
/**
@@ -96,6 +98,7 @@ public function isProxyCommand(): bool
9698
public function execute(InputInterface $input, OutputInterface $output): int
9799
{
98100
// Switch to requireComposer() once Composer 2.3 is set as the minimum
101+
// @phpstan-ignore function.alreadyNarrowedType
99102
$composer = method_exists($this, 'requireComposer')
100103
? $this->requireComposer()
101104
: $this->getComposer();

vendor/bamarni/composer-bin-plugin/src/Command/CouldNotCreateNamespaceDir.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Bamarni\Composer\Bin\Command;
66

77
use RuntimeException;
8+
89
use function sprintf;
910

1011
final class CouldNotCreateNamespaceDir extends RuntimeException

0 commit comments

Comments
 (0)