Skip to content

Commit 41738ac

Browse files
committed
compatibility with PHPUnit 6
1 parent 2b23de9 commit 41738ac

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"require": {
1818
"php": ">=5.4",
19-
"phpunit/phpunit": "^4.5 || ^5.0",
19+
"phpunit/phpunit": "^4.8.35 || ^5.4.3 || ^6.0",
2020
"php-http/httplug": "^1.0",
2121
"php-http/message": "^1.0",
2222
"guzzlehttp/psr7": "^1.0",

src/HttpBaseTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
use Http\Message\MessageFactory;
66
use Http\Message\MessageFactory\GuzzleMessageFactory;
77
use Nerd\CartesianProduct\CartesianProduct;
8+
use PHPUnit\Framework\TestCase;
89
use Psr\Http\Message\ResponseInterface;
910

10-
abstract class HttpBaseTest extends \PHPUnit_Framework_TestCase
11+
abstract class HttpBaseTest extends TestCase
1112
{
1213
/**
1314
* @var string

src/HttpFeatureTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
use Http\Client\HttpClient;
66
use Http\Message\MessageFactory;
77
use Http\Message\MessageFactory\GuzzleMessageFactory;
8+
use PHPUnit\Framework\TestCase;
89

9-
abstract class HttpFeatureTest extends \PHPUnit_Framework_TestCase
10+
abstract class HttpFeatureTest extends TestCase
1011
{
1112
/**
1213
* @var MessageFactory

0 commit comments

Comments
 (0)