File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525 "ringcentral/psr7" : " ^1.2"
2626 },
2727 "require-dev" : {
28- "phpunit/phpunit" : " ^4.8" ,
28+ "phpunit/phpunit" : " ^5.0 || ^ 4.8" ,
2929 "react/socket-client" : " ^0.5" ,
3030 "clue/block-react" : " ^1.1"
3131 }
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ protected function expectCallableOnceParameter($type)
5353 */
5454 protected function createCallableMock ()
5555 {
56- return $ this ->getMock ('Tests \\Clue \\React \\HttpProxy \\CallableStub ' );
56+ return $ this ->getMockBuilder ('Tests \\Clue \\React \\HttpProxy \\CallableStub ' )-> getMock ( );
5757 }
5858}
5959
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ProxyConnectorTest extends AbstractTestCase
1212
1313 public function setUp ()
1414 {
15- $ this ->connector = $ this ->getMock ('React\SocketClient\ConnectorInterface ' );
15+ $ this ->connector = $ this ->getMockBuilder ('React\SocketClient\ConnectorInterface ' )-> getMock ( );
1616 }
1717
1818 /**
You can’t perform that action at this time.
0 commit comments