Skip to content

Commit b7db8cc

Browse files
chore(autoloader): Dump autoloader
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 parent 16267fe commit b7db8cc

21 files changed

+159
-231
lines changed

composer/installed.json

Lines changed: 46 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,22 +2622,22 @@
26222622
},
26232623
{
26242624
"name": "php-http/guzzle7-adapter",
2625-
"version": "1.0.0",
2626-
"version_normalized": "1.0.0.0",
2625+
"version": "1.1.0",
2626+
"version_normalized": "1.1.0.0",
26272627
"source": {
26282628
"type": "git",
26292629
"url": "https://github.com/php-http/guzzle7-adapter.git",
2630-
"reference": "fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01"
2630+
"reference": "03a415fde709c2f25539790fecf4d9a31bc3d0eb"
26312631
},
26322632
"dist": {
26332633
"type": "zip",
2634-
"url": "https://api.github.com/repos/php-http/guzzle7-adapter/zipball/fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01",
2635-
"reference": "fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01",
2634+
"url": "https://api.github.com/repos/php-http/guzzle7-adapter/zipball/03a415fde709c2f25539790fecf4d9a31bc3d0eb",
2635+
"reference": "03a415fde709c2f25539790fecf4d9a31bc3d0eb",
26362636
"shasum": ""
26372637
},
26382638
"require": {
26392639
"guzzlehttp/guzzle": "^7.0",
2640-
"php": "^7.2 | ^8.0",
2640+
"php": "^7.3 | ^8.0",
26412641
"php-http/httplug": "^2.0",
26422642
"psr/http-client": "^1.0"
26432643
},
@@ -2648,15 +2648,12 @@
26482648
},
26492649
"require-dev": {
26502650
"php-http/client-integration-tests": "^3.0",
2651+
"php-http/message-factory": "^1.1",
2652+
"phpspec/prophecy-phpunit": "^2.0",
26512653
"phpunit/phpunit": "^8.0|^9.3"
26522654
},
2653-
"time": "2021-03-09T07:35:15+00:00",
2655+
"time": "2024-11-26T11:14:36+00:00",
26542656
"type": "library",
2655-
"extra": {
2656-
"branch-alias": {
2657-
"dev-master": "0.2.x-dev"
2658-
}
2659-
},
26602657
"installation-source": "dist",
26612658
"autoload": {
26622659
"psr-4": {
@@ -2681,42 +2678,37 @@
26812678
],
26822679
"support": {
26832680
"issues": "https://github.com/php-http/guzzle7-adapter/issues",
2684-
"source": "https://github.com/php-http/guzzle7-adapter/tree/1.0.0"
2681+
"source": "https://github.com/php-http/guzzle7-adapter/tree/1.1.0"
26852682
},
26862683
"install-path": "../php-http/guzzle7-adapter"
26872684
},
26882685
{
26892686
"name": "php-http/httplug",
2690-
"version": "2.2.0",
2691-
"version_normalized": "2.2.0.0",
2687+
"version": "2.4.1",
2688+
"version_normalized": "2.4.1.0",
26922689
"source": {
26932690
"type": "git",
26942691
"url": "https://github.com/php-http/httplug.git",
2695-
"reference": "191a0a1b41ed026b717421931f8d3bd2514ffbf9"
2692+
"reference": "5cad731844891a4c282f3f3e1b582c46839d22f4"
26962693
},
26972694
"dist": {
26982695
"type": "zip",
2699-
"url": "https://api.github.com/repos/php-http/httplug/zipball/191a0a1b41ed026b717421931f8d3bd2514ffbf9",
2700-
"reference": "191a0a1b41ed026b717421931f8d3bd2514ffbf9",
2696+
"url": "https://api.github.com/repos/php-http/httplug/zipball/5cad731844891a4c282f3f3e1b582c46839d22f4",
2697+
"reference": "5cad731844891a4c282f3f3e1b582c46839d22f4",
27012698
"shasum": ""
27022699
},
27032700
"require": {
27042701
"php": "^7.1 || ^8.0",
27052702
"php-http/promise": "^1.1",
27062703
"psr/http-client": "^1.0",
2707-
"psr/http-message": "^1.0"
2704+
"psr/http-message": "^1.0 || ^2.0"
27082705
},
27092706
"require-dev": {
2710-
"friends-of-phpspec/phpspec-code-coverage": "^4.1",
2711-
"phpspec/phpspec": "^5.1 || ^6.0"
2707+
"friends-of-phpspec/phpspec-code-coverage": "^4.1 || ^5.0 || ^6.0",
2708+
"phpspec/phpspec": "^5.1 || ^6.0 || ^7.0"
27122709
},
2713-
"time": "2020-07-13T15:43:23+00:00",
2710+
"time": "2024-09-23T11:39:58+00:00",
27142711
"type": "library",
2715-
"extra": {
2716-
"branch-alias": {
2717-
"dev-master": "2.x-dev"
2718-
}
2719-
},
27202712
"installation-source": "dist",
27212713
"autoload": {
27222714
"psr-4": {
@@ -2746,39 +2738,34 @@
27462738
],
27472739
"support": {
27482740
"issues": "https://github.com/php-http/httplug/issues",
2749-
"source": "https://github.com/php-http/httplug/tree/master"
2741+
"source": "https://github.com/php-http/httplug/tree/2.4.1"
27502742
},
27512743
"install-path": "../php-http/httplug"
27522744
},
27532745
{
27542746
"name": "php-http/promise",
2755-
"version": "1.1.0",
2756-
"version_normalized": "1.1.0.0",
2747+
"version": "1.3.1",
2748+
"version_normalized": "1.3.1.0",
27572749
"source": {
27582750
"type": "git",
27592751
"url": "https://github.com/php-http/promise.git",
2760-
"reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88"
2752+
"reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83"
27612753
},
27622754
"dist": {
27632755
"type": "zip",
2764-
"url": "https://api.github.com/repos/php-http/promise/zipball/4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
2765-
"reference": "4c4c1f9b7289a2ec57cde7f1e9762a5789506f88",
2756+
"url": "https://api.github.com/repos/php-http/promise/zipball/fc85b1fba37c169a69a07ef0d5a8075770cc1f83",
2757+
"reference": "fc85b1fba37c169a69a07ef0d5a8075770cc1f83",
27662758
"shasum": ""
27672759
},
27682760
"require": {
27692761
"php": "^7.1 || ^8.0"
27702762
},
27712763
"require-dev": {
2772-
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2",
2773-
"phpspec/phpspec": "^5.1.2 || ^6.2"
2764+
"friends-of-phpspec/phpspec-code-coverage": "^4.3.2 || ^6.3",
2765+
"phpspec/phpspec": "^5.1.2 || ^6.2 || ^7.4"
27742766
},
2775-
"time": "2020-07-07T09:29:14+00:00",
2767+
"time": "2024-03-15T13:55:21+00:00",
27762768
"type": "library",
2777-
"extra": {
2778-
"branch-alias": {
2779-
"dev-master": "1.1-dev"
2780-
}
2781-
},
27822769
"installation-source": "dist",
27832770
"autoload": {
27842771
"psr-4": {
@@ -2806,7 +2793,7 @@
28062793
],
28072794
"support": {
28082795
"issues": "https://github.com/php-http/promise/issues",
2809-
"source": "https://github.com/php-http/promise/tree/1.1.0"
2796+
"source": "https://github.com/php-http/promise/tree/1.3.1"
28102797
},
28112798
"install-path": "../php-http/promise"
28122799
},
@@ -3386,27 +3373,27 @@
33863373
},
33873374
{
33883375
"name": "psr/http-message",
3389-
"version": "1.1",
3390-
"version_normalized": "1.1.0.0",
3376+
"version": "2.0",
3377+
"version_normalized": "2.0.0.0",
33913378
"source": {
33923379
"type": "git",
33933380
"url": "https://github.com/php-fig/http-message.git",
3394-
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba"
3381+
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
33953382
},
33963383
"dist": {
33973384
"type": "zip",
3398-
"url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
3399-
"reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba",
3385+
"url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
3386+
"reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
34003387
"shasum": ""
34013388
},
34023389
"require": {
34033390
"php": "^7.2 || ^8.0"
34043391
},
3405-
"time": "2023-04-04T09:50:52+00:00",
3392+
"time": "2023-04-04T09:54:51+00:00",
34063393
"type": "library",
34073394
"extra": {
34083395
"branch-alias": {
3409-
"dev-master": "1.1.x-dev"
3396+
"dev-master": "2.0.x-dev"
34103397
}
34113398
},
34123399
"installation-source": "dist",
@@ -3422,7 +3409,7 @@
34223409
"authors": [
34233410
{
34243411
"name": "PHP-FIG",
3425-
"homepage": "http://www.php-fig.org/"
3412+
"homepage": "https://www.php-fig.org/"
34263413
}
34273414
],
34283415
"description": "Common interface for HTTP messages",
@@ -3436,7 +3423,7 @@
34363423
"response"
34373424
],
34383425
"support": {
3439-
"source": "https://github.com/php-fig/http-message/tree/1.1"
3426+
"source": "https://github.com/php-fig/http-message/tree/2.0"
34403427
},
34413428
"install-path": "../psr/http-message"
34423429
},
@@ -4513,31 +4500,31 @@
45134500
},
45144501
{
45154502
"name": "symfony/deprecation-contracts",
4516-
"version": "v3.5.1",
4517-
"version_normalized": "3.5.1.0",
4503+
"version": "v3.6.0",
4504+
"version_normalized": "3.6.0.0",
45184505
"source": {
45194506
"type": "git",
45204507
"url": "https://github.com/symfony/deprecation-contracts.git",
4521-
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
4508+
"reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62"
45224509
},
45234510
"dist": {
45244511
"type": "zip",
4525-
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
4526-
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
4512+
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62",
4513+
"reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62",
45274514
"shasum": ""
45284515
},
45294516
"require": {
45304517
"php": ">=8.1"
45314518
},
4532-
"time": "2024-09-25T14:20:29+00:00",
4519+
"time": "2024-09-25T14:21:43+00:00",
45334520
"type": "library",
45344521
"extra": {
45354522
"thanks": {
45364523
"url": "https://github.com/symfony/contracts",
45374524
"name": "symfony/contracts"
45384525
},
45394526
"branch-alias": {
4540-
"dev-main": "3.5-dev"
4527+
"dev-main": "3.6-dev"
45414528
}
45424529
},
45434530
"installation-source": "dist",
@@ -4563,7 +4550,7 @@
45634550
"description": "A generic function and convention to trigger deprecation notices",
45644551
"homepage": "https://symfony.com",
45654552
"support": {
4566-
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
4553+
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0"
45674554
},
45684555
"funding": [
45694556
{

composer/installed.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -365,27 +365,27 @@
365365
),
366366
),
367367
'php-http/guzzle7-adapter' => array(
368-
'pretty_version' => '1.0.0',
369-
'version' => '1.0.0.0',
370-
'reference' => 'fb075a71dbfa4847cf0c2938c4e5a9c478ef8b01',
368+
'pretty_version' => '1.1.0',
369+
'version' => '1.1.0.0',
370+
'reference' => '03a415fde709c2f25539790fecf4d9a31bc3d0eb',
371371
'type' => 'library',
372372
'install_path' => __DIR__ . '/../php-http/guzzle7-adapter',
373373
'aliases' => array(),
374374
'dev_requirement' => false,
375375
),
376376
'php-http/httplug' => array(
377-
'pretty_version' => '2.2.0',
378-
'version' => '2.2.0.0',
379-
'reference' => '191a0a1b41ed026b717421931f8d3bd2514ffbf9',
377+
'pretty_version' => '2.4.1',
378+
'version' => '2.4.1.0',
379+
'reference' => '5cad731844891a4c282f3f3e1b582c46839d22f4',
380380
'type' => 'library',
381381
'install_path' => __DIR__ . '/../php-http/httplug',
382382
'aliases' => array(),
383383
'dev_requirement' => false,
384384
),
385385
'php-http/promise' => array(
386-
'pretty_version' => '1.1.0',
387-
'version' => '1.1.0.0',
388-
'reference' => '4c4c1f9b7289a2ec57cde7f1e9762a5789506f88',
386+
'pretty_version' => '1.3.1',
387+
'version' => '1.3.1.0',
388+
'reference' => 'fc85b1fba37c169a69a07ef0d5a8075770cc1f83',
389389
'type' => 'library',
390390
'install_path' => __DIR__ . '/../php-http/promise',
391391
'aliases' => array(),
@@ -497,9 +497,9 @@
497497
),
498498
),
499499
'psr/http-message' => array(
500-
'pretty_version' => '1.1',
501-
'version' => '1.1.0.0',
502-
'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba',
500+
'pretty_version' => '2.0',
501+
'version' => '2.0.0.0',
502+
'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71',
503503
'type' => 'library',
504504
'install_path' => __DIR__ . '/../psr/http-message',
505505
'aliases' => array(),
@@ -662,9 +662,9 @@
662662
'dev_requirement' => false,
663663
),
664664
'symfony/deprecation-contracts' => array(
665-
'pretty_version' => 'v3.5.1',
666-
'version' => '3.5.1.0',
667-
'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',
665+
'pretty_version' => 'v3.6.0',
666+
'version' => '3.6.0.0',
667+
'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62',
668668
'type' => 'library',
669669
'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
670670
'aliases' => array(),

php-http/guzzle7-adapter/src/Client.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,11 @@ public static function createWithConfig(array $config): Client
4343
return new self(self::buildClient($config));
4444
}
4545

46-
/**
47-
* {@inheritdoc}
48-
*/
4946
public function sendRequest(RequestInterface $request): ResponseInterface
5047
{
5148
return $this->sendAsyncRequest($request)->wait();
5249
}
5350

54-
/**
55-
* {@inheritdoc}
56-
*/
5751
public function sendAsyncRequest(RequestInterface $request)
5852
{
5953
$promise = $this->guzzle->sendAsync($request);

php-http/guzzle7-adapter/src/Promise.php

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ public function __construct(PromiseInterface $promise, RequestInterface $request
5353
$this->state = self::FULFILLED;
5454

5555
return $response;
56-
}, function ($reason) use ($request) {
56+
}, function ($reason) {
5757
$this->state = self::REJECTED;
5858

5959
if ($reason instanceof HttplugException) {
6060
$this->exception = $reason;
6161
} elseif ($reason instanceof GuzzleExceptions\GuzzleException) {
62-
$this->exception = $this->handleException($reason, $request);
62+
$this->exception = $this->handleException($reason);
6363
} elseif ($reason instanceof \Throwable) {
6464
$this->exception = new HttplugException\TransferException('Invalid exception returned from Guzzle7', 0, $reason);
6565
} else {
@@ -70,31 +70,22 @@ public function __construct(PromiseInterface $promise, RequestInterface $request
7070
});
7171
}
7272

73-
/**
74-
* {@inheritdoc}
75-
*/
76-
public function then(callable $onFulfilled = null, callable $onRejected = null)
73+
public function then(?callable $onFulfilled = null, ?callable $onRejected = null)
7774
{
7875
return new static($this->promise->then($onFulfilled, $onRejected), $this->request);
7976
}
8077

81-
/**
82-
* {@inheritdoc}
83-
*/
8478
public function getState()
8579
{
8680
return $this->state;
8781
}
8882

89-
/**
90-
* {@inheritdoc}
91-
*/
9283
public function wait($unwrap = true)
9384
{
9485
$this->promise->wait(false);
9586

9687
if ($unwrap) {
97-
if (self::REJECTED == $this->getState()) {
88+
if (self::REJECTED === $this->getState()) {
9889
throw $this->exception;
9990
}
10091

@@ -107,7 +98,7 @@ public function wait($unwrap = true)
10798
*
10899
* @return HttplugException
109100
*/
110-
private function handleException(GuzzleExceptions\GuzzleException $exception, RequestInterface $request)
101+
private function handleException(GuzzleExceptions\GuzzleException $exception)
111102
{
112103
if ($exception instanceof GuzzleExceptions\ConnectException) {
113104
return new HttplugException\NetworkException($exception->getMessage(), $exception->getRequest(), $exception);

0 commit comments

Comments
 (0)