Skip to content

Commit

Permalink
Merge pull request #10 from clue-labs/stream
Browse files Browse the repository at this point in the history
Forward compatibility with Stream v0.6 and v0.5 (while keeping BC)
  • Loading branch information
clue authored Apr 7, 2017
2 parents b370eb7 + 8e229e2 commit 2c661c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It wraps a given `ReadableStreamInterface` and exposes its data through the same
interface.

```php
$stdin = new Stream(STDIN, $loop);
$stdin = new ReadableResourceStream(STDIN, $loop);

$stream = new Sequencer($stdin);

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"require": {
"php": ">=5.3",
"react/stream": "^0.4 || ^0.3"
"react/stream": "^0.6 || ^0.5 || ^0.4 || ^0.3"
},
"require-dev": {
"phpunit/phpunit": "^5.0 || ^4.8"
Expand Down

0 comments on commit 2c661c8

Please sign in to comment.