Skip to content

Commit b429315

Browse files
committed
Update to react/http v1.0.0
1 parent 64b1c6e commit b429315

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
},
1919
"require": {
2020
"php": ">=5.3",
21-
"clue/buzz-react": "^2.9",
2221
"clue/json-stream": "^0.1",
2322
"react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3",
23+
"react/http": "^1.0",
2424
"react/promise": "^2.0 || ^1.1",
2525
"react/promise-stream": "^1.0",
2626
"react/socket": "^1.0",

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Clue\React\Docker;
44

5-
use Clue\React\Buzz\Browser;
65
use Clue\React\Docker\Io\ResponseParser;
76
use Clue\React\Docker\Io\StreamingParser;
87
use React\EventLoop\LoopInterface;
8+
use React\Http\Browser;
99
use React\Promise\PromiseInterface;
1010
use React\Stream\ReadableStreamInterface;
1111
use Rize\UriTemplate;

tests/ClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ClientTest extends TestCase
2020
public function setUp()
2121
{
2222
$this->loop = $this->getMockBuilder('React\EventLoop\LoopInterface')->getMock();
23-
$this->browser = $this->getMockBuilder('Clue\React\Buzz\Browser')->disableOriginalConstructor()->getMock();
23+
$this->browser = $this->getMockBuilder('React\Http\Browser')->disableOriginalConstructor()->getMock();
2424

2525
$this->parser = $this->getMockBuilder('Clue\React\Docker\Io\ResponseParser')->getMock();
2626
$this->streamingParser = $this->getMockBuilder('Clue\React\Docker\Io\StreamingParser')->getMock();

tests/FunctionalClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function testImageCreateStreamMissingWillEmitJsonError()
399399

400400
// will emit "error" with RuntimeException and close
401401
$old && $stream->on('error', $this->expectCallableOnceParameter('RuntimeException'));
402-
$old || $stream->on('error', $this->expectCallableOnceParameter('Clue\React\Buzz\Message\ResponseException'));
402+
$old || $stream->on('error', $this->expectCallableOnceParameter('React\Http\Message\ResponseException'));
403403
$stream->on('close', $this->expectCallableOnce());
404404

405405
$this->loop->run();

0 commit comments

Comments
 (0)