Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented May 4, 2017

If either side of the composite stream closes, it will also close the other side.

This PR ensures that if either side is already closed during instantiation, it will also close the other side. Depending on how you view this, this is either a new feature or a bug fix.

@clue clue added this to the v0.7.0 milestone May 4, 2017
@WyriHaximus WyriHaximus requested a review from jsor May 4, 2017 09:31
@jsor
Copy link
Member

jsor commented May 4, 2017

@clue Tests are failing for PHP <=5.5

@clue
Copy link
Member Author

clue commented May 4, 2017

@jsor Thanks for spotting, updated unit tests to use willReturnOnConsecutiveCalls() instead of willReturn() with multiple values to support older PHPUnit versions on older PHP versions :shipit:

@WyriHaximus WyriHaximus merged commit 5b6bb89 into reactphp:master May 4, 2017
@clue clue deleted the composite branch May 4, 2017 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants