make classes final

This commit is contained in:
Dennis Eichhorn 2021-10-21 22:19:49 +02:00
parent 9b4b187dd1
commit c018e91fc9
14 changed files with 14 additions and 14 deletions

View File

@ -17,7 +17,7 @@ namespace Modules\Admin\tests\Admin;
/** /**
* @internal * @internal
*/ */
class AdminTest extends \PHPUnit\Framework\TestCase final class AdminTest extends \PHPUnit\Framework\TestCase
{ {
protected const NAME = 'Admin'; protected const NAME = 'Admin';

View File

@ -39,7 +39,7 @@ use phpOMS\Utils\TestUtils;
* *
* @internal * @internal
*/ */
class ApiControllerTest extends \PHPUnit\Framework\TestCase final class ApiControllerTest extends \PHPUnit\Framework\TestCase
{ {
protected ApplicationAbstract $app; protected ApplicationAbstract $app;

View File

@ -26,7 +26,7 @@ use phpOMS\Utils\TestUtils;
* *
* @internal * @internal
*/ */
class AccountMapperTest extends \PHPUnit\Framework\TestCase final class AccountMapperTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The model can be created and read from the database * @testdox The model can be created and read from the database

View File

@ -21,7 +21,7 @@ use Modules\Admin\Models\AccountPermission;
* *
* @internal * @internal
*/ */
class AccountPermissionTest extends \PHPUnit\Framework\TestCase final class AccountPermissionTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The account permission has the expected default values after initialization * @testdox The account permission has the expected default values after initialization

View File

@ -21,7 +21,7 @@ use Modules\Admin\Models\Account;
* *
* @internal * @internal
*/ */
class AccountTest extends \PHPUnit\Framework\TestCase final class AccountTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The account has the expected default values after initialization * @testdox The account has the expected default values after initialization

View File

@ -24,7 +24,7 @@ use phpOMS\Stdlib\Base\AddressType;
* *
* @internal * @internal
*/ */
class AddressMapperTest extends \PHPUnit\Framework\TestCase final class AddressMapperTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @covers Modules\Admin\Models\AddressMapper * @covers Modules\Admin\Models\AddressMapper

View File

@ -22,7 +22,7 @@ use phpOMS\Stdlib\Base\AddressType;
* *
* @internal * @internal
*/ */
class AddressTest extends \PHPUnit\Framework\TestCase final class AddressTest extends \PHPUnit\Framework\TestCase
{ {
protected Address $address; protected Address $address;

View File

@ -24,7 +24,7 @@ use phpOMS\Utils\TestUtils;
* *
* @internal * @internal
*/ */
class AppMapperTest extends \PHPUnit\Framework\TestCase final class AppMapperTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The model can be created and read from the database * @testdox The model can be created and read from the database

View File

@ -21,7 +21,7 @@ use Modules\Admin\Models\App;
* *
* @internal * @internal
*/ */
class AppTest extends \PHPUnit\Framework\TestCase final class AppTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The account has the expected default values after initialization * @testdox The account has the expected default values after initialization

View File

@ -24,7 +24,7 @@ use Modules\Admin\Models\GroupPermissionMapper;
* *
* @internal * @internal
*/ */
class GroupMapperTest extends \PHPUnit\Framework\TestCase final class GroupMapperTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox All groups which have permissions for a module can be returned * @testdox All groups which have permissions for a module can be returned

View File

@ -21,7 +21,7 @@ use Modules\Admin\Models\GroupPermission;
* *
* @internal * @internal
*/ */
class GroupPermissionTest extends \PHPUnit\Framework\TestCase final class GroupPermissionTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The group permission has the expected default values after initialization * @testdox The group permission has the expected default values after initialization

View File

@ -22,7 +22,7 @@ use Modules\Admin\Models\NullAccount;
* *
* @internal * @internal
*/ */
class GroupTest extends \PHPUnit\Framework\TestCase final class GroupTest extends \PHPUnit\Framework\TestCase
{ {
protected Group $group; protected Group $group;

View File

@ -22,7 +22,7 @@ use phpOMS\Localization\Localization;
* *
* @internal * @internal
*/ */
class LocalizationMapperTest extends \PHPUnit\Framework\TestCase final class LocalizationMapperTest extends \PHPUnit\Framework\TestCase
{ {
/** /**
* @testdox The model can be created and read from the database * @testdox The model can be created and read from the database

View File

@ -22,7 +22,7 @@ use phpOMS\Module\ModuleStatus;
* *
* @internal * @internal
*/ */
class ModuleTest extends \PHPUnit\Framework\TestCase final class ModuleTest extends \PHPUnit\Framework\TestCase
{ {
protected Module $module; protected Module $module;