diff --git a/composer.json b/composer.json index d6bcc1d..302d2b5 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ "require-dev": { "sami/sami": "~1.0", "silex/silex": "~1.0", - "phpunit/phpunit": "^4.8" + "phpunit/phpunit": "^4.8.36" }, "autoload": { "psr-0": { diff --git a/tests/Functional/FunctionalTestCase.php b/tests/Functional/FunctionalTestCase.php index 02556ea..a7eac42 100644 --- a/tests/Functional/FunctionalTestCase.php +++ b/tests/Functional/FunctionalTestCase.php @@ -3,8 +3,9 @@ namespace Tests\FFMpeg\Functional; use FFMpeg\FFMpeg; +use PHPUnit\Framework\TestCase; -abstract class FunctionalTestCase extends \PHPUnit_Framework_TestCase +abstract class FunctionalTestCase extends TestCase { /** * @return FFMpeg diff --git a/tests/Unit/FFMpegServiceProviderTest.php b/tests/Unit/FFMpegServiceProviderTest.php index 0321eed..66a4004 100644 --- a/tests/Unit/FFMpegServiceProviderTest.php +++ b/tests/Unit/FFMpegServiceProviderTest.php @@ -4,8 +4,9 @@ namespace Tests\FFMpeg\Unit; use FFMpeg\FFMpegServiceProvider; use Silex\Application; +use PHPUnit\Framework\TestCase as BaseTestCase; -class FFMpegServiceProviderTest extends \PHPUnit_Framework_TestCase +class FFMpegServiceProviderTest extends BaseTestCase { public function testWithConfig() { diff --git a/tests/Unit/TestCase.php b/tests/Unit/TestCase.php index d2912a7..2d366dd 100644 --- a/tests/Unit/TestCase.php +++ b/tests/Unit/TestCase.php @@ -2,7 +2,9 @@ namespace Tests\FFMpeg\Unit; -class TestCase extends \PHPUnit_Framework_TestCase +use PHPUnit\Framework\TestCase as BaseTestCase; + +class TestCase extends BaseTestCase { public function assertScalar($value) {