Skip to content

Commit c44c94c

Browse files
authored
Merge pull request #18 from clue-labs/stream
Forward compatibility with Stream v0.6 and v0.5 (while keeping BC)
2 parents 5099262 + 19cec92 commit c44c94c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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",

tests/FunctionalControlCodeParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function testPipingReadme()
1010
{
1111
$loop = Factory::create();
1212

13-
$input = new Stream(fopen(__DIR__ . '/../README.md', 'r'), $loop);
13+
$input = new Stream(fopen(__DIR__ . '/../README.md', 'r+'), $loop);
1414
$parser = new ControlCodeParser($input);
1515

1616
$buffer = '';

0 commit comments

Comments
 (0)