Skip to content

Commit ce1ba25

Browse files
chore(autoloader): Dump autoloader
Signed-off-by: nextcloud-command <[email protected]>
1 parent 3686045 commit ce1ba25

File tree

12 files changed

+78
-72
lines changed

12 files changed

+78
-72
lines changed

composer/installed.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,17 +1006,17 @@
10061006
},
10071007
{
10081008
"name": "guzzlehttp/guzzle",
1009-
"version": "7.9.2",
1010-
"version_normalized": "7.9.2.0",
1009+
"version": "7.9.3",
1010+
"version_normalized": "7.9.3.0",
10111011
"source": {
10121012
"type": "git",
10131013
"url": "https://github.com/guzzle/guzzle.git",
1014-
"reference": "d281ed313b989f213357e3be1a179f02196ac99b"
1014+
"reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77"
10151015
},
10161016
"dist": {
10171017
"type": "zip",
1018-
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b",
1019-
"reference": "d281ed313b989f213357e3be1a179f02196ac99b",
1018+
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
1019+
"reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
10201020
"shasum": ""
10211021
},
10221022
"require": {
@@ -1043,7 +1043,7 @@
10431043
"ext-intl": "Required for Internationalized Domain Name (IDN) support",
10441044
"psr/log": "Required for using the Log middleware"
10451045
},
1046-
"time": "2024-07-24T11:22:20+00:00",
1046+
"time": "2025-03-27T13:37:11+00:00",
10471047
"type": "library",
10481048
"extra": {
10491049
"bamarni-bin": {
@@ -1115,7 +1115,7 @@
11151115
],
11161116
"support": {
11171117
"issues": "https://github.com/guzzle/guzzle/issues",
1118-
"source": "https://github.com/guzzle/guzzle/tree/7.9.2"
1118+
"source": "https://github.com/guzzle/guzzle/tree/7.9.3"
11191119
},
11201120
"funding": [
11211121
{
@@ -1135,27 +1135,27 @@
11351135
},
11361136
{
11371137
"name": "guzzlehttp/promises",
1138-
"version": "2.0.4",
1139-
"version_normalized": "2.0.4.0",
1138+
"version": "2.3.0",
1139+
"version_normalized": "2.3.0.0",
11401140
"source": {
11411141
"type": "git",
11421142
"url": "https://github.com/guzzle/promises.git",
1143-
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455"
1143+
"reference": "481557b130ef3790cf82b713667b43030dc9c957"
11441144
},
11451145
"dist": {
11461146
"type": "zip",
1147-
"url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
1148-
"reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455",
1147+
"url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957",
1148+
"reference": "481557b130ef3790cf82b713667b43030dc9c957",
11491149
"shasum": ""
11501150
},
11511151
"require": {
11521152
"php": "^7.2.5 || ^8.0"
11531153
},
11541154
"require-dev": {
11551155
"bamarni/composer-bin-plugin": "^1.8.2",
1156-
"phpunit/phpunit": "^8.5.39 || ^9.6.20"
1156+
"phpunit/phpunit": "^8.5.44 || ^9.6.25"
11571157
},
1158-
"time": "2024-10-17T10:06:22+00:00",
1158+
"time": "2025-08-22T14:34:08+00:00",
11591159
"type": "library",
11601160
"extra": {
11611161
"bamarni-bin": {
@@ -1201,7 +1201,7 @@
12011201
],
12021202
"support": {
12031203
"issues": "https://github.com/guzzle/promises/issues",
1204-
"source": "https://github.com/guzzle/promises/tree/2.0.4"
1204+
"source": "https://github.com/guzzle/promises/tree/2.3.0"
12051205
},
12061206
"funding": [
12071207
{
@@ -1221,17 +1221,17 @@
12211221
},
12221222
{
12231223
"name": "guzzlehttp/psr7",
1224-
"version": "2.7.0",
1225-
"version_normalized": "2.7.0.0",
1224+
"version": "2.8.0",
1225+
"version_normalized": "2.8.0.0",
12261226
"source": {
12271227
"type": "git",
12281228
"url": "https://github.com/guzzle/psr7.git",
1229-
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201"
1229+
"reference": "21dc724a0583619cd1652f673303492272778051"
12301230
},
12311231
"dist": {
12321232
"type": "zip",
1233-
"url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
1234-
"reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201",
1233+
"url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051",
1234+
"reference": "21dc724a0583619cd1652f673303492272778051",
12351235
"shasum": ""
12361236
},
12371237
"require": {
@@ -1247,12 +1247,12 @@
12471247
"require-dev": {
12481248
"bamarni/composer-bin-plugin": "^1.8.2",
12491249
"http-interop/http-factory-tests": "0.9.0",
1250-
"phpunit/phpunit": "^8.5.39 || ^9.6.20"
1250+
"phpunit/phpunit": "^8.5.44 || ^9.6.25"
12511251
},
12521252
"suggest": {
12531253
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
12541254
},
1255-
"time": "2024-07-18T11:15:46+00:00",
1255+
"time": "2025-08-23T21:21:41+00:00",
12561256
"type": "library",
12571257
"extra": {
12581258
"bamarni-bin": {
@@ -1320,7 +1320,7 @@
13201320
],
13211321
"support": {
13221322
"issues": "https://github.com/guzzle/psr7/issues",
1323-
"source": "https://github.com/guzzle/psr7/tree/2.7.0"
1323+
"source": "https://github.com/guzzle/psr7/tree/2.8.0"
13241324
},
13251325
"funding": [
13261326
{
@@ -4497,31 +4497,31 @@
44974497
},
44984498
{
44994499
"name": "symfony/deprecation-contracts",
4500-
"version": "v3.5.1",
4501-
"version_normalized": "3.5.1.0",
4500+
"version": "v3.6.0",
4501+
"version_normalized": "3.6.0.0",
45024502
"source": {
45034503
"type": "git",
45044504
"url": "https://github.com/symfony/deprecation-contracts.git",
4505-
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
4505+
"reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62"
45064506
},
45074507
"dist": {
45084508
"type": "zip",
4509-
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
4510-
"reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
4509+
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62",
4510+
"reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62",
45114511
"shasum": ""
45124512
},
45134513
"require": {
45144514
"php": ">=8.1"
45154515
},
4516-
"time": "2024-09-25T14:20:29+00:00",
4516+
"time": "2024-09-25T14:21:43+00:00",
45174517
"type": "library",
45184518
"extra": {
45194519
"thanks": {
45204520
"url": "https://github.com/symfony/contracts",
45214521
"name": "symfony/contracts"
45224522
},
45234523
"branch-alias": {
4524-
"dev-main": "3.5-dev"
4524+
"dev-main": "3.6-dev"
45254525
}
45264526
},
45274527
"installation-source": "dist",
@@ -4547,7 +4547,7 @@
45474547
"description": "A generic function and convention to trigger deprecation notices",
45484548
"homepage": "https://symfony.com",
45494549
"support": {
4550-
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
4550+
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0"
45514551
},
45524552
"funding": [
45534553
{

composer/installed.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,27 +137,27 @@
137137
'dev_requirement' => false,
138138
),
139139
'guzzlehttp/guzzle' => array(
140-
'pretty_version' => '7.9.2',
141-
'version' => '7.9.2.0',
142-
'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b',
140+
'pretty_version' => '7.9.3',
141+
'version' => '7.9.3.0',
142+
'reference' => '7b2f29fe81dc4da0ca0ea7d42107a0845946ea77',
143143
'type' => 'library',
144144
'install_path' => __DIR__ . '/../guzzlehttp/guzzle',
145145
'aliases' => array(),
146146
'dev_requirement' => false,
147147
),
148148
'guzzlehttp/promises' => array(
149-
'pretty_version' => '2.0.4',
150-
'version' => '2.0.4.0',
151-
'reference' => 'f9c436286ab2892c7db7be8c8da4ef61ccf7b455',
149+
'pretty_version' => '2.3.0',
150+
'version' => '2.3.0.0',
151+
'reference' => '481557b130ef3790cf82b713667b43030dc9c957',
152152
'type' => 'library',
153153
'install_path' => __DIR__ . '/../guzzlehttp/promises',
154154
'aliases' => array(),
155155
'dev_requirement' => false,
156156
),
157157
'guzzlehttp/psr7' => array(
158-
'pretty_version' => '2.7.0',
159-
'version' => '2.7.0.0',
160-
'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201',
158+
'pretty_version' => '2.8.0',
159+
'version' => '2.8.0.0',
160+
'reference' => '21dc724a0583619cd1652f673303492272778051',
161161
'type' => 'library',
162162
'install_path' => __DIR__ . '/../guzzlehttp/psr7',
163163
'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(),

guzzlehttp/guzzle/src/Cookie/SetCookie.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public static function fromString(string $cookie): self
6262
if (is_numeric($value)) {
6363
$data[$search] = (int) $value;
6464
}
65+
} elseif ($search === 'Secure' || $search === 'Discard' || $search === 'HttpOnly') {
66+
if ($value) {
67+
$data[$search] = true;
68+
}
6569
} else {
6670
$data[$search] = $value;
6771
}

guzzlehttp/guzzle/src/Handler/Proxy.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ class Proxy
1717
* Sends synchronous requests to a specific handler while sending all other
1818
* requests to another handler.
1919
*
20-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
21-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync Handler used for synchronous responses.
20+
* @param callable(RequestInterface, array): PromiseInterface $default Handler used for normal responses
21+
* @param callable(RequestInterface, array): PromiseInterface $sync Handler used for synchronous responses.
2222
*
23-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
23+
* @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
2424
*/
2525
public static function wrapSync(callable $default, callable $sync): callable
2626
{
@@ -37,10 +37,10 @@ public static function wrapSync(callable $default, callable $sync): callable
3737
* performance benefits of curl while still supporting true streaming
3838
* through the StreamHandler.
3939
*
40-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses
41-
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
40+
* @param callable(RequestInterface, array): PromiseInterface $default Handler used for non-streaming responses
41+
* @param callable(RequestInterface, array): PromiseInterface $streaming Handler used for streaming responses
4242
*
43-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
43+
* @return callable(RequestInterface, array): PromiseInterface Returns the composed handler.
4444
*/
4545
public static function wrapStreaming(callable $default, callable $streaming): callable
4646
{

guzzlehttp/guzzle/src/Handler/StreamHandler.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,14 @@ public function __invoke(RequestInterface $request, array $options): PromiseInte
5353
$request = $request->withoutHeader('Expect');
5454

5555
// Append a content-length header if body size is zero to match
56-
// cURL's behavior.
57-
if (0 === $request->getBody()->getSize()) {
56+
// the behavior of `CurlHandler`
57+
if (
58+
(
59+
0 === \strcasecmp('PUT', $request->getMethod())
60+
|| 0 === \strcasecmp('POST', $request->getMethod())
61+
)
62+
&& 0 === $request->getBody()->getSize()
63+
) {
5864
$request = $request->withHeader('Content-Length', '0');
5965
}
6066

guzzlehttp/guzzle/src/Pool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function promise(): PromiseInterface
8686
* @param ClientInterface $client Client used to send the requests
8787
* @param array|\Iterator $requests Requests to send concurrently.
8888
* @param array $options Passes through the options available in
89-
* {@see \GuzzleHttp\Pool::__construct}
89+
* {@see Pool::__construct}
9090
*
9191
* @return array Returns an array containing the response or an exception
9292
* in the same order that the requests were sent.

guzzlehttp/guzzle/src/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static function debugResource($value = null)
7979
*
8080
* The returned handler is not wrapped by any default middlewares.
8181
*
82-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
82+
* @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
8383
*
8484
* @throws \RuntimeException if no viable Handler is available.
8585
*/

guzzlehttp/guzzle/src/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function debug_resource($value = null)
5050
*
5151
* The returned handler is not wrapped by any default middlewares.
5252
*
53-
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the best handler for the given system.
53+
* @return callable(\Psr\Http\Message\RequestInterface, array): Promise\PromiseInterface Returns the best handler for the given system.
5454
*
5555
* @throws \RuntimeException if no viable Handler is available.
5656
*

guzzlehttp/psr7/src/MessageTrait.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,6 @@ private function normalizeHeaderValue($value): array
174174
return $this->trimAndValidateHeaderValues([$value]);
175175
}
176176

177-
if (count($value) === 0) {
178-
throw new \InvalidArgumentException('Header value can not be an empty array.');
179-
}
180-
181177
return $this->trimAndValidateHeaderValues($value);
182178
}
183179

guzzlehttp/psr7/src/UploadedFile.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111

1212
class UploadedFile implements UploadedFileInterface
1313
{
14-
private const ERRORS = [
15-
UPLOAD_ERR_OK,
16-
UPLOAD_ERR_INI_SIZE,
17-
UPLOAD_ERR_FORM_SIZE,
18-
UPLOAD_ERR_PARTIAL,
19-
UPLOAD_ERR_NO_FILE,
20-
UPLOAD_ERR_NO_TMP_DIR,
21-
UPLOAD_ERR_CANT_WRITE,
22-
UPLOAD_ERR_EXTENSION,
14+
private const ERROR_MAP = [
15+
UPLOAD_ERR_OK => 'UPLOAD_ERR_OK',
16+
UPLOAD_ERR_INI_SIZE => 'UPLOAD_ERR_INI_SIZE',
17+
UPLOAD_ERR_FORM_SIZE => 'UPLOAD_ERR_FORM_SIZE',
18+
UPLOAD_ERR_PARTIAL => 'UPLOAD_ERR_PARTIAL',
19+
UPLOAD_ERR_NO_FILE => 'UPLOAD_ERR_NO_FILE',
20+
UPLOAD_ERR_NO_TMP_DIR => 'UPLOAD_ERR_NO_TMP_DIR',
21+
UPLOAD_ERR_CANT_WRITE => 'UPLOAD_ERR_CANT_WRITE',
22+
UPLOAD_ERR_EXTENSION => 'UPLOAD_ERR_EXTENSION',
2323
];
2424

2525
/**
@@ -104,7 +104,7 @@ private function setStreamOrFile($streamOrFile): void
104104
*/
105105
private function setError(int $error): void
106106
{
107-
if (false === in_array($error, UploadedFile::ERRORS, true)) {
107+
if (!isset(UploadedFile::ERROR_MAP[$error])) {
108108
throw new InvalidArgumentException(
109109
'Invalid error status for UploadedFile'
110110
);
@@ -137,7 +137,7 @@ public function isMoved(): bool
137137
private function validateActive(): void
138138
{
139139
if (false === $this->isOk()) {
140-
throw new RuntimeException('Cannot retrieve stream due to upload error');
140+
throw new RuntimeException(\sprintf('Cannot retrieve stream due to upload error (%s)', self::ERROR_MAP[$this->error]));
141141
}
142142

143143
if ($this->isMoved()) {

0 commit comments

Comments
 (0)