Skip to content

Commit

Permalink
add release date
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Sep 7, 2024
1 parent 4844675 commit 24b7bd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## XML-RPC for PHP version 4.11 - UNRELEASED
## XML-RPC for PHP version 4.11 - 2024/9/7

* improved: compatibility with not-yet-released PHP version 8.4
* new: added new Client option `Client::OPT_EXTRA_HEADERS`, useful to set custom HTTP headers

* improved: added new option `Client::OPT_EXTRA_HEADERS`, useful to set custom HTTP headers
* improved: compatibility with not-yet-released PHP version 8.4


## XML-RPC for PHP version 4.10.4 - 2024/06/27
Expand Down
22 changes: 11 additions & 11 deletions tests/07ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@ public function set_up()
$this->client = $this->getClient();
}

public function getAvailableUseCurlOptions()
{
$opts = array(\PhpXmlRpc\Client::USE_CURL_NEVER);
if (function_exists('curl_init'))
{
$opts[] = \PhpXmlRpc\Client::USE_CURL_ALWAYS;
}

return array($opts);
}

public function test404()
{
$this->client->path = '/NOTEXIST.php';
Expand Down Expand Up @@ -115,17 +126,6 @@ public function testCustomHeaders($curlOpt)
$this->assertArrayHasKey('X-Pxr-Test', $ro->scalarVal(), "Testing with curl mode: $curlOpt");
}

public function getAvailableUseCurlOptions()
{
$opts = array(\PhpXmlRpc\Client::USE_CURL_NEVER);
if (function_exists('curl_init'))
{
$opts[] = \PhpXmlRpc\Client::USE_CURL_ALWAYS;
}

return array($opts);
}

public function testgetUrl()
{
$m = $this->client->getUrl(PHP_URL_SCHEME);
Expand Down

0 comments on commit 24b7bd4

Please sign in to comment.