]> _ Git - cubist_net.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 9 Dec 2025 12:34:43 +0000 (13:34 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 9 Dec 2025 12:34:43 +0000 (13:34 +0100)
composer.json
src/HTTP.php

index 05faa31070d8300b43dda057f8bd09dfd96947db..e04538856a5f546a22346999e3f885f6349f11a7 100644 (file)
@@ -22,7 +22,7 @@
         }
     ],
     "require": {
-        "php": ">=7.4",
+        "php": ">=8.0",
         "ext-ssh2": "*",
         "cubist/util": "dev-master",
         "ext-ftp": "*",
index 6ed1394462153472f5cef1a56db8c95960556451..2d90e2b00d816b210f3df8a75ac090ed702e95eb 100644 (file)
@@ -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];