From 6f95b195045a95a6f39514189a6f505fa64f00c9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 21 Oct 2021 22:19:51 +0200 Subject: [PATCH] make classes final --- tests/Admin/AdminTest.php | 2 +- tests/Controller/ApiControllerTest.php | 2 +- tests/Models/ProfileMapperTest.php | 2 +- tests/Models/ProfileTest.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index 6bfa4bb..44d1460 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -17,7 +17,7 @@ namespace Modules\Profile\tests\Admin; /** * @internal */ -class AdminTest extends \PHPUnit\Framework\TestCase +final class AdminTest extends \PHPUnit\Framework\TestCase { protected const NAME = 'Profile'; diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 615570a..48a8373 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -36,7 +36,7 @@ use phpOMS\Utils\TestUtils; /** * @internal */ -class ApiControllerTest extends \PHPUnit\Framework\TestCase +final class ApiControllerTest extends \PHPUnit\Framework\TestCase { protected $app = null; diff --git a/tests/Models/ProfileMapperTest.php b/tests/Models/ProfileMapperTest.php index 52f5075..4aae5d1 100755 --- a/tests/Models/ProfileMapperTest.php +++ b/tests/Models/ProfileMapperTest.php @@ -23,7 +23,7 @@ use Modules\Profile\Models\ProfileMapper; /** * @internal */ -class ProfileMapperTest extends \PHPUnit\Framework\TestCase +final class ProfileMapperTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\Profile\Models\ProfileMapper diff --git a/tests/Models/ProfileTest.php b/tests/Models/ProfileTest.php index 5b710e5..1a5251d 100755 --- a/tests/Models/ProfileTest.php +++ b/tests/Models/ProfileTest.php @@ -25,7 +25,7 @@ use phpOMS\Stdlib\Base\Location; /** * @internal */ -class ProfileTest extends \PHPUnit\Framework\TestCase +final class ProfileTest extends \PHPUnit\Framework\TestCase { private Profile $profile;