From c74fa7955d9392aea954c2e45ed4137fb2bebcbe Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 24 Apr 2019 10:45:00 +0200 Subject: phpunit: Upgrade to version 8, fixed tests, formatting Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated --- tests/Unit/ServiceProviderTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Unit/ServiceProviderTest.php') diff --git a/tests/Unit/ServiceProviderTest.php b/tests/Unit/ServiceProviderTest.php index ee5e3151..27929fc7 100644 --- a/tests/Unit/ServiceProviderTest.php +++ b/tests/Unit/ServiceProviderTest.php @@ -3,7 +3,7 @@ namespace Engelsystem\Test\Unit; use Engelsystem\Application; -use PHPUnit_Framework_MockObject_MockObject as MockObject; +use PHPUnit\Framework\MockObject\MockObject; abstract class ServiceProviderTest extends TestCase { @@ -13,7 +13,7 @@ abstract class ServiceProviderTest extends TestCase */ protected function getApp($methods = ['make', 'instance']) { - /** @var MockObject|Application $app */ + /** @var Application|MockObject $app */ return $this->getMockBuilder(Application::class) ->setMethods($methods) ->getMock(); -- cgit v1.2.3-54-g00ecf