Skip to content

Commit 449b1f6

Browse files
authored
Merge pull request #61 from gabriel-caruso/phpunit
Support PHPUnit 6
2 parents e6cf8c6 + 2274c65 commit 449b1f6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"psr-4": { "Clue\\React\\Stdio\\": "src/" }
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit": "^5.0 || ^4.8",
27+
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35",
2828
"clue/commander": "^1.2",
2929
"clue/arguments": "^2.0"
3030
}

tests/bootstrap.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22

3+
use PHPUnit\Framework\TestCase as BaseTestCase;
4+
35
require_once __DIR__ . '/../vendor/autoload.php';
46

57
error_reporting(-1);
68

7-
class TestCase extends PHPUnit_Framework_TestCase
9+
class TestCase extends BaseTestCase
810
{
911
protected function expectCallableOnce()
1012
{
@@ -70,4 +72,3 @@ public function __invoke()
7072
{
7173
}
7274
}
73-

0 commit comments

Comments
 (0)