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 2222 },
2323 "require-dev" : {
2424 "clue/block-react" : " ~1.0" ,
25- "phpunit/phpunit" : " ^4.8"
25+ "phpunit/phpunit" : " ^5.0 || ^ 4.8"
2626 }
2727}
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public function testCancelCreateClientWithCancellableHostnameResolver()
162162
163163 public function testCancelCreateClientWithUncancellableHostnameResolver ()
164164 {
165- $ promise = $ this ->getMock ('React\Promise\PromiseInterface ' );
165+ $ promise = $ this ->getMockBuilder ('React\Promise\PromiseInterface ' )-> getMock ( );
166166 $ this ->resolver ->expects ($ this ->once ())->method ('resolve ' )->with ('example.com ' )->willReturn ($ promise );
167167
168168 $ promise = $ this ->factory ->createClient ('example.com:0 ' );
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ protected function expectCallableNever()
2626
2727 protected function createCallableMock ()
2828 {
29- return $ this ->getMock ('CallableStub ' );
29+ return $ this ->getMockBuilder ('CallableStub ' )-> getMock ( );
3030 }
3131
3232 protected function createResolverMock ()
You can’t perform that action at this time.
0 commit comments