Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Commit 688a9df

Browse files
committed
naming cleanup. fix #1
1 parent 437fe3d commit 688a9df

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "php-http/utility",
2+
"name": "php-http/utils",
33
"description": "HTTP Client utilities",
44
"license": "MIT",
5-
"keywords": ["http", "client"],
5+
"keywords": ["http", "client", "php-http", "httplug"],
66
"homepage": "http://php-http.org",
77
"authors": [
88
{
@@ -21,7 +21,7 @@
2121
},
2222
"autoload": {
2323
"psr-4": {
24-
"Http\\Client\\Util\\": "src/"
24+
"Http\\Client\\Utils\\": "src/"
2525
}
2626
},
2727
"scripts": {

spec/BatchRequestSpec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace spec\Http\Client\Util;
3+
namespace spec\Http\Client\Utils;
44

55
use Http\Client\HttpPsrClient;
6-
use Http\Client\Util\BatchRequest;
6+
use Http\Client\Utils\BatchRequest;
77
use PhpSpec\ObjectBehavior;
88
use Psr\Http\Message\RequestInterface;
99
use Psr\Http\Message\ResponseInterface;
@@ -12,7 +12,7 @@ class BatchRequestSpec extends ObjectBehavior
1212
{
1313
function let(HttpPsrClient $client)
1414
{
15-
$this->beAnInstanceOf('spec\Http\Client\Util\BatchRequestStub', [$client]);
15+
$this->beAnInstanceOf('spec\Http\Client\Utils\BatchRequestStub', [$client]);
1616
}
1717

1818
function it_send_multiple_request_using_send_request(HttpPsrClient $client, RequestInterface $request1, RequestInterface $request2, ResponseInterface $response1, ResponseInterface $response2)

spec/HttpMethodsSpec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace spec\Http\Client\Util;
3+
namespace spec\Http\Client\Utils;
44

5-
use Http\Client\Util\HttpMethodsClient;
5+
use Http\Client\Utils\HttpMethodsClient;
66
use PhpSpec\ObjectBehavior;
77

88
class HttpMethodsSpec extends ObjectBehavior
99
{
1010
function let()
1111
{
12-
$this->beAnInstanceOf('spec\Http\Client\Util\HttpMethodsClientStub');
12+
$this->beAnInstanceOf('spec\Http\Client\Utils\HttpMethodsClientStub');
1313
}
1414

1515
function it_sends_a_get_request()

src/BatchRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Client\Util;
3+
namespace Http\Client\Utils;
44

55
use Http\Client\Exception;
66
use Http\Client\Exception\BatchException;

src/BatchResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Client\Util;
3+
namespace Http\Client\Utils;
44

55
use Http\Client\Exception;
66
use Http\Client\BatchResult as BatchResultInterface;

src/BodyGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Client\Util;
3+
namespace Http\Client\Utils;
44

55
use Http\Client\Exception;
66
use Psr\Http\Message\StreamInterface;

src/HttpMethodsClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Http\Client\Util;
3+
namespace Http\Client\Utils;
44

55
use Http\Client\Exception;
66
use Http\Client\HttpClient;

0 commit comments

Comments
 (0)