File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1515 "evenement/evenement" : " ^3.0 || ^2.0 || ^1.0" ,
1616 "react/event-loop" : " ^1.0 || ^0.5 || ^0.4 || ^0.3" ,
1717 "react/promise" : " ^2.0 || ^1.0" ,
18- "react/socket" : " ^1.0 || ^0.8 || ^0.7 "
18+ "react/socket" : " ^1.0 || ^0.8.2 "
1919 },
2020 "require-dev" : {
2121 "phpunit/phpunit" : " ^5.0 || ^4.8"
Original file line number Diff line number Diff line change @@ -72,10 +72,6 @@ private function parseUrl($target)
7272 $ parts ['port ' ] = '5038 ' ;
7373 }
7474
75- if ($ parts ['host ' ] === 'localhost ' ) {
76- $ parts ['host ' ] = '127.0.0.1 ' ;
77- }
78-
7975 return $ parts ;
8076 }
8177}
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ public function testCreateClientUsesTcpConnectorWithDefaultLocation()
2929 $ this ->factory ->createClient ();
3030 }
3131
32- public function testCreateClientUsesTcpConnectorWithLocalhostLocation ()
32+ public function testCreateClientUsesDefaultPortForTcpConnection ()
3333 {
3434 $ promise = new Promise (function () { });
35- $ this ->tcp ->expects ($ this ->once ())->method ('connect ' )->with ('127.0.0.1 :5038 ' )->willReturn ($ promise );
35+ $ this ->tcp ->expects ($ this ->once ())->method ('connect ' )->with ('localhost :5038 ' )->willReturn ($ promise );
3636
3737 $ this ->factory ->createClient ('localhost ' );
3838 }
You can’t perform that action at this time.
0 commit comments