Skip to content

Commit 043422b

Browse files
committed
Merge branch 'develop'
2 parents 6699e2d + d03d037 commit 043422b

File tree

7 files changed

+14
-15
lines changed

7 files changed

+14
-15
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "gomoob/php-pushwoosh",
33
"description" : "A PHP Library to easily work with the Pushwoosh REST Web Services.",
4-
"version" : "1.0.6",
4+
"version" : "1.0.7",
55
"license" : "MIT",
66
"type" : "library",
77
"keywords" : [

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gomoob-php-pushwoosh",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"license": "MIT",
55
"repository" : {
66
"type" : "git",

src/main/php/Gomoob/Pushwoosh/Client/CURLClient.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
*/
99
namespace Gomoob\Pushwoosh\Client;
1010

11-
use Gomoob\Curl\CurlRequest;
12-
use Gomoob\Curl\ICurlRequest;
13-
1411
use Gomoob\Pushwoosh\ICURLClient;
12+
use Gomoob\Pushwoosh\Curl\CurlRequest;
13+
use Gomoob\Pushwoosh\Curl\ICurlRequest;
1514
use Gomoob\Pushwoosh\Exception\PushwooshException;
1615

1716
/**

src/main/php/Gomoob/Curl/CurlRequest.php renamed to src/main/php/Gomoob/Pushwoosh/Curl/CurlRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @copyright Copyright (c) 2015, GOMOOB SARL (http://gomoob.com)
77
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE.md file)
88
*/
9-
namespace Gomoob\Curl;
9+
namespace Gomoob\Pushwoosh\Curl;
1010

1111
/**
1212
* An implementation for the ICurlRequest interface.

src/main/php/Gomoob/Curl/ICurlRequest.php renamed to src/main/php/Gomoob/Pushwoosh/Curl/ICurlRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @copyright Copyright (c) 2015, GOMOOB SARL (http://gomoob.com)
77
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE.md file)
88
*/
9-
namespace Gomoob\Curl;
9+
namespace Gomoob\Pushwoosh\Curl;
1010

1111
/**
1212
* Interface used to abstract the CURL PHP methods.

src/test/php/Gomoob/Pushwoosh/Client/CURLClientTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testPushwooshCall()
2828
$curlClient = new CURLClient();
2929

3030
// First test with a response return which does not correspond to a valid JSON payload
31-
$curlRequest = $this->getMock('\Gomoob\CURL\CURLRequest');
31+
$curlRequest = $this->getMock('\Gomoob\Pushwoosh\Curl\CURLRequest');
3232
$curlRequest->method('exec')->willReturn(false);
3333
$curlRequest->method('getInfo')->willReturn('CURL_INFO');
3434

@@ -61,7 +61,7 @@ public function testPushwooshCall()
6161
}
6262

6363
// Second test with a CURL error encountered
64-
$curlRequest = $this->getMock('\Gomoob\CURL\CURLRequest');
64+
$curlRequest = $this->getMock('\Gomoob\Pushwoosh\Curl\CURLRequest');
6565
$curlRequest->method('exec')->willReturn(
6666
array(
6767
'status_code' => 400,

0 commit comments

Comments
 (0)