Skip to content

Commit

Permalink
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
carusogabriel committed Nov 12, 2017
1 parent bbf5938 commit 6e58b16
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 @@ -9,7 +9,7 @@
"evenement/evenement": "^3.0 || ^2.0 || ^1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0 || ^4.8.10",
"phpunit/phpunit": "^5.7 || ^4.8.35",
"clue/stream-filter": "~1.2"
},
"suggest": {
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\Stream;

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 6e58b16

Please sign in to comment.