Skip to content

Commit 266770c

Browse files
authored
Merge pull request #54 from clue-labs/phpunit
Forward compatibility with PHPUnit 6
2 parents affda57 + 5000407 commit 266770c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"react/stream": "^1.0 || ^0.7.6"
1111
},
1212
"require-dev": {
13-
"phpunit/phpunit": "^5.0 || ^4.8.10",
14-
"sebastian/environment": "~1.0"
13+
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35",
14+
"sebastian/environment": "^3.0 || ^2.0 || ^1.0"
1515
},
1616
"autoload": {
1717
"psr-4": { "React\\ChildProcess\\": "src" }

tests/AbstractProcessTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44

55
use React\ChildProcess\Process;
66
use React\EventLoop\Timer\Timer;
7+
use PHPUnit\Framework\TestCase;
78
use SebastianBergmann\Environment\Runtime;
89

9-
abstract class AbstractProcessTest extends \PHPUnit_Framework_TestCase
10+
abstract class AbstractProcessTest extends TestCase
1011
{
1112
abstract public function createLoop();
1213

0 commit comments

Comments
 (0)