Skip to content

Commit 2c661c8

Browse files
authored
Merge pull request #10 from clue-labs/stream
Forward compatibility with Stream v0.6 and v0.5 (while keeping BC)
2 parents b370eb7 + 8e229e2 commit 2c661c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ It wraps a given `ReadableStreamInterface` and exposes its data through the same
2323
interface.
2424

2525
```php
26-
$stdin = new Stream(STDIN, $loop);
26+
$stdin = new ReadableResourceStream(STDIN, $loop);
2727

2828
$stream = new Sequencer($stdin);
2929

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"require": {
1717
"php": ">=5.3",
18-
"react/stream": "^0.4 || ^0.3"
18+
"react/stream": "^0.6 || ^0.5 || ^0.4 || ^0.3"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^5.0 || ^4.8"

0 commit comments

Comments
 (0)