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 25
25
"ringcentral/psr7" : " ^1.2"
26
26
},
27
27
"require-dev" : {
28
- "phpunit/phpunit" : " ^4.8" ,
28
+ "phpunit/phpunit" : " ^5.0 || ^ 4.8" ,
29
29
"react/socket-client" : " ^0.5" ,
30
30
"clue/block-react" : " ^1.1"
31
31
}
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ protected function expectCallableOnceParameter($type)
53
53
*/
54
54
protected function createCallableMock ()
55
55
{
56
- return $ this ->getMock ('Tests \\Clue \\React \\HttpProxy \\CallableStub ' );
56
+ return $ this ->getMockBuilder ('Tests \\Clue \\React \\HttpProxy \\CallableStub ' )-> getMock ( );
57
57
}
58
58
}
59
59
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ProxyConnectorTest extends AbstractTestCase
12
12
13
13
public function setUp ()
14
14
{
15
- $ this ->connector = $ this ->getMock ('React\SocketClient\ConnectorInterface ' );
15
+ $ this ->connector = $ this ->getMockBuilder ('React\SocketClient\ConnectorInterface ' )-> getMock ( );
16
16
}
17
17
18
18
/**
You can’t perform that action at this time.
0 commit comments