Skip to content

Commit

Permalink
Merge pull request #112 from gabriel-caruso/phpunit
Browse files Browse the repository at this point in the history
Support PHPUnit 6
  • Loading branch information
clue authored Nov 15, 2017
2 parents 5866eb6 + 30a10af commit d779a3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"evenement/evenement": "^3.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0 || ^4.8.10"
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 3 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace React\Tests\HttpClient;

class TestCase extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase as BaseTestCase;

class TestCase extends BaseTestCase
{
protected function expectCallableExactly($amount)
{
Expand Down

0 comments on commit d779a3b

Please sign in to comment.