Skip to content

Commit 139070e

Browse files
committed
Migrate to php-http package
1 parent aa64b49 commit 139070e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "kelunik/php-http-artax",
2+
"name": "php-http/artax-adapter",
33
"type": "library",
44
"license": "MIT",
55
"authors": [
@@ -10,11 +10,11 @@
1010
],
1111
"autoload": {
1212
"psr-4": {
13-
"Kelunik\\Http\\Adapter\\Artax\\": "src"
13+
"Http\\Adapter\\Artax\\": "src"
1414
}
1515
},
1616
"require": {
17-
"amphp/artax": "dev-master",
17+
"amphp/artax": "^3",
1818
"php-http/httplug": "^1.1",
1919
"php-http/discovery": "^1.2"
2020
},

src/Client.php

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

3-
namespace Kelunik\Http\Adapter\Artax;
3+
namespace Http\Adapter\Artax;
44

55
use Amp\Artax;
66
use Amp\Promise;

test/ClientTest.php

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

3-
namespace Kelunik\Http\Adapter\Artax\Test;
3+
namespace Http\Adapter\Artax\Test;
44

55
use Amp\Artax;
66
use Http\Client\HttpClient;
77
use Http\Client\Tests\HttpClientTest;
8-
use Kelunik\Http\Adapter\Artax\Client;
8+
use Http\Adapter\Artax\Client;
99

1010
class ClientTest extends HttpClientTest {
1111
/** @return HttpClient */

0 commit comments

Comments
 (0)