From b12579aa671f9139a8c48e845116fcbf585a0e94 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/Models/3QAQuestionMapperTest.php | 2 +- tests/Models/4QAAnswerMapperTest.php | 2 +- tests/Models/QAAnswerTest.php | 2 +- tests/Models/QAQuestionTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/Admin/AdminTest.php b/tests/Admin/AdminTest.php index be24043..ddbdbcf 100755 --- a/tests/Admin/AdminTest.php +++ b/tests/Admin/AdminTest.php @@ -17,7 +17,7 @@ namespace Modules\QA\tests\Admin; /** * @internal */ -class AdminTest extends \PHPUnit\Framework\TestCase +final class AdminTest extends \PHPUnit\Framework\TestCase { protected const NAME = 'QA'; diff --git a/tests/Models/3QAQuestionMapperTest.php b/tests/Models/3QAQuestionMapperTest.php index 566fb7d..c5f5aa6 100755 --- a/tests/Models/3QAQuestionMapperTest.php +++ b/tests/Models/3QAQuestionMapperTest.php @@ -24,7 +24,7 @@ use phpOMS\Utils\RnG\Text; /** * @internal */ -class QAQuestionMapperTest extends \PHPUnit\Framework\TestCase +final class QAQuestionMapperTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\QA\Models\QAQuestionMapper diff --git a/tests/Models/4QAAnswerMapperTest.php b/tests/Models/4QAAnswerMapperTest.php index 5f5e435..8557a2b 100755 --- a/tests/Models/4QAAnswerMapperTest.php +++ b/tests/Models/4QAAnswerMapperTest.php @@ -25,7 +25,7 @@ use phpOMS\Utils\RnG\Text; /** * @internal */ -class QAAnswerMapperTest extends \PHPUnit\Framework\TestCase +final class QAAnswerMapperTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\QA\Models\QAAnswerMapper diff --git a/tests/Models/QAAnswerTest.php b/tests/Models/QAAnswerTest.php index e45d037..5ae28c7 100755 --- a/tests/Models/QAAnswerTest.php +++ b/tests/Models/QAAnswerTest.php @@ -22,7 +22,7 @@ use Modules\QA\Models\QAAnswerStatus; /** * @internal */ -class QAAnswerTest extends \PHPUnit\Framework\TestCase +final class QAAnswerTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\QA\Models\QAAnswer diff --git a/tests/Models/QAQuestionTest.php b/tests/Models/QAQuestionTest.php index ec0d85c..aebe778 100755 --- a/tests/Models/QAQuestionTest.php +++ b/tests/Models/QAQuestionTest.php @@ -21,7 +21,7 @@ use Modules\QA\Models\QAQuestionStatus; /** * @internal */ -class QAQuestionTest extends \PHPUnit\Framework\TestCase +final class QAQuestionTest extends \PHPUnit\Framework\TestCase { /** * @covers Modules\QA\Models\QAQuestion