Skip to content

Commit 825b4ce

Browse files
committed
Merge pull request googleapis#344 from ianbarber/master
Fix test and bump to 1.1.0
2 parents 6e75fbb + e23a725 commit 825b4ce

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Google/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
class Google_Client
2828
{
29-
const LIBVER = "1.0.6-beta";
29+
const LIBVER = "1.1.0-beta";
3030
const USER_AGENT_SUFFIX = "google-api-php-client/";
3131
/**
3232
* @var Google_Auth_Abstract $auth

tests/general/IoTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,11 @@ public function authCache($io, $client)
213213

214214
public function responseChecker($io)
215215
{
216-
$curlVer = curl_version();
217-
$hasQuirk = $curlVer['version_number'] < Google_IO_Curl::NO_QUIRK_VERSION;
216+
$hasQuirk = false;
217+
if (function_exists('curl_version')) {
218+
$curlVer = curl_version();
219+
$hasQuirk = $curlVer['version_number'] < Google_IO_Curl::NO_QUIRK_VERSION;
220+
}
218221

219222
$rawHeaders = "HTTP/1.1 200 OK\r\n"
220223
. "Expires: Sun, 22 Jan 2012 09:00:56 GMT\r\n"

0 commit comments

Comments
 (0)