8000 Merge pull request #30 from clue-labs/phpunit · reactphp/promise-timer@2d3e91c · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 2d3e91c

Browse files
authored
Merge pull request #30 from clue-labs/phpunit
Forward compatiblity with PHPUnit 6
2 parents 8046965 + 7306dc7 commit 2d3e91c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"react/promise": "~2.1|~1.2"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^5.0 || ^4.8"
26+
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"
2727
}
2828
}

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace React\Tests\Promise\Timer;
44

5+
use PHPUnit\Framework\TestCase as BaseTestCase;
56
use React\EventLoop\Factory;
6-
use PHPUnit_Framework_TestCase;
77

8-
class TestCase extends PHPUnit_Framework_TestCase
8+
class TestCase extends BaseTestCase
99
{
1010
protected $loop;
1111

0 commit comments

Comments
 (0)
0