File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ matrix:
2323sudo : false
2424
2525install :
26- - COMPOSER_ROOT_VERSION=`git describe --abbrev=0` composer install --no-interaction
26+ - composer install --no-interaction
2727
2828script :
2929 - vendor/bin/phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -163,12 +163,10 @@ It's *highly recommended to use PHP 7+* for this project.
163163## Tests
164164
165165To run the test suite, you first need to clone this repo and then install all
166- dependencies [ through Composer] ( https://getcomposer.org ) .
167- Because the test suite contains some circular dependencies, you may have to
168- manually specify the root package version like this:
166+ dependencies [ through Composer] ( https://getcomposer.org ) :
169167
170168``` bash
171- $ COMPOSER_ROOT_VERSION= ` git describe --abbrev=0 ` composer install
169+ $ composer install
172170```
173171
174172To run the test suite, go to the project root and run:
Original file line number Diff line number Diff line change 99 "react/event-loop" : " ^1.0 || ^0.5 || ^0.4 || ^0.3.5" ,
1010 "react/promise" : " ^2.1 || ^1.2.1" ,
1111 "react/promise-timer" : " ^1.2" ,
12- "react/socket" : " ^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5 || ^0.4.4" ,
1312 "react/stream" : " ^1.0 || ^0.7 || ^0.6 || ^0.5 || ^0.4.5"
1413 },
1514 "require-dev" : {
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ private function returnNewConnectionMock($emitData = true)
279279
280280 private function createConnectionMock ($ emitData = true )
281281 {
282- $ conn = $ this ->getMockBuilder ('React\Socket\ConnectionInterface ' )->getMock ();
282+ $ conn = $ this ->getMockBuilder ('React\Stream\DuplexStreamInterface ' )->getMock ();
283283 $ conn
284284 ->expects ($ this ->any ())
285285 ->method ('on ' )
You can’t perform that action at this time.
0 commit comments