From 1f374d4cbf22df0b38caf93fd60639e6e35f7e5a 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/TagL11nMapperTest.php | 2 +- tests/Models/TagL11nTest.php | 2 +- tests/Models/TagMapperTest.php | 2 +- tests/Models/TagTest.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index 91cd3f0..6b3b517 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -17,7 +17,7 @@ namespace Modules\Tag\tests\Admin; /** * @internal */ -class AdminTest extends \PHPUnit\Framework\TestCase +final class AdminTest extends \PHPUnit\Framework\TestCase { protected const NAME = 'Tag'; diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index d56ed58..365a750 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -34,7 +34,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/TagL11nMapperTest.php b/tests/Models/TagL11nMapperTest.php index 449362e..3d36835 100755 --- a/tests/Models/TagL11nMapperTest.php +++ b/tests/Models/TagL11nMapperTest.php @@ -24,7 +24,7 @@ use phpOMS\Localization\ISO639x1Enum; /** * @internal */ -class TagL11nMapperTest extends \PHPUnit\Framework\TestCase +final class TagL11nMapperTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\Tag\Models\TagL11nMapper diff --git a/tests/Models/TagL11nTest.php b/tests/Models/TagL11nTest.php index 4382235..eceaeeb 100755 --- a/tests/Models/TagL11nTest.php +++ b/tests/Models/TagL11nTest.php @@ -20,7 +20,7 @@ use phpOMS\Localization\ISO639x1Enum; /** * @internal */ -class TagL11nTest extends \PHPUnit\Framework\TestCase +final class TagL11nTest extends \PHPUnit\Framework\TestCase { private TagL11n $l11n; diff --git a/tests/Models/TagMapperTest.php b/tests/Models/TagMapperTest.php index a7fa5a5..f41c402 100755 --- a/tests/Models/TagMapperTest.php +++ b/tests/Models/TagMapperTest.php @@ -21,7 +21,7 @@ use Modules\Tag\Models\TagType; /** * @internal */ -class TagMapperTest extends \PHPUnit\Framework\TestCase +final class TagMapperTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\Tag\Models\TagMapper diff --git a/tests/Models/TagTest.php b/tests/Models/TagTest.php index b9c4dcc..402eec5 100755 --- a/tests/Models/TagTest.php +++ b/tests/Models/TagTest.php @@ -22,7 +22,7 @@ use Modules\Tag\Models\TagType; /** * @internal */ -class TagTest extends \PHPUnit\Framework\TestCase +final class TagTest extends \PHPUnit\Framework\TestCase { private Tag $tag;