From 80c4381ef39ff7b7e8c90d9989338da4d7a19d2d Mon Sep 17 00:00:00 2001 From: Alex Bowers Date: Mon, 1 Dec 2025 15:39:31 +0000 Subject: [PATCH 1/2] Test against PHP 8.5 --- .github/workflows/php.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e0dce5b..2f476f4 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [8.0, 8.1, 8.2, 8.3, 8.4] + php-version: [8.0, 8.1, 8.2, 8.3, 8.4, 8.5] steps: - uses: actions/checkout@v2 From 5e8b2c773902001bff463bdc3003f5c5c994627b Mon Sep 17 00:00:00 2001 From: Alex Bowers Date: Mon, 1 Dec 2025 15:49:27 +0000 Subject: [PATCH 2/2] Remove deprecated `curl_close` --- lib/HttpClient.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/HttpClient.php b/lib/HttpClient.php index 7ca81f7..5d11ac8 100644 --- a/lib/HttpClient.php +++ b/lib/HttpClient.php @@ -108,9 +108,6 @@ public function sendRequest(string $path, ?string $payload, array $extraHeaders $httpResponse = $this->executePost($ch); $responseCode = $httpResponse->getResponseCode(); - //close connection - curl_close($ch); - if ($shouldVerify && 200 != $responseCode) { // log error $this->handleError($ch, $responseCode);