diff --git a/composer.json b/composer.json index 811ea02..8697192 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,10 @@ }, "require": { "php": ">=5.3", - "react/stream": "^0.6 || ^0.5 || ^0.4 || ^0.3" + "react/stream": "^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4 || ^0.3" }, "require-dev": { - "phpunit/phpunit": "^5.0 || ^4.8" + "phpunit/phpunit": "^5.0 || ^4.8", + "react/stream": "^1.0 || ^0.7" } } diff --git a/tests/SequencerTest.php b/tests/SequencerTest.php index 9333f85..865d5d1 100644 --- a/tests/SequencerTest.php +++ b/tests/SequencerTest.php @@ -1,7 +1,7 @@ input = new ReadableStream(); + $this->input = new ThroughStream(); $this->sequencer = new Sequencer($this->input); }