We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b77fa2 commit d8ae700Copy full SHA for d8ae700
2 files changed
composer.json
@@ -7,7 +7,7 @@
7
"php": ">=5.4.0"
8
},
9
"require-dev": {
10
- "phpunit/phpunit": "~4.8.35"
+ "phpunit/phpunit": "~4.8.35 || ^5.7 || ^6.4"
11
12
"suggest": {
13
"ext-libevent": ">=0.1.0 for LibEventLoop and PHP5 only",
tests/StreamSelectLoopTest.php
@@ -154,7 +154,9 @@ protected function forkSendSignal($signal)
154
public function testSmallTimerInterval()
155
{
156
/** @var StreamSelectLoop|\PHPUnit_Framework_MockObject_MockObject $loop */
157
- $loop = $this->getMock('React\EventLoop\StreamSelectLoop', ['streamSelect']);
+ $loop = $this->getMockBuilder('React\EventLoop\StreamSelectLoop')
158
+ ->setMethods(['streamSelect'])
159
+ ->getMock();
160
$loop
161
->expects($this->at(0))
162
->method('streamSelect')
0 commit comments