From: Vincent Vanwaelscappel Date: Tue, 9 Dec 2025 12:34:43 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fecd1d209070055eab7c699f9bd524fdd2d1467d;p=cubist_net.git . --- diff --git a/composer.json b/composer.json index 05faa31..e045388 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ } ], "require": { - "php": ">=7.4", + "php": ">=8.0", "ext-ssh2": "*", "cubist/util": "dev-master", "ext-ftp": "*", diff --git a/src/HTTP.php b/src/HTTP.php index 6ed1394..2d90e2b 100644 --- a/src/HTTP.php +++ b/src/HTTP.php @@ -66,7 +66,7 @@ class HTTP public static function handleException(\Throwable $e): int { $map = ['GuzzleHttp\Exception\ConnectException' => 622, - 'GuzzleHttp\Psr7\Exception\MalformedUriException' => 629]; + 'GuzzleHttp\Psr7\Exception\MalformedUriException' => 600]; $messageMap = ['Undefined array key "solution"' => 603]; $startMap = ['cURL error 60: SSL: no alternative certificate subject name matches target host name' => 695];