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 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);