mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-11 09:28:40 +00:00
make classes final
This commit is contained in:
parent
855ca04a98
commit
4c6aed91ed
|
|
@ -17,7 +17,7 @@ namespace Modules\Knowledgebase\tests\Admin;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
class AdminTest extends \PHPUnit\Framework\TestCase
|
||||
final class AdminTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected const NAME = 'Knowledgebase';
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ use phpOMS\Utils\RnG\Text;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiAppMapperTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiAppMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @testdox The model can be created and read from the database
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ use Modules\Knowledgebase\Models\WikiApp;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiAppTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiAppTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected WikiApp $app;
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ use phpOMS\Utils\RnG\Text;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiCategoryMapperTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiCategoryMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected WikiCategory $category;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ use Modules\Knowledgebase\Models\WikiCategory;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiCategoryTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiCategoryTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected WikiCategory $category;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use phpOMS\Utils\RnG\Text;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiDocMapperTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiDocMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @testdox The model can be created and read from the database
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use Modules\Tag\Models\NullTag;
|
|||
*
|
||||
* @internal
|
||||
*/
|
||||
class WikiDocTest extends \PHPUnit\Framework\TestCase
|
||||
final class WikiDocTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected WikiDoc $doc;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user