1
0
Fork 0

Fix build, update deps

pull/11652/head
Jordi Boggiano 2023-09-13 18:17:28 +02:00
parent e2f5afd4cd
commit 3bc72f75cb
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 12 additions and 12 deletions

22
composer.lock generated
View File

@ -877,16 +877,16 @@
}, },
{ {
"name": "seld/signal-handler", "name": "seld/signal-handler",
"version": "2.0.1", "version": "2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/signal-handler.git", "url": "https://github.com/Seldaek/signal-handler.git",
"reference": "f69d119511dc0360440cdbdaa71829c149b7be75" "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98",
"reference": "f69d119511dc0360440cdbdaa71829c149b7be75", "reference": "04a6112e883ad76c0ada8e4a9f7520bbfdb6bb98",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -932,9 +932,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/signal-handler/issues", "issues": "https://github.com/Seldaek/signal-handler/issues",
"source": "https://github.com/Seldaek/signal-handler/tree/2.0.1" "source": "https://github.com/Seldaek/signal-handler/tree/2.0.2"
}, },
"time": "2022-07-20T18:31:45+00:00" "time": "2023-09-03T09:24:00+00:00"
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
@ -2035,16 +2035,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "phpstan/phpstan", "name": "phpstan/phpstan",
"version": "1.10.32", "version": "1.10.34",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpstan/phpstan.git", "url": "https://github.com/phpstan/phpstan.git",
"reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44" "reference": "7f806b6f1403e6914c778140e2ba07c293cb4901"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/c47e47d3ab03137c0e121e77c4d2cb58672f6d44", "url": "https://api.github.com/repos/phpstan/phpstan/zipball/7f806b6f1403e6914c778140e2ba07c293cb4901",
"reference": "c47e47d3ab03137c0e121e77c4d2cb58672f6d44", "reference": "7f806b6f1403e6914c778140e2ba07c293cb4901",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2093,7 +2093,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-08-24T21:54:50+00:00" "time": "2023-09-13T09:49:47+00:00"
}, },
{ {
"name": "phpstan/phpstan-deprecation-rules", "name": "phpstan/phpstan-deprecation-rules",

View File

@ -349,7 +349,7 @@ class CurlDownloader
(!isset($job['options']['http']['method']) || $job['options']['http']['method'] === 'GET') (!isset($job['options']['http']['method']) || $job['options']['http']['method'] === 'GET')
&& ( && (
in_array($errno, [7 /* CURLE_COULDNT_CONNECT */, 16 /* CURLE_HTTP2 */, 92 /* CURLE_HTTP2_STREAM */, 6 /* CURLE_COULDNT_RESOLVE_HOST */], true) in_array($errno, [7 /* CURLE_COULDNT_CONNECT */, 16 /* CURLE_HTTP2 */, 92 /* CURLE_HTTP2_STREAM */, 6 /* CURLE_COULDNT_RESOLVE_HOST */], true)
|| (in_array($errno, [56 /* CURLE_RECV_ERROR */, 35 /* CURLE_SSL_CONNECT_ERROR */], true) && str_contains($error, 'Connection reset by peer')) || (in_array($errno, [56 /* CURLE_RECV_ERROR */, 35 /* CURLE_SSL_CONNECT_ERROR */], true) && str_contains((string) $error, 'Connection reset by peer'))
) && $job['attributes']['retries'] < $this->maxRetries ) && $job['attributes']['retries'] < $this->maxRetries
) { ) {
$this->io->writeError('Retrying ('.($job['attributes']['retries'] + 1).') ' . Url::sanitize($job['url']) . ' due to curl error '. $errno, true, IOInterface::DEBUG); $this->io->writeError('Retrying ('.($job['attributes']['retries'] + 1).') ' . Url::sanitize($job['url']) . ' due to curl error '. $errno, true, IOInterface::DEBUG);