From fecd1d209070055eab7c699f9bd524fdd2d1467d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 9 Dec 2025 13:34:43 +0100 Subject: [PATCH] . --- composer.json | 2 +- src/HTTP.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.5