diff --git a/compose.yaml b/compose.yaml index 11b0b7455..bca85bd49 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,6 +2,7 @@ services: php: container_name: symfony-backend-php-fpm hostname: php-fpm + stop_signal: SIGKILL build: context: . dockerfile: ./Dockerfile_dev @@ -26,6 +27,7 @@ services: nginx: container_name: symfony-backend-nginx hostname: nginx + stop_signal: SIGKILL build: context: ./docker/nginx/ dockerfile: ./Dockerfile_dev @@ -44,6 +46,7 @@ services: mariadb: container_name: symfony-backend-mariadb hostname: mariadb + stop_signal: SIGKILL build: context: ./docker/mariadb/ command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci @@ -58,6 +61,7 @@ services: container_name: symfony-backend-dozzle hostname: dozzle image: amir20/dozzle + stop_signal: SIGKILL ports: - "8100:8080" volumes: @@ -67,6 +71,7 @@ services: container_name: symfony-backend-adminer hostname: adminer image: adminer + stop_signal: SIGKILL environment: ADMINER_DEFAULT_SERVER: mariadb ADMINER_DESIGN: pepa-linha-dark diff --git a/psalm.xml b/psalm.xml index 175ae7127..f03016700 100644 --- a/psalm.xml +++ b/psalm.xml @@ -30,7 +30,11 @@ - + + + + + diff --git a/tests/DataFixtures/AppFixtures.php b/tests/DataFixtures/AppFixtures.php index bc374f68c..ea7cdf13c 100644 --- a/tests/DataFixtures/AppFixtures.php +++ b/tests/DataFixtures/AppFixtures.php @@ -16,7 +16,7 @@ * @package App\DataFixtures * @author TLe, Tarmo Leppänen */ -class AppFixtures extends Fixture +final class AppFixtures extends Fixture { #[Override] public function load(ObjectManager $manager): void diff --git a/tests/E2E/Controller/HealthzControllerTest.php b/tests/E2E/Controller/HealthzControllerTest.php index 989df847d..c71669d70 100644 --- a/tests/E2E/Controller/HealthzControllerTest.php +++ b/tests/E2E/Controller/HealthzControllerTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Controller * @author TLe, Tarmo Leppänen */ -class HealthzControllerTest extends WebTestCase +final class HealthzControllerTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Controller/IndexControllerTest.php b/tests/E2E/Controller/IndexControllerTest.php index 73d988b7f..2d87ef94e 100644 --- a/tests/E2E/Controller/IndexControllerTest.php +++ b/tests/E2E/Controller/IndexControllerTest.php @@ -16,7 +16,7 @@ * @package App\Tests\E2E\Controller * @author TLe, Tarmo Leppänen */ -class IndexControllerTest extends WebTestCase +final class IndexControllerTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Controller/VersionControllerTest.php b/tests/E2E/Controller/VersionControllerTest.php index 6c6ff622f..222d30d38 100644 --- a/tests/E2E/Controller/VersionControllerTest.php +++ b/tests/E2E/Controller/VersionControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller * @author TLe, Tarmo Leppänen */ -class VersionControllerTest extends WebTestCase +final class VersionControllerTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Controller/v1/ApiKey/ApiKeyControllerTest.php b/tests/E2E/Controller/v1/ApiKey/ApiKeyControllerTest.php index 935ce51a8..f9fcf7f74 100644 --- a/tests/E2E/Controller/v1/ApiKey/ApiKeyControllerTest.php +++ b/tests/E2E/Controller/v1/ApiKey/ApiKeyControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\ApiKey * @author TLe, Tarmo Leppänen */ -class ApiKeyControllerTest extends WebTestCase +final class ApiKeyControllerTest extends WebTestCase { private string $baseUrl = '/v1/api_key'; diff --git a/tests/E2E/Controller/v1/Auth/GetTokenControllerTest.php b/tests/E2E/Controller/v1/Auth/GetTokenControllerTest.php index e655c913e..1f0754c86 100644 --- a/tests/E2E/Controller/v1/Auth/GetTokenControllerTest.php +++ b/tests/E2E/Controller/v1/Auth/GetTokenControllerTest.php @@ -22,7 +22,7 @@ * @package App\Tests\E2E\Controller\v1\Auth * @author TLe, Tarmo Leppänen */ -class GetTokenControllerTest extends WebTestCase +final class GetTokenControllerTest extends WebTestCase { private string $baseUrl = '/v1/auth/get_token'; diff --git a/tests/E2E/Controller/v1/Auth/LoginFailureTest.php b/tests/E2E/Controller/v1/Auth/LoginFailureTest.php index 17f3411d1..2fecad473 100644 --- a/tests/E2E/Controller/v1/Auth/LoginFailureTest.php +++ b/tests/E2E/Controller/v1/Auth/LoginFailureTest.php @@ -21,7 +21,7 @@ * @package App\Tests\E2E\Controller\v1\Auth * @author TLe, Tarmo Leppänen */ -class LoginFailureTest extends WebTestCase +final class LoginFailureTest extends WebTestCase { private string $baseUrl = '/v1/auth/get_token'; diff --git a/tests/E2E/Controller/v1/Localization/LanguageControllerTest.php b/tests/E2E/Controller/v1/Localization/LanguageControllerTest.php index 7a552d40e..cd9dda430 100644 --- a/tests/E2E/Controller/v1/Localization/LanguageControllerTest.php +++ b/tests/E2E/Controller/v1/Localization/LanguageControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class LanguageControllerTest extends WebTestCase +final class LanguageControllerTest extends WebTestCase { private string $baseUrl = '/v1/localization/language'; diff --git a/tests/E2E/Controller/v1/Localization/LocaleControllerTest.php b/tests/E2E/Controller/v1/Localization/LocaleControllerTest.php index 992fb020d..2be513ff6 100644 --- a/tests/E2E/Controller/v1/Localization/LocaleControllerTest.php +++ b/tests/E2E/Controller/v1/Localization/LocaleControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class LocaleControllerTest extends WebTestCase +final class LocaleControllerTest extends WebTestCase { private string $baseUrl = '/v1/localization/locale'; diff --git a/tests/E2E/Controller/v1/Localization/TimeZoneControllerTest.php b/tests/E2E/Controller/v1/Localization/TimeZoneControllerTest.php index 352d5ab85..95565ec7f 100644 --- a/tests/E2E/Controller/v1/Localization/TimeZoneControllerTest.php +++ b/tests/E2E/Controller/v1/Localization/TimeZoneControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class TimeZoneControllerTest extends WebTestCase +final class TimeZoneControllerTest extends WebTestCase { private string $baseUrl = '/v1/localization/timezone'; diff --git a/tests/E2E/Controller/v1/Profile/GroupsControllerTest.php b/tests/E2E/Controller/v1/Profile/GroupsControllerTest.php index 0cb2b71b3..9c3bc29a5 100644 --- a/tests/E2E/Controller/v1/Profile/GroupsControllerTest.php +++ b/tests/E2E/Controller/v1/Profile/GroupsControllerTest.php @@ -27,7 +27,7 @@ * @package App\Tests\E2E\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class GroupsControllerTest extends WebTestCase +final class GroupsControllerTest extends WebTestCase { private string $baseUrl = '/v1/profile/groups'; diff --git a/tests/E2E/Controller/v1/Profile/IndexControllerTest.php b/tests/E2E/Controller/v1/Profile/IndexControllerTest.php index 1f998e211..2aff90960 100644 --- a/tests/E2E/Controller/v1/Profile/IndexControllerTest.php +++ b/tests/E2E/Controller/v1/Profile/IndexControllerTest.php @@ -25,7 +25,7 @@ * @package App\Tests\E2E\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class IndexControllerTest extends WebTestCase +final class IndexControllerTest extends WebTestCase { private string $baseUrl = '/v1/profile'; diff --git a/tests/E2E/Controller/v1/Profile/RolesControllerTest.php b/tests/E2E/Controller/v1/Profile/RolesControllerTest.php index 5351ba334..ca04c6234 100644 --- a/tests/E2E/Controller/v1/Profile/RolesControllerTest.php +++ b/tests/E2E/Controller/v1/Profile/RolesControllerTest.php @@ -26,7 +26,7 @@ * @package App\Tests\E2E\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class RolesControllerTest extends WebTestCase +final class RolesControllerTest extends WebTestCase { private string $baseUrl = '/v1/profile/roles'; diff --git a/tests/E2E/Controller/v1/Role/FindOneRoleControllerTest.php b/tests/E2E/Controller/v1/Role/FindOneRoleControllerTest.php index 19f282c01..7bc0a3e1f 100644 --- a/tests/E2E/Controller/v1/Role/FindOneRoleControllerTest.php +++ b/tests/E2E/Controller/v1/Role/FindOneRoleControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\Role * @author TLe, Tarmo Leppänen */ -class FindOneRoleControllerTest extends WebTestCase +final class FindOneRoleControllerTest extends WebTestCase { private string $baseUrl = '/v1/role'; diff --git a/tests/E2E/Controller/v1/Role/InheritedRolesControllerTest.php b/tests/E2E/Controller/v1/Role/InheritedRolesControllerTest.php index c3f926a0c..752db3060 100644 --- a/tests/E2E/Controller/v1/Role/InheritedRolesControllerTest.php +++ b/tests/E2E/Controller/v1/Role/InheritedRolesControllerTest.php @@ -22,7 +22,7 @@ * @package App\Tests\E2E\Controller\v1\Role * @author TLe, Tarmo Leppänen */ -class InheritedRolesControllerTest extends WebTestCase +final class InheritedRolesControllerTest extends WebTestCase { private string $baseUrl = '/v1/role'; diff --git a/tests/E2E/Controller/v1/Role/RoleControllerTest.php b/tests/E2E/Controller/v1/Role/RoleControllerTest.php index 73908625d..1910c7023 100644 --- a/tests/E2E/Controller/v1/Role/RoleControllerTest.php +++ b/tests/E2E/Controller/v1/Role/RoleControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\Role * @author TLe, Tarmo Leppänen */ -class RoleControllerTest extends WebTestCase +final class RoleControllerTest extends WebTestCase { private string $baseUrl = '/v1/role'; diff --git a/tests/E2E/Controller/v1/User/AttachUserGroupControllerTest.php b/tests/E2E/Controller/v1/User/AttachUserGroupControllerTest.php index 00d1754eb..43680d789 100644 --- a/tests/E2E/Controller/v1/User/AttachUserGroupControllerTest.php +++ b/tests/E2E/Controller/v1/User/AttachUserGroupControllerTest.php @@ -24,7 +24,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class AttachUserGroupControllerTest extends WebTestCase +final class AttachUserGroupControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/DeleteUserControllerTest.php b/tests/E2E/Controller/v1/User/DeleteUserControllerTest.php index 827ee9034..4e4584171 100644 --- a/tests/E2E/Controller/v1/User/DeleteUserControllerTest.php +++ b/tests/E2E/Controller/v1/User/DeleteUserControllerTest.php @@ -22,7 +22,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class DeleteUserControllerTest extends WebTestCase +final class DeleteUserControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/DetachUserGroupControllerTest.php b/tests/E2E/Controller/v1/User/DetachUserGroupControllerTest.php index 68fc44acc..31c3d4cca 100644 --- a/tests/E2E/Controller/v1/User/DetachUserGroupControllerTest.php +++ b/tests/E2E/Controller/v1/User/DetachUserGroupControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class DetachUserGroupControllerTest extends WebTestCase +final class DetachUserGroupControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/UserControllerTest.php b/tests/E2E/Controller/v1/User/UserControllerTest.php index ab12f8588..43d9b575e 100644 --- a/tests/E2E/Controller/v1/User/UserControllerTest.php +++ b/tests/E2E/Controller/v1/User/UserControllerTest.php @@ -20,7 +20,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserControllerTest extends WebTestCase +final class UserControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/UserCreateInvalidUserTest.php b/tests/E2E/Controller/v1/User/UserCreateInvalidUserTest.php index fc78f62cf..21a79c83d 100644 --- a/tests/E2E/Controller/v1/User/UserCreateInvalidUserTest.php +++ b/tests/E2E/Controller/v1/User/UserCreateInvalidUserTest.php @@ -20,7 +20,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserCreateInvalidUserTest extends WebTestCase +final class UserCreateInvalidUserTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Controller/v1/User/UserGroupsControllerTest.php b/tests/E2E/Controller/v1/User/UserGroupsControllerTest.php index a81c433f3..7303a513e 100644 --- a/tests/E2E/Controller/v1/User/UserGroupsControllerTest.php +++ b/tests/E2E/Controller/v1/User/UserGroupsControllerTest.php @@ -22,7 +22,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserGroupsControllerTest extends WebTestCase +final class UserGroupsControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/UserManagementFlowTest.php b/tests/E2E/Controller/v1/User/UserManagementFlowTest.php index 0048cc13c..6e23c4f6f 100644 --- a/tests/E2E/Controller/v1/User/UserManagementFlowTest.php +++ b/tests/E2E/Controller/v1/User/UserManagementFlowTest.php @@ -18,7 +18,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserManagementFlowTest extends WebTestCase +final class UserManagementFlowTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/UserRolesControllerTest.php b/tests/E2E/Controller/v1/User/UserRolesControllerTest.php index e11ff7860..f9c056fd3 100644 --- a/tests/E2E/Controller/v1/User/UserRolesControllerTest.php +++ b/tests/E2E/Controller/v1/User/UserRolesControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserRolesControllerTest extends WebTestCase +final class UserRolesControllerTest extends WebTestCase { private string $baseUrl = '/v1/user'; diff --git a/tests/E2E/Controller/v1/User/UserUpdateInvalidUserTest.php b/tests/E2E/Controller/v1/User/UserUpdateInvalidUserTest.php index 253725bec..d430b0296 100644 --- a/tests/E2E/Controller/v1/User/UserUpdateInvalidUserTest.php +++ b/tests/E2E/Controller/v1/User/UserUpdateInvalidUserTest.php @@ -21,7 +21,7 @@ * @package App\Tests\E2E\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserUpdateInvalidUserTest extends WebTestCase +final class UserUpdateInvalidUserTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Controller/v1/UserGroup/AttachUserControllerTest.php b/tests/E2E/Controller/v1/UserGroup/AttachUserControllerTest.php index 61620e632..588d51ff8 100644 --- a/tests/E2E/Controller/v1/UserGroup/AttachUserControllerTest.php +++ b/tests/E2E/Controller/v1/UserGroup/AttachUserControllerTest.php @@ -24,7 +24,7 @@ * @package App\Tests\E2E\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class AttachUserControllerTest extends WebTestCase +final class AttachUserControllerTest extends WebTestCase { private string $baseUrl = '/v1/user_group'; diff --git a/tests/E2E/Controller/v1/UserGroup/DetachUserControllerTest.php b/tests/E2E/Controller/v1/UserGroup/DetachUserControllerTest.php index 2143f08e6..4fa4c12fa 100644 --- a/tests/E2E/Controller/v1/UserGroup/DetachUserControllerTest.php +++ b/tests/E2E/Controller/v1/UserGroup/DetachUserControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\E2E\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class DetachUserControllerTest extends WebTestCase +final class DetachUserControllerTest extends WebTestCase { private string $baseUrl = '/v1/user_group'; diff --git a/tests/E2E/Controller/v1/UserGroup/UserGroupControllerTest.php b/tests/E2E/Controller/v1/UserGroup/UserGroupControllerTest.php index b649c4f7e..e0216c355 100644 --- a/tests/E2E/Controller/v1/UserGroup/UserGroupControllerTest.php +++ b/tests/E2E/Controller/v1/UserGroup/UserGroupControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\E2E\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class UserGroupControllerTest extends WebTestCase +final class UserGroupControllerTest extends WebTestCase { private string $baseUrl = '/v1/user_group'; diff --git a/tests/E2E/Controller/v1/UserGroup/UsersControllerTest.php b/tests/E2E/Controller/v1/UserGroup/UsersControllerTest.php index 3b9c2bfa5..7780cc256 100644 --- a/tests/E2E/Controller/v1/UserGroup/UsersControllerTest.php +++ b/tests/E2E/Controller/v1/UserGroup/UsersControllerTest.php @@ -20,7 +20,7 @@ * @package App\Tests\E2E\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class UsersControllerTest extends WebTestCase +final class UsersControllerTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/DocumentationTest.php b/tests/E2E/DocumentationTest.php index bb4b22f08..289d60919 100644 --- a/tests/E2E/DocumentationTest.php +++ b/tests/E2E/DocumentationTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Functional * @author TLe, Tarmo Leppänen */ -class DocumentationTest extends WebTestCase +final class DocumentationTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Rest/ResourceLifeCycleTest.php b/tests/E2E/Rest/ResourceLifeCycleTest.php index 671390aff..d8d5bb2fb 100644 --- a/tests/E2E/Rest/ResourceLifeCycleTest.php +++ b/tests/E2E/Rest/ResourceLifeCycleTest.php @@ -22,7 +22,7 @@ * @package App\Tests\E2E\Rest * @author TLe, Tarmo Leppänen */ -class ResourceLifeCycleTest extends WebTestCase +final class ResourceLifeCycleTest extends WebTestCase { /** * @throws Throwable diff --git a/tests/E2E/Rest/Traits/Actions/AdminActionsTest.php b/tests/E2E/Rest/Traits/Actions/AdminActionsTest.php index c3ccedac8..27658a089 100644 --- a/tests/E2E/Rest/Traits/Actions/AdminActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/AdminActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class AdminActionsTest extends RestTraitTestCase +final class AdminActionsTest extends RestTraitTestCase { protected static string $route = '/test_admin_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/AnonActionsTest.php b/tests/E2E/Rest/Traits/Actions/AnonActionsTest.php index f3e6c5489..d0044e5de 100644 --- a/tests/E2E/Rest/Traits/Actions/AnonActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/AnonActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class AnonActionsTest extends RestTraitTestCase +final class AnonActionsTest extends RestTraitTestCase { protected static string $route = '/test_anon_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/AuthenticatedActionsTest.php b/tests/E2E/Rest/Traits/Actions/AuthenticatedActionsTest.php index 97c65cf81..c5d2e413e 100644 --- a/tests/E2E/Rest/Traits/Actions/AuthenticatedActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/AuthenticatedActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class AuthenticatedActionsTest extends RestTraitTestCase +final class AuthenticatedActionsTest extends RestTraitTestCase { protected static string $route = '/test_authenticated_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/LoggedActionsTest.php b/tests/E2E/Rest/Traits/Actions/LoggedActionsTest.php index 5b9d3e1e2..af0f71096 100644 --- a/tests/E2E/Rest/Traits/Actions/LoggedActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/LoggedActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class LoggedActionsTest extends RestTraitTestCase +final class LoggedActionsTest extends RestTraitTestCase { protected static string $route = '/test_logged_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/RootActionsTest.php b/tests/E2E/Rest/Traits/Actions/RootActionsTest.php index b4cfc32a2..9b3e4cb2c 100644 --- a/tests/E2E/Rest/Traits/Actions/RootActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/RootActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class RootActionsTest extends RestTraitTestCase +final class RootActionsTest extends RestTraitTestCase { protected static string $route = '/test_root_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/UserActionsTest.php b/tests/E2E/Rest/Traits/Actions/UserActionsTest.php index 2d8d44f9c..1a0cc2a5b 100644 --- a/tests/E2E/Rest/Traits/Actions/UserActionsTest.php +++ b/tests/E2E/Rest/Traits/Actions/UserActionsTest.php @@ -17,7 +17,7 @@ * @package App\Tests\E2E\Rest\Traits\Actions * @author TLe, Tarmo Leppänen */ -class UserActionsTest extends RestTraitTestCase +final class UserActionsTest extends RestTraitTestCase { protected static string $route = '/test_user_actions'; diff --git a/tests/E2E/Rest/Traits/Actions/src/AdminActionsController.php b/tests/E2E/Rest/Traits/Actions/src/AdminActionsController.php index 81e6d5960..d360e0740 100644 --- a/tests/E2E/Rest/Traits/Actions/src/AdminActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/AdminActionsController.php @@ -30,7 +30,7 @@ path: '/test_admin_actions', )] #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] -class AdminActionsController extends Controller +final class AdminActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/Traits/Actions/src/AnonActionsController.php b/tests/E2E/Rest/Traits/Actions/src/AnonActionsController.php index f3234443d..102a9b10f 100644 --- a/tests/E2E/Rest/Traits/Actions/src/AnonActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/AnonActionsController.php @@ -27,7 +27,7 @@ #[Route( path: '/test_anon_actions', )] -class AnonActionsController extends Controller +final class AnonActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/Traits/Actions/src/AuthenticatedActionsController.php b/tests/E2E/Rest/Traits/Actions/src/AuthenticatedActionsController.php index 3225e2f49..0966f4764 100644 --- a/tests/E2E/Rest/Traits/Actions/src/AuthenticatedActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/AuthenticatedActionsController.php @@ -30,7 +30,7 @@ path: '/test_authenticated_actions', )] #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] -class AuthenticatedActionsController extends Controller +final class AuthenticatedActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/Traits/Actions/src/LoggedActionsController.php b/tests/E2E/Rest/Traits/Actions/src/LoggedActionsController.php index d20a27cb3..d6ab63406 100644 --- a/tests/E2E/Rest/Traits/Actions/src/LoggedActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/LoggedActionsController.php @@ -30,7 +30,7 @@ path: '/test_logged_actions', )] #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] -class LoggedActionsController extends Controller +final class LoggedActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/Traits/Actions/src/RootActionsController.php b/tests/E2E/Rest/Traits/Actions/src/RootActionsController.php index fb3b14b2c..75572ef93 100644 --- a/tests/E2E/Rest/Traits/Actions/src/RootActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/RootActionsController.php @@ -30,7 +30,7 @@ path: '/test_root_actions', )] #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] -class RootActionsController extends Controller +final class RootActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/Traits/Actions/src/UserActionsController.php b/tests/E2E/Rest/Traits/Actions/src/UserActionsController.php index f9e03b450..4f5096089 100644 --- a/tests/E2E/Rest/Traits/Actions/src/UserActionsController.php +++ b/tests/E2E/Rest/Traits/Actions/src/UserActionsController.php @@ -30,7 +30,7 @@ path: '/test_user_actions', )] #[IsGranted(AuthenticatedVoter::IS_AUTHENTICATED_FULLY)] -class UserActionsController extends Controller +final class UserActionsController extends Controller { use Actions\CountAction; use Actions\CreateAction; diff --git a/tests/E2E/Rest/src/Controller/ControllerForLifeCycleTests.php b/tests/E2E/Rest/src/Controller/ControllerForLifeCycleTests.php index f8c4b67dc..61431ba4e 100644 --- a/tests/E2E/Rest/src/Controller/ControllerForLifeCycleTests.php +++ b/tests/E2E/Rest/src/Controller/ControllerForLifeCycleTests.php @@ -29,7 +29,7 @@ )] #[AsController] #[AutoconfigureTag('app.rest.controller')] -class ControllerForLifeCycleTests extends Controller +final class ControllerForLifeCycleTests extends Controller { // Traits use Methods\FindOneMethod; diff --git a/tests/E2E/Rest/src/Resource/ResourceForLifeCycleTests.php b/tests/E2E/Rest/src/Resource/ResourceForLifeCycleTests.php index 5835bfe99..9def73515 100644 --- a/tests/E2E/Rest/src/Resource/ResourceForLifeCycleTests.php +++ b/tests/E2E/Rest/src/Resource/ResourceForLifeCycleTests.php @@ -36,7 +36,7 @@ * * @codingStandardsIgnoreEnd */ -class ResourceForLifeCycleTests extends RestResource +final class ResourceForLifeCycleTests extends RestResource { public function __construct( Repository $repository, diff --git a/tests/E2E/TestCase/Auth.php b/tests/E2E/TestCase/Auth.php index 6d5225392..06cec422e 100644 --- a/tests/E2E/TestCase/Auth.php +++ b/tests/E2E/TestCase/Auth.php @@ -31,7 +31,7 @@ * @package App\Tests\E2E\TestCase * @author TLe, Tarmo Leppänen */ -class Auth +final class Auth { public function __construct( private readonly KernelInterface $kernel, diff --git a/tests/Functional/Repository/HealthzRepositoryTest.php b/tests/Functional/Repository/HealthzRepositoryTest.php index ba93853e0..84548c36a 100644 --- a/tests/Functional/Repository/HealthzRepositoryTest.php +++ b/tests/Functional/Repository/HealthzRepositoryTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Functional\Repository * @author TLe, Tarmo Leppänen */ -class HealthzRepositoryTest extends KernelTestCase +final class HealthzRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Repository/LogLoginFailureRepositoryTest.php b/tests/Functional/Repository/LogLoginFailureRepositoryTest.php index f2ce14727..b629bd832 100644 --- a/tests/Functional/Repository/LogLoginFailureRepositoryTest.php +++ b/tests/Functional/Repository/LogLoginFailureRepositoryTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Functional\Repository * @author TLe, Tarmo Leppänen */ -class LogLoginFailureRepositoryTest extends KernelTestCase +final class LogLoginFailureRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Repository/LogRequestRepositoryTest.php b/tests/Functional/Repository/LogRequestRepositoryTest.php index b30a8625d..bc6c22758 100644 --- a/tests/Functional/Repository/LogRequestRepositoryTest.php +++ b/tests/Functional/Repository/LogRequestRepositoryTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Functional\Repository * @author TLe, Tarmo Leppänen */ -class LogRequestRepositoryTest extends KernelTestCase +final class LogRequestRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Repository/RoleRepositoryTest.php b/tests/Functional/Repository/RoleRepositoryTest.php index 643b3aade..55f5557b8 100644 --- a/tests/Functional/Repository/RoleRepositoryTest.php +++ b/tests/Functional/Repository/RoleRepositoryTest.php @@ -18,7 +18,7 @@ * @package Functional\Repository * @author TLe, Tarmo Leppänen */ -class RoleRepositoryTest extends KernelTestCase +final class RoleRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Repository/UserRepositoryTest.php b/tests/Functional/Repository/UserRepositoryTest.php index 6337cc59d..b8d1a8258 100644 --- a/tests/Functional/Repository/UserRepositoryTest.php +++ b/tests/Functional/Repository/UserRepositoryTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Functional\Repository * @author TLe, Tarmo Leppänen */ -class UserRepositoryTest extends KernelTestCase +final class UserRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Security/Provider/ApiKeyUserProviderTest.php b/tests/Functional/Security/Provider/ApiKeyUserProviderTest.php index adb568775..3c17662b2 100644 --- a/tests/Functional/Security/Provider/ApiKeyUserProviderTest.php +++ b/tests/Functional/Security/Provider/ApiKeyUserProviderTest.php @@ -30,7 +30,7 @@ * @package App\Tests\Functional\Security\Provider * @author TLe, Tarmo Leppänen */ -class ApiKeyUserProviderTest extends KernelTestCase +final class ApiKeyUserProviderTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/Security/Provider/SecurityUserFactoryTest.php b/tests/Functional/Security/Provider/SecurityUserFactoryTest.php index 482f87a0b..f06429131 100644 --- a/tests/Functional/Security/Provider/SecurityUserFactoryTest.php +++ b/tests/Functional/Security/Provider/SecurityUserFactoryTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\Security * @author TLe, Tarmo Leppänen */ -class SecurityUserFactoryTest extends KernelTestCase +final class SecurityUserFactoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Functional/ValueResolver/LoggedInUserValueResolverTest.php b/tests/Functional/ValueResolver/LoggedInUserValueResolverTest.php index 749a66f0a..084f2e23a 100644 --- a/tests/Functional/ValueResolver/LoggedInUserValueResolverTest.php +++ b/tests/Functional/ValueResolver/LoggedInUserValueResolverTest.php @@ -31,7 +31,7 @@ * @package App\Tests\Functional\ValueResolver * @author TLe, Tarmo Leppänen */ -class LoggedInUserValueResolverTest extends KernelTestCase +final class LoggedInUserValueResolverTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/AutoMapper/ApiKey/AutoMapperConfigurationTest.php b/tests/Integration/AutoMapper/ApiKey/AutoMapperConfigurationTest.php index d03636d85..0ab03b9ff 100644 --- a/tests/Integration/AutoMapper/ApiKey/AutoMapperConfigurationTest.php +++ b/tests/Integration/AutoMapper/ApiKey/AutoMapperConfigurationTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\AutoMapper\ApiKey * @author TLe, Tarmo Leppänen */ -class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase +final class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase { /** * @var class-string diff --git a/tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php b/tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php index ca78b6b63..703193e8c 100644 --- a/tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php +++ b/tests/Integration/AutoMapper/ApiKey/RequestMapperTest.php @@ -27,7 +27,7 @@ * @package App\Tests\Integration\AutoMapper\ApiKey * @author TLe, Tarmo Leppänen */ -class RequestMapperTest extends RestRequestMapperTestCase +final class RequestMapperTest extends RestRequestMapperTestCase { /** * @var array diff --git a/tests/Integration/AutoMapper/GenericRestRequestMapperTest.php b/tests/Integration/AutoMapper/GenericRestRequestMapperTest.php index b17fa079d..4da9bee65 100644 --- a/tests/Integration/AutoMapper/GenericRestRequestMapperTest.php +++ b/tests/Integration/AutoMapper/GenericRestRequestMapperTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\AutoMapper * @author TLe, Tarmo Leppänen */ -class GenericRestRequestMapperTest extends KernelTestCase +final class GenericRestRequestMapperTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/AutoMapper/User/AutoMapperConfigurationTest.php b/tests/Integration/AutoMapper/User/AutoMapperConfigurationTest.php index db3f432d0..ebd94546d 100644 --- a/tests/Integration/AutoMapper/User/AutoMapperConfigurationTest.php +++ b/tests/Integration/AutoMapper/User/AutoMapperConfigurationTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\AutoMapper\User * @author TLe, Tarmo Leppänen */ -class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase +final class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase { /** * @var class-string diff --git a/tests/Integration/AutoMapper/User/RequestMapperTest.php b/tests/Integration/AutoMapper/User/RequestMapperTest.php index b33933cca..3b69ee6e6 100644 --- a/tests/Integration/AutoMapper/User/RequestMapperTest.php +++ b/tests/Integration/AutoMapper/User/RequestMapperTest.php @@ -28,7 +28,7 @@ * @package App\Tests\Integration\AutoMapper\User * @author TLe, Tarmo Leppänen */ -class RequestMapperTest extends RestRequestMapperTestCase +final class RequestMapperTest extends RestRequestMapperTestCase { /** * @var array diff --git a/tests/Integration/AutoMapper/UserGroup/AutoMapperConfigurationTest.php b/tests/Integration/AutoMapper/UserGroup/AutoMapperConfigurationTest.php index efe5f5643..d49eeadc5 100644 --- a/tests/Integration/AutoMapper/UserGroup/AutoMapperConfigurationTest.php +++ b/tests/Integration/AutoMapper/UserGroup/AutoMapperConfigurationTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\AutoMapper\UserGroup * @author TLe, Tarmo Leppänen */ -class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase +final class AutoMapperConfigurationTest extends RestRequestMapperConfigurationTestCase { /** * @var class-string diff --git a/tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php b/tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php index bd48fdf34..afea4b14c 100644 --- a/tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php +++ b/tests/Integration/AutoMapper/UserGroup/RequestMapperTest.php @@ -27,7 +27,7 @@ * @package App\Tests\Integration\AutoMapper\UserGroup * @author TLe, Tarmo Leppänen */ -class RequestMapperTest extends RestRequestMapperTestCase +final class RequestMapperTest extends RestRequestMapperTestCase { /** * @var array diff --git a/tests/Integration/AutoMapper/src/TestRestRequestMapper.php b/tests/Integration/AutoMapper/src/TestRestRequestMapper.php index c886c9175..682d8bc9b 100644 --- a/tests/Integration/AutoMapper/src/TestRestRequestMapper.php +++ b/tests/Integration/AutoMapper/src/TestRestRequestMapper.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\AutoMapper\src * @author TLe, Tarmo Leppänen */ -class TestRestRequestMapper extends RestRequestMapper +final class TestRestRequestMapper extends RestRequestMapper { /** * @var array diff --git a/tests/Integration/AutoMapper/src/TestRestRequestMapperDto.php b/tests/Integration/AutoMapper/src/TestRestRequestMapperDto.php index 45f92df2a..0c96c43ef 100644 --- a/tests/Integration/AutoMapper/src/TestRestRequestMapperDto.php +++ b/tests/Integration/AutoMapper/src/TestRestRequestMapperDto.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\AutoMapper\src * @author TLe, Tarmo Leppänen */ -class TestRestRequestMapperDto extends RestDto +final class TestRestRequestMapperDto extends RestDto { protected string $someProperty = ''; protected string $someTransformProperty = ''; diff --git a/tests/Integration/AutoMapper/src/TestRestRequestMapperWithoutProperties.php b/tests/Integration/AutoMapper/src/TestRestRequestMapperWithoutProperties.php index edb0cee2a..69b111586 100644 --- a/tests/Integration/AutoMapper/src/TestRestRequestMapperWithoutProperties.php +++ b/tests/Integration/AutoMapper/src/TestRestRequestMapperWithoutProperties.php @@ -14,6 +14,6 @@ * @package App\Tests\Integration\AutoMapper\src * @author TLe, Tarmo Leppänen */ -class TestRestRequestMapperWithoutProperties extends RestRequestMapper +final class TestRestRequestMapperWithoutProperties extends RestRequestMapper { } diff --git a/tests/Integration/Compiler/StopwatchCompilerPassTest.php b/tests/Integration/Compiler/StopwatchCompilerPassTest.php index 6e4ffc3af..f70515bd9 100644 --- a/tests/Integration/Compiler/StopwatchCompilerPassTest.php +++ b/tests/Integration/Compiler/StopwatchCompilerPassTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Compiler\Service * @author TLe, Tarmo Leppänen */ -class StopwatchCompilerPassTest extends KernelTestCase +final class StopwatchCompilerPassTest extends KernelTestCase { #[TestDox('Test that `findTaggedServiceIds` method is called expected times')] public function testThatFindTaggedServiceIdsMethodIsCalled(): void diff --git a/tests/Integration/Controller/HealthzControllerTest.php b/tests/Integration/Controller/HealthzControllerTest.php index e6390e3cd..3bfa20a5a 100644 --- a/tests/Integration/Controller/HealthzControllerTest.php +++ b/tests/Integration/Controller/HealthzControllerTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\Controller * @author TLe, Tarmo Leppänen */ -class HealthzControllerTest extends KernelTestCase +final class HealthzControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/IndexControllerTest.php b/tests/Integration/Controller/IndexControllerTest.php index 61bc5d4ef..29d23de3a 100644 --- a/tests/Integration/Controller/IndexControllerTest.php +++ b/tests/Integration/Controller/IndexControllerTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Integration\Controller * @author TLe, Tarmo Leppänen */ -class IndexControllerTest extends KernelTestCase +final class IndexControllerTest extends KernelTestCase { #[TestDox('Test that `__invoke` method returns proper response')] public function testThatInvokeMethodReturnsExpectedResponse(): void diff --git a/tests/Integration/Controller/VersionControllerTest.php b/tests/Integration/Controller/VersionControllerTest.php index e4d0ad447..bb7b7d211 100644 --- a/tests/Integration/Controller/VersionControllerTest.php +++ b/tests/Integration/Controller/VersionControllerTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Controller * @author TLe, Tarmo Leppänen */ -class VersionControllerTest extends KernelTestCase +final class VersionControllerTest extends KernelTestCase { #[TestDox('Test that `__invoke` method calls expected service methods')] public function testThatInvokeMethodIsCallingExpectedMethods(): void diff --git a/tests/Integration/Controller/v1/ApiKey/ApiKeyControllerTest.php b/tests/Integration/Controller/v1/ApiKey/ApiKeyControllerTest.php index 457ee3663..c910f6770 100644 --- a/tests/Integration/Controller/v1/ApiKey/ApiKeyControllerTest.php +++ b/tests/Integration/Controller/v1/ApiKey/ApiKeyControllerTest.php @@ -18,7 +18,7 @@ * * @method ApiKeyController getController() */ -class ApiKeyControllerTest extends RestIntegrationControllerTestCase +final class ApiKeyControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/Auth/GetTokenControllerTest.php b/tests/Integration/Controller/v1/Auth/GetTokenControllerTest.php index c72b88e46..6929c2707 100644 --- a/tests/Integration/Controller/v1/Auth/GetTokenControllerTest.php +++ b/tests/Integration/Controller/v1/Auth/GetTokenControllerTest.php @@ -19,7 +19,7 @@ * * @property GetTokenController $controller */ -class GetTokenControllerTest extends KernelTestCase +final class GetTokenControllerTest extends KernelTestCase { public function testThatGetTokenThrowsAnException(): void { diff --git a/tests/Integration/Controller/v1/Localization/LanguageControllerTest.php b/tests/Integration/Controller/v1/Localization/LanguageControllerTest.php index e2a0e1ce4..2cf8da6b0 100644 --- a/tests/Integration/Controller/v1/Localization/LanguageControllerTest.php +++ b/tests/Integration/Controller/v1/Localization/LanguageControllerTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class LanguageControllerTest extends KernelTestCase +final class LanguageControllerTest extends KernelTestCase { #[TestDox('Test that controller calls expected service method(s) and returns expected response')] public function testThatInvokeMethodCallsExpectedServiceMethods(): void diff --git a/tests/Integration/Controller/v1/Localization/LocaleControllerTest.php b/tests/Integration/Controller/v1/Localization/LocaleControllerTest.php index 494606a59..9f2f4b350 100644 --- a/tests/Integration/Controller/v1/Localization/LocaleControllerTest.php +++ b/tests/Integration/Controller/v1/Localization/LocaleControllerTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class LocaleControllerTest extends KernelTestCase +final class LocaleControllerTest extends KernelTestCase { #[TestDox('Test that controller calls expected service method(s) and returns expected response')] public function testThatInvokeMethodCallsExpectedServiceMethods(): void diff --git a/tests/Integration/Controller/v1/Localization/TimeZoneControllerTest.php b/tests/Integration/Controller/v1/Localization/TimeZoneControllerTest.php index cff3ee56e..da586162b 100644 --- a/tests/Integration/Controller/v1/Localization/TimeZoneControllerTest.php +++ b/tests/Integration/Controller/v1/Localization/TimeZoneControllerTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Controller\v1\Localization * @author TLe, Tarmo Leppänen */ -class TimeZoneControllerTest extends KernelTestCase +final class TimeZoneControllerTest extends KernelTestCase { #[TestDox('Test that controller calls expected service method(s) and returns expected response')] public function testThatInvokeMethodCallsExpectedServiceMethods(): void diff --git a/tests/Integration/Controller/v1/Profile/GroupsControllerTest.php b/tests/Integration/Controller/v1/Profile/GroupsControllerTest.php index d72d3e3ca..aae7e1848 100644 --- a/tests/Integration/Controller/v1/Profile/GroupsControllerTest.php +++ b/tests/Integration/Controller/v1/Profile/GroupsControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class GroupsControllerTest extends KernelTestCase +final class GroupsControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/Profile/IndexControllerTest.php b/tests/Integration/Controller/v1/Profile/IndexControllerTest.php index d1e85aff6..9551ffb44 100644 --- a/tests/Integration/Controller/v1/Profile/IndexControllerTest.php +++ b/tests/Integration/Controller/v1/Profile/IndexControllerTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class IndexControllerTest extends KernelTestCase +final class IndexControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/Profile/RolesControllerTest.php b/tests/Integration/Controller/v1/Profile/RolesControllerTest.php index be5577f5a..3fe85331d 100644 --- a/tests/Integration/Controller/v1/Profile/RolesControllerTest.php +++ b/tests/Integration/Controller/v1/Profile/RolesControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Controller\v1\Profile * @author TLe, Tarmo Leppänen */ -class RolesControllerTest extends KernelTestCase +final class RolesControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/Role/FindOneRoleControllerTest.php b/tests/Integration/Controller/v1/Role/FindOneRoleControllerTest.php index 2c21ce412..487332af4 100644 --- a/tests/Integration/Controller/v1/Role/FindOneRoleControllerTest.php +++ b/tests/Integration/Controller/v1/Role/FindOneRoleControllerTest.php @@ -23,7 +23,7 @@ * * @method FindOneRoleController getController() */ -class FindOneRoleControllerTest extends RestIntegrationControllerTestCase +final class FindOneRoleControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/Role/InheritedRolesControllerTest.php b/tests/Integration/Controller/v1/Role/InheritedRolesControllerTest.php index 97073c6ad..b2166416c 100644 --- a/tests/Integration/Controller/v1/Role/InheritedRolesControllerTest.php +++ b/tests/Integration/Controller/v1/Role/InheritedRolesControllerTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Integration\Controller\v1\Role * @author TLe, Tarmo Leppänen */ -class InheritedRolesControllerTest extends KernelTestCase +final class InheritedRolesControllerTest extends KernelTestCase { #[TestDox('Test that `__invoke($role)` method calls expected service methods')] public function testThatInvokeMethodCallsExpectedMethods(): void diff --git a/tests/Integration/Controller/v1/Role/RoleControllerTest.php b/tests/Integration/Controller/v1/Role/RoleControllerTest.php index 796044355..5a7f82666 100644 --- a/tests/Integration/Controller/v1/Role/RoleControllerTest.php +++ b/tests/Integration/Controller/v1/Role/RoleControllerTest.php @@ -18,7 +18,7 @@ * * @method RoleController getController() */ -class RoleControllerTest extends RestIntegrationControllerTestCase +final class RoleControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/User/AttachUserGroupControllerTest.php b/tests/Integration/Controller/v1/User/AttachUserGroupControllerTest.php index cd21ac043..1bfc5bc15 100644 --- a/tests/Integration/Controller/v1/User/AttachUserGroupControllerTest.php +++ b/tests/Integration/Controller/v1/User/AttachUserGroupControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class AttachUserGroupControllerTest extends KernelTestCase +final class AttachUserGroupControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/User/DeleteUserControllerTest.php b/tests/Integration/Controller/v1/User/DeleteUserControllerTest.php index 106d60aed..f0c10da12 100644 --- a/tests/Integration/Controller/v1/User/DeleteUserControllerTest.php +++ b/tests/Integration/Controller/v1/User/DeleteUserControllerTest.php @@ -24,7 +24,7 @@ * * @method DeleteUserController getController() */ -class DeleteUserControllerTest extends RestIntegrationControllerTestCase +final class DeleteUserControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/User/DetachUserGroupControllerTest.php b/tests/Integration/Controller/v1/User/DetachUserGroupControllerTest.php index 9988a5aea..4245b1ece 100644 --- a/tests/Integration/Controller/v1/User/DetachUserGroupControllerTest.php +++ b/tests/Integration/Controller/v1/User/DetachUserGroupControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class DetachUserGroupControllerTest extends KernelTestCase +final class DetachUserGroupControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/User/UserControllerTest.php b/tests/Integration/Controller/v1/User/UserControllerTest.php index a38f1f74f..5d06b4832 100644 --- a/tests/Integration/Controller/v1/User/UserControllerTest.php +++ b/tests/Integration/Controller/v1/User/UserControllerTest.php @@ -18,7 +18,7 @@ * * @method UserController getController() */ -class UserControllerTest extends RestIntegrationControllerTestCase +final class UserControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/User/UserGroupsControllerTest.php b/tests/Integration/Controller/v1/User/UserGroupsControllerTest.php index c8c046c2e..6d215d431 100644 --- a/tests/Integration/Controller/v1/User/UserGroupsControllerTest.php +++ b/tests/Integration/Controller/v1/User/UserGroupsControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserGroupsControllerTest extends KernelTestCase +final class UserGroupsControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/User/UserRolesControllerTest.php b/tests/Integration/Controller/v1/User/UserRolesControllerTest.php index f922a9e82..22b8c2c1e 100644 --- a/tests/Integration/Controller/v1/User/UserRolesControllerTest.php +++ b/tests/Integration/Controller/v1/User/UserRolesControllerTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Controller\v1\User * @author TLe, Tarmo Leppänen */ -class UserRolesControllerTest extends KernelTestCase +final class UserRolesControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/UserGroup/AttachUserControllerTest.php b/tests/Integration/Controller/v1/UserGroup/AttachUserControllerTest.php index 0b0d8533a..d0e3ef3c6 100644 --- a/tests/Integration/Controller/v1/UserGroup/AttachUserControllerTest.php +++ b/tests/Integration/Controller/v1/UserGroup/AttachUserControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class AttachUserControllerTest extends KernelTestCase +final class AttachUserControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/UserGroup/DetachUserControllerTest.php b/tests/Integration/Controller/v1/UserGroup/DetachUserControllerTest.php index b0416d142..2c4f63277 100644 --- a/tests/Integration/Controller/v1/UserGroup/DetachUserControllerTest.php +++ b/tests/Integration/Controller/v1/UserGroup/DetachUserControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class DetachUserControllerTest extends KernelTestCase +final class DetachUserControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Controller/v1/UserGroup/UserGroupControllerTest.php b/tests/Integration/Controller/v1/UserGroup/UserGroupControllerTest.php index fd6355dd5..99d778674 100644 --- a/tests/Integration/Controller/v1/UserGroup/UserGroupControllerTest.php +++ b/tests/Integration/Controller/v1/UserGroup/UserGroupControllerTest.php @@ -18,7 +18,7 @@ * * @method \App\Controller\v1\UserGroup\UserGroupController getController() */ -class UserGroupControllerTest extends RestIntegrationControllerTestCase +final class UserGroupControllerTest extends RestIntegrationControllerTestCase { /** * @var class-string diff --git a/tests/Integration/Controller/v1/UserGroup/UsersControllerTest.php b/tests/Integration/Controller/v1/UserGroup/UsersControllerTest.php index 063a06550..ca8d83964 100644 --- a/tests/Integration/Controller/v1/UserGroup/UsersControllerTest.php +++ b/tests/Integration/Controller/v1/UserGroup/UsersControllerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Controller\v1\UserGroup * @author TLe, Tarmo Leppänen */ -class UsersControllerTest extends KernelTestCase +final class UsersControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/DTO/ApiKey/ApiKeyCreateTest.php b/tests/Integration/DTO/ApiKey/ApiKeyCreateTest.php index ed0b78b62..6dacd9fb7 100644 --- a/tests/Integration/DTO/ApiKey/ApiKeyCreateTest.php +++ b/tests/Integration/DTO/ApiKey/ApiKeyCreateTest.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\DTO\ApiKey * @author TLe, Tarmo Leppänen */ -class ApiKeyCreateTest extends DtoTestCase +final class ApiKeyCreateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/ApiKey/ApiKeyPatchTest.php b/tests/Integration/DTO/ApiKey/ApiKeyPatchTest.php index f47f2b7a2..2e76dcfec 100644 --- a/tests/Integration/DTO/ApiKey/ApiKeyPatchTest.php +++ b/tests/Integration/DTO/ApiKey/ApiKeyPatchTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\DTO\ApiKey * @author TLe, Tarmo Leppänen */ -class ApiKeyPatchTest extends DtoTestCase +final class ApiKeyPatchTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/ApiKey/ApiKeyTest.php b/tests/Integration/DTO/ApiKey/ApiKeyTest.php index ffa01bfff..1e0f4fe8e 100644 --- a/tests/Integration/DTO/ApiKey/ApiKeyTest.php +++ b/tests/Integration/DTO/ApiKey/ApiKeyTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\DTO * @author TLe, Tarmo Leppänen */ -class ApiKeyTest extends DtoTestCase +final class ApiKeyTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/ApiKey/ApiKeyUpdateTest.php b/tests/Integration/DTO/ApiKey/ApiKeyUpdateTest.php index d0d1084c5..e5e23092e 100644 --- a/tests/Integration/DTO/ApiKey/ApiKeyUpdateTest.php +++ b/tests/Integration/DTO/ApiKey/ApiKeyUpdateTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\DTO\ApiKey * @author TLe, Tarmo Leppänen */ -class ApiKeyUpdateTest extends DtoTestCase +final class ApiKeyUpdateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/GenericDtoTest.php b/tests/Integration/DTO/GenericDtoTest.php index e2c4c1d01..c0659d297 100644 --- a/tests/Integration/DTO/GenericDtoTest.php +++ b/tests/Integration/DTO/GenericDtoTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\DTO * @author TLe, Tarmo Leppänen */ -class GenericDtoTest extends KernelTestCase +final class GenericDtoTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/DTO/User/UserCreateTest.php b/tests/Integration/DTO/User/UserCreateTest.php index 0c08c5023..3e64bce50 100644 --- a/tests/Integration/DTO/User/UserCreateTest.php +++ b/tests/Integration/DTO/User/UserCreateTest.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\DTO\User * @author TLe, Tarmo Leppänen */ -class UserCreateTest extends DtoTestCase +final class UserCreateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/User/UserPatchTest.php b/tests/Integration/DTO/User/UserPatchTest.php index f60cded97..269fdf2a1 100644 --- a/tests/Integration/DTO/User/UserPatchTest.php +++ b/tests/Integration/DTO/User/UserPatchTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\DTO\User * @author TLe, Tarmo Leppänen */ -class UserPatchTest extends DtoTestCase +final class UserPatchTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/User/UserTest.php b/tests/Integration/DTO/User/UserTest.php index e1a466211..cba026ce3 100644 --- a/tests/Integration/DTO/User/UserTest.php +++ b/tests/Integration/DTO/User/UserTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\DTO * @author TLe, Tarmo Leppänen */ -class UserTest extends DtoTestCase +final class UserTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/User/UserUpdateTest.php b/tests/Integration/DTO/User/UserUpdateTest.php index 123e33f5c..260dcda27 100644 --- a/tests/Integration/DTO/User/UserUpdateTest.php +++ b/tests/Integration/DTO/User/UserUpdateTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\DTO\User * @author TLe, Tarmo Leppänen */ -class UserUpdateTest extends DtoTestCase +final class UserUpdateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/UserGroup/UserGroupCreateTest.php b/tests/Integration/DTO/UserGroup/UserGroupCreateTest.php index 03454f230..1942a8701 100644 --- a/tests/Integration/DTO/UserGroup/UserGroupCreateTest.php +++ b/tests/Integration/DTO/UserGroup/UserGroupCreateTest.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\DTO\UserGroup * @author TLe, Tarmo Leppänen */ -class UserGroupCreateTest extends DtoTestCase +final class UserGroupCreateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/UserGroup/UserGroupPatchTest.php b/tests/Integration/DTO/UserGroup/UserGroupPatchTest.php index 6a9caf05f..e65997680 100644 --- a/tests/Integration/DTO/UserGroup/UserGroupPatchTest.php +++ b/tests/Integration/DTO/UserGroup/UserGroupPatchTest.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\DTO\UserGroup * @author TLe, Tarmo Leppänen */ -class UserGroupPatchTest extends DtoTestCase +final class UserGroupPatchTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/UserGroup/UserGroupTest.php b/tests/Integration/DTO/UserGroup/UserGroupTest.php index 472dce7bf..ea2bd5f83 100644 --- a/tests/Integration/DTO/UserGroup/UserGroupTest.php +++ b/tests/Integration/DTO/UserGroup/UserGroupTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Integration\DTO * @author TLe, Tarmo Leppänen */ -class UserGroupTest extends DtoTestCase +final class UserGroupTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/UserGroup/UserGroupUpdateTest.php b/tests/Integration/DTO/UserGroup/UserGroupUpdateTest.php index a202d4fff..a672012b9 100644 --- a/tests/Integration/DTO/UserGroup/UserGroupUpdateTest.php +++ b/tests/Integration/DTO/UserGroup/UserGroupUpdateTest.php @@ -15,7 +15,7 @@ * @package App\Tests\Integration\DTO\UserGroup * @author TLe, Tarmo Leppänen */ -class UserGroupUpdateTest extends DtoTestCase +final class UserGroupUpdateTest extends DtoTestCase { /** * @psalm-var class-string diff --git a/tests/Integration/DTO/src/DummyDto.php b/tests/Integration/DTO/src/DummyDto.php index 087db4143..5f53e665b 100644 --- a/tests/Integration/DTO/src/DummyDto.php +++ b/tests/Integration/DTO/src/DummyDto.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Dto\src * @author TLe, Tarmo Leppänen */ -class DummyDto extends RestDto +final class DummyDto extends RestDto { private string $foo = ''; diff --git a/tests/Integration/Decorator/StopwatchDecoratorTest.php b/tests/Integration/Decorator/StopwatchDecoratorTest.php index 3f21c3a49..3f2c80652 100644 --- a/tests/Integration/Decorator/StopwatchDecoratorTest.php +++ b/tests/Integration/Decorator/StopwatchDecoratorTest.php @@ -31,7 +31,7 @@ * @package App\Tests\Decorator\Service * @author TLe, Tarmo Leppänen */ -class StopwatchDecoratorTest extends KernelTestCase +final class StopwatchDecoratorTest extends KernelTestCase { /** * @param class-string $expected diff --git a/tests/Integration/Doctrine/DBAL/Types/EnumLanguageTypeTest.php b/tests/Integration/Doctrine/DBAL/Types/EnumLanguageTypeTest.php index a2ae2f848..f556a0064 100644 --- a/tests/Integration/Doctrine/DBAL/Types/EnumLanguageTypeTest.php +++ b/tests/Integration/Doctrine/DBAL/Types/EnumLanguageTypeTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\Doctrine\DBAL\Types * @author TLe, Tarmo Leppänen */ -class EnumLanguageTypeTest extends KernelTestCase +final class EnumLanguageTypeTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Doctrine/DBAL/Types/EnumLocaleTypeTest.php b/tests/Integration/Doctrine/DBAL/Types/EnumLocaleTypeTest.php index 961d4716e..e1e841ed3 100644 --- a/tests/Integration/Doctrine/DBAL/Types/EnumLocaleTypeTest.php +++ b/tests/Integration/Doctrine/DBAL/Types/EnumLocaleTypeTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\Doctrine\DBAL\Types * @author TLe, Tarmo Leppänen */ -class EnumLocaleTypeTest extends KernelTestCase +final class EnumLocaleTypeTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Doctrine/DBAL/Types/EnumLogLoginTypeTest.php b/tests/Integration/Doctrine/DBAL/Types/EnumLogLoginTypeTest.php index c193b76bb..2b0961a9c 100644 --- a/tests/Integration/Doctrine/DBAL/Types/EnumLogLoginTypeTest.php +++ b/tests/Integration/Doctrine/DBAL/Types/EnumLogLoginTypeTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\Doctrine\DBAL\Types * @author TLe, Tarmo Leppänen */ -class EnumLogLoginTypeTest extends KernelTestCase +final class EnumLogLoginTypeTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Doctrine/DBAL/Types/UTCDateTimeTypeTest.php b/tests/Integration/Doctrine/DBAL/Types/UTCDateTimeTypeTest.php index 94c403b64..57ddc150b 100644 --- a/tests/Integration/Doctrine/DBAL/Types/UTCDateTimeTypeTest.php +++ b/tests/Integration/Doctrine/DBAL/Types/UTCDateTimeTypeTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\Doctrine\DBAL\Types * @author TLe, Tarmo Leppänen */ -class UTCDateTimeTypeTest extends KernelTestCase +final class UTCDateTimeTypeTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Entity/ApiKeyTest.php b/tests/Integration/Entity/ApiKeyTest.php index 464cb130d..440f04747 100644 --- a/tests/Integration/Entity/ApiKeyTest.php +++ b/tests/Integration/Entity/ApiKeyTest.php @@ -26,7 +26,7 @@ * * @method ApiKey getEntity() */ -class ApiKeyTest extends EntityTestCase +final class ApiKeyTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/DateDimensionTest.php b/tests/Integration/Entity/DateDimensionTest.php index fdb222089..721fc24dc 100644 --- a/tests/Integration/Entity/DateDimensionTest.php +++ b/tests/Integration/Entity/DateDimensionTest.php @@ -25,7 +25,7 @@ * * @method DateDimension getEntity() */ -class DateDimensionTest extends EntityTestCase +final class DateDimensionTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/HealthzTest.php b/tests/Integration/Entity/HealthzTest.php index c68c4fbfe..b317d37f2 100644 --- a/tests/Integration/Entity/HealthzTest.php +++ b/tests/Integration/Entity/HealthzTest.php @@ -17,7 +17,7 @@ * * @method Healthz getEntity() */ -class HealthzTest extends EntityTestCase +final class HealthzTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/LogLoginFailureTest.php b/tests/Integration/Entity/LogLoginFailureTest.php index 40b823845..b1fcb1ff5 100644 --- a/tests/Integration/Entity/LogLoginFailureTest.php +++ b/tests/Integration/Entity/LogLoginFailureTest.php @@ -25,7 +25,7 @@ * * @method LogLoginFailure getEntity() */ -class LogLoginFailureTest extends EntityTestCase +final class LogLoginFailureTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/LogLoginTest.php b/tests/Integration/Entity/LogLoginTest.php index 625542db2..69fde5696 100644 --- a/tests/Integration/Entity/LogLoginTest.php +++ b/tests/Integration/Entity/LogLoginTest.php @@ -30,7 +30,7 @@ * * @method LogLogin getEntity() */ -class LogLoginTest extends EntityTestCase +final class LogLoginTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/LogRequestTest.php b/tests/Integration/Entity/LogRequestTest.php index ed0d1d620..2b467ecd4 100644 --- a/tests/Integration/Entity/LogRequestTest.php +++ b/tests/Integration/Entity/LogRequestTest.php @@ -35,7 +35,7 @@ * * @method LogRequest getEntity() */ -class LogRequestTest extends EntityTestCase +final class LogRequestTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/RoleTest.php b/tests/Integration/Entity/RoleTest.php index 2b868e171..d233f81cb 100644 --- a/tests/Integration/Entity/RoleTest.php +++ b/tests/Integration/Entity/RoleTest.php @@ -18,7 +18,7 @@ * * @method Role getEntity() */ -class RoleTest extends EntityTestCase +final class RoleTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/UserGroupTest.php b/tests/Integration/Entity/UserGroupTest.php index ac290b70d..4ab708960 100644 --- a/tests/Integration/Entity/UserGroupTest.php +++ b/tests/Integration/Entity/UserGroupTest.php @@ -17,7 +17,7 @@ * * @method UserGroup getEntity() */ -class UserGroupTest extends EntityTestCase +final class UserGroupTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/Entity/UserTest.php b/tests/Integration/Entity/UserTest.php index 1c18e3200..f7fb269bf 100644 --- a/tests/Integration/Entity/UserTest.php +++ b/tests/Integration/Entity/UserTest.php @@ -24,7 +24,7 @@ * * @method User getEntity() */ -class UserTest extends EntityTestCase +final class UserTest extends EntityTestCase { /** * @var class-string diff --git a/tests/Integration/EventListener/UserEntityEventListenerTest.php b/tests/Integration/EventListener/UserEntityEventListenerTest.php index 95c237e17..561365fac 100644 --- a/tests/Integration/EventListener/UserEntityEventListenerTest.php +++ b/tests/Integration/EventListener/UserEntityEventListenerTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class UserEntityEventListenerTest extends KernelTestCase +final class UserEntityEventListenerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/AcceptLanguageSubscriberTest.php b/tests/Integration/EventSubscriber/AcceptLanguageSubscriberTest.php index 5b1a69f6d..b85c89074 100644 --- a/tests/Integration/EventSubscriber/AcceptLanguageSubscriberTest.php +++ b/tests/Integration/EventSubscriber/AcceptLanguageSubscriberTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AcceptLanguageSubscriberTest extends KernelTestCase +final class AcceptLanguageSubscriberTest extends KernelTestCase { #[TestDox('Test that specific default language is set')] public function testThatSpecifiedDefaultLanguageIsSet(): void diff --git a/tests/Integration/EventSubscriber/AuthenticationFailureSubscriberTest.php b/tests/Integration/EventSubscriber/AuthenticationFailureSubscriberTest.php index 3bfb771de..2c6413759 100644 --- a/tests/Integration/EventSubscriber/AuthenticationFailureSubscriberTest.php +++ b/tests/Integration/EventSubscriber/AuthenticationFailureSubscriberTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AuthenticationFailureSubscriberTest extends KernelTestCase +final class AuthenticationFailureSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/AuthenticationSuccessSubscriberTest.php b/tests/Integration/EventSubscriber/AuthenticationSuccessSubscriberTest.php index 8f25bb18b..434cadd05 100644 --- a/tests/Integration/EventSubscriber/AuthenticationSuccessSubscriberTest.php +++ b/tests/Integration/EventSubscriber/AuthenticationSuccessSubscriberTest.php @@ -22,7 +22,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AuthenticationSuccessSubscriberTest extends KernelTestCase +final class AuthenticationSuccessSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/BodySubscriberTest.php b/tests/Integration/EventSubscriber/BodySubscriberTest.php index 2b154974e..ea2b86d6c 100644 --- a/tests/Integration/EventSubscriber/BodySubscriberTest.php +++ b/tests/Integration/EventSubscriber/BodySubscriberTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class BodySubscriberTest extends KernelTestCase +final class BodySubscriberTest extends KernelTestCase { /** * @throws JsonException diff --git a/tests/Integration/EventSubscriber/DoctrineExtensionSubscriberTest.php b/tests/Integration/EventSubscriber/DoctrineExtensionSubscriberTest.php index 407a559b2..85a510810 100644 --- a/tests/Integration/EventSubscriber/DoctrineExtensionSubscriberTest.php +++ b/tests/Integration/EventSubscriber/DoctrineExtensionSubscriberTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class DoctrineExtensionSubscriberTest extends KernelTestCase +final class DoctrineExtensionSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/ExceptionSubscriberTest.php b/tests/Integration/EventSubscriber/ExceptionSubscriberTest.php index 2e72c7b7e..7e167adda 100644 --- a/tests/Integration/EventSubscriber/ExceptionSubscriberTest.php +++ b/tests/Integration/EventSubscriber/ExceptionSubscriberTest.php @@ -46,7 +46,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class ExceptionSubscriberTest extends KernelTestCase +final class ExceptionSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/JWTCreatedSubscriberTest.php b/tests/Integration/EventSubscriber/JWTCreatedSubscriberTest.php index 907279e5e..2831062d2 100644 --- a/tests/Integration/EventSubscriber/JWTCreatedSubscriberTest.php +++ b/tests/Integration/EventSubscriber/JWTCreatedSubscriberTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class JWTCreatedSubscriberTest extends KernelTestCase +final class JWTCreatedSubscriberTest extends KernelTestCase { public function testThatPayloadContainsExpectedDataWhenRequestIsPresent(): void { diff --git a/tests/Integration/EventSubscriber/JWTDecodedSubscriberTest.php b/tests/Integration/EventSubscriber/JWTDecodedSubscriberTest.php index d96290025..96f5582b7 100644 --- a/tests/Integration/EventSubscriber/JWTDecodedSubscriberTest.php +++ b/tests/Integration/EventSubscriber/JWTDecodedSubscriberTest.php @@ -22,7 +22,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class JWTDecodedSubscriberTest extends KernelTestCase +final class JWTDecodedSubscriberTest extends KernelTestCase { public function testThatJwtIsMarkedInvalidIfChecksumDiffers(): void { diff --git a/tests/Integration/EventSubscriber/LockedUserSubscriberTest.php b/tests/Integration/EventSubscriber/LockedUserSubscriberTest.php index 611934e3f..e89fc3dfc 100644 --- a/tests/Integration/EventSubscriber/LockedUserSubscriberTest.php +++ b/tests/Integration/EventSubscriber/LockedUserSubscriberTest.php @@ -34,7 +34,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class LockedUserSubscriberTest extends KernelTestCase +final class LockedUserSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/RequestLogSubscriberTest.php b/tests/Integration/EventSubscriber/RequestLogSubscriberTest.php index 2179024a4..a281fa2fd 100644 --- a/tests/Integration/EventSubscriber/RequestLogSubscriberTest.php +++ b/tests/Integration/EventSubscriber/RequestLogSubscriberTest.php @@ -29,7 +29,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class RequestLogSubscriberTest extends KernelTestCase +final class RequestLogSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/EventSubscriber/ResponseSubscriberTest.php b/tests/Integration/EventSubscriber/ResponseSubscriberTest.php index 0772537f7..f4dc1ffa5 100644 --- a/tests/Integration/EventSubscriber/ResponseSubscriberTest.php +++ b/tests/Integration/EventSubscriber/ResponseSubscriberTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\EventSubscriber * @author TLe, Tarmo Leppänen */ -class ResponseSubscriberTest extends KernelTestCase +final class ResponseSubscriberTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Form/DataTransformer/RoleTransformerTest.php b/tests/Integration/Form/DataTransformer/RoleTransformerTest.php index 46fface02..9141327b1 100644 --- a/tests/Integration/Form/DataTransformer/RoleTransformerTest.php +++ b/tests/Integration/Form/DataTransformer/RoleTransformerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Form\Console\DataTransformer * @author TLe, Tarmo Leppänen */ -class RoleTransformerTest extends KernelTestCase +final class RoleTransformerTest extends KernelTestCase { #[DataProvider('dataProviderTestThatTransformReturnsExpected')] #[TestDox('Test that `transform` method returns `$expected` when using `$input` as input')] diff --git a/tests/Integration/Form/DataTransformer/UserGroupTransformerTest.php b/tests/Integration/Form/DataTransformer/UserGroupTransformerTest.php index 089f4acad..bd6bc7b7b 100644 --- a/tests/Integration/Form/DataTransformer/UserGroupTransformerTest.php +++ b/tests/Integration/Form/DataTransformer/UserGroupTransformerTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\Form\Console\DataTransformer * @author TLe, Tarmo Leppänen */ -class UserGroupTransformerTest extends KernelTestCase +final class UserGroupTransformerTest extends KernelTestCase { /** * @phpstan-param StringableArrayObject $expected diff --git a/tests/Integration/Form/Type/Console/ApiKeyTypeTest.php b/tests/Integration/Form/Type/Console/ApiKeyTypeTest.php index a2fb267e3..17a028d5f 100644 --- a/tests/Integration/Form/Type/Console/ApiKeyTypeTest.php +++ b/tests/Integration/Form/Type/Console/ApiKeyTypeTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\Form\Type\Console * @author TLe, Tarmo Leppänen */ -class ApiKeyTypeTest extends TypeTestCase +final class ApiKeyTypeTest extends TypeTestCase { #[TestDox('Test that form submit with valid input data works as expected')] public function testSubmitValidData(): void diff --git a/tests/Integration/Form/Type/Console/UserGroupTypeTest.php b/tests/Integration/Form/Type/Console/UserGroupTypeTest.php index 386bc9788..762db82f7 100644 --- a/tests/Integration/Form/Type/Console/UserGroupTypeTest.php +++ b/tests/Integration/Form/Type/Console/UserGroupTypeTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\Form\Type\Console * @author TLe, Tarmo Leppänen */ -class UserGroupTypeTest extends TypeTestCase +final class UserGroupTypeTest extends TypeTestCase { #[TestDox('Test that form submit with valid input data works as expected')] public function testSubmitValidData(): void diff --git a/tests/Integration/Form/Type/Console/UserTypeTest.php b/tests/Integration/Form/Type/Console/UserTypeTest.php index e2a6df718..b9d2cadb0 100644 --- a/tests/Integration/Form/Type/Console/UserTypeTest.php +++ b/tests/Integration/Form/Type/Console/UserTypeTest.php @@ -28,7 +28,7 @@ * @package App\Tests\Integration\Form\Type\Console * @author TLe, Tarmo Leppänen */ -class UserTypeTest extends TypeTestCase +final class UserTypeTest extends TypeTestCase { #[TestDox('Test that form submit with valid input data works as expected')] public function testSubmitValidData(): void diff --git a/tests/Integration/Helpers/LoggerAwareTraitTest.php b/tests/Integration/Helpers/LoggerAwareTraitTest.php index d361dc682..9d2ba26b0 100644 --- a/tests/Integration/Helpers/LoggerAwareTraitTest.php +++ b/tests/Integration/Helpers/LoggerAwareTraitTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Helpers * @author TLe, Tarmo Leppänen */ -class LoggerAwareTraitTest extends KernelTestCase +final class LoggerAwareTraitTest extends KernelTestCase { public function testThatLoggerAttributeExists(): void { diff --git a/tests/Integration/Helpers/StopwatchAwareTraitTest.php b/tests/Integration/Helpers/StopwatchAwareTraitTest.php index c52358991..51d2c2edd 100644 --- a/tests/Integration/Helpers/StopwatchAwareTraitTest.php +++ b/tests/Integration/Helpers/StopwatchAwareTraitTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Helpers * @author TLe, Tarmo Leppänen */ -class StopwatchAwareTraitTest extends KernelTestCase +final class StopwatchAwareTraitTest extends KernelTestCase { public function testThatStopwatchAttributeExists(): void { diff --git a/tests/Integration/Helpers/src/LoggerAwareService.php b/tests/Integration/Helpers/src/LoggerAwareService.php index acc6fd267..5ade61ec2 100644 --- a/tests/Integration/Helpers/src/LoggerAwareService.php +++ b/tests/Integration/Helpers/src/LoggerAwareService.php @@ -14,7 +14,7 @@ * @package App\Tests\Integration\Helpers\src * @author TLe, Tarmo Leppänen */ -class LoggerAwareService +final class LoggerAwareService { use LoggerAwareTrait; diff --git a/tests/Integration/Helpers/src/StopwatchAwareService.php b/tests/Integration/Helpers/src/StopwatchAwareService.php index 71f50d5f6..0a3a347dc 100644 --- a/tests/Integration/Helpers/src/StopwatchAwareService.php +++ b/tests/Integration/Helpers/src/StopwatchAwareService.php @@ -14,7 +14,7 @@ * @package App\Tests\Integration\Helpers\src * @author TLe, Tarmo Leppänen */ -class StopwatchAwareService +final class StopwatchAwareService { use StopwatchAwareTrait; diff --git a/tests/Integration/Repository/ApiKeyRepositoryTest.php b/tests/Integration/Repository/ApiKeyRepositoryTest.php index bc05a280f..ccf3f175e 100644 --- a/tests/Integration/Repository/ApiKeyRepositoryTest.php +++ b/tests/Integration/Repository/ApiKeyRepositoryTest.php @@ -23,7 +23,7 @@ * @method ApiKeyResource getResource() * @method ApiKeyRepository getRepository() */ -class ApiKeyRepositoryTest extends RepositoryTestCase +final class ApiKeyRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/DateDimensionRepositoryTest.php b/tests/Integration/Repository/DateDimensionRepositoryTest.php index e95b36d2b..ed040bf84 100644 --- a/tests/Integration/Repository/DateDimensionRepositoryTest.php +++ b/tests/Integration/Repository/DateDimensionRepositoryTest.php @@ -23,7 +23,7 @@ * @method DateDimensionResource getResource() * @method DateDimensionRepository getRepository() */ -class DateDimensionRepositoryTest extends RepositoryTestCase +final class DateDimensionRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/GenericRepositoryTest.php b/tests/Integration/Repository/GenericRepositoryTest.php index becd32edc..58396bd4e 100644 --- a/tests/Integration/Repository/GenericRepositoryTest.php +++ b/tests/Integration/Repository/GenericRepositoryTest.php @@ -31,7 +31,7 @@ * @package App\Tests\Integration\Repository * @author TLe, Tarmo Leppänen */ -class GenericRepositoryTest extends KernelTestCase +final class GenericRepositoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Repository/HealthzRepositoryTest.php b/tests/Integration/Repository/HealthzRepositoryTest.php index 5b775ea87..4dde0b946 100644 --- a/tests/Integration/Repository/HealthzRepositoryTest.php +++ b/tests/Integration/Repository/HealthzRepositoryTest.php @@ -23,7 +23,7 @@ * @method HealthzResource getResource() * @method HealthzRepository getRepository() */ -class HealthzRepositoryTest extends RepositoryTestCase +final class HealthzRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/LogLoginFailureRepositoryTest.php b/tests/Integration/Repository/LogLoginFailureRepositoryTest.php index 209fe3d76..4346f9685 100644 --- a/tests/Integration/Repository/LogLoginFailureRepositoryTest.php +++ b/tests/Integration/Repository/LogLoginFailureRepositoryTest.php @@ -23,7 +23,7 @@ * @method LogLoginFailureResource getResource() * @method LogLoginFailureRepository getRepository() */ -class LogLoginFailureRepositoryTest extends RepositoryTestCase +final class LogLoginFailureRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/LogLoginRepositoryTest.php b/tests/Integration/Repository/LogLoginRepositoryTest.php index ae4e9c517..75c7e6d53 100644 --- a/tests/Integration/Repository/LogLoginRepositoryTest.php +++ b/tests/Integration/Repository/LogLoginRepositoryTest.php @@ -23,7 +23,7 @@ * @method LogLoginResource getResource() * @method LogLoginRepository getRepository() */ -class LogLoginRepositoryTest extends RepositoryTestCase +final class LogLoginRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/LogRequestRepositoryTest.php b/tests/Integration/Repository/LogRequestRepositoryTest.php index b86712628..dbf86715d 100644 --- a/tests/Integration/Repository/LogRequestRepositoryTest.php +++ b/tests/Integration/Repository/LogRequestRepositoryTest.php @@ -23,7 +23,7 @@ * @method LogRequestResource getResource() * @method LogRequestRepository getRepository() */ -class LogRequestRepositoryTest extends RepositoryTestCase +final class LogRequestRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/RoleRepositoryTest.php b/tests/Integration/Repository/RoleRepositoryTest.php index 52607dcc0..1ac9f6b95 100644 --- a/tests/Integration/Repository/RoleRepositoryTest.php +++ b/tests/Integration/Repository/RoleRepositoryTest.php @@ -23,7 +23,7 @@ * @method RoleResource getResource() * @method RoleRepository getRepository() */ -class RoleRepositoryTest extends RepositoryTestCase +final class RoleRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/UserGroupRepositoryTest.php b/tests/Integration/Repository/UserGroupRepositoryTest.php index def243969..f10d6616c 100644 --- a/tests/Integration/Repository/UserGroupRepositoryTest.php +++ b/tests/Integration/Repository/UserGroupRepositoryTest.php @@ -23,7 +23,7 @@ * @method UserGroupResource getResource() * @method UserGroupRepository getRepository() */ -class UserGroupRepositoryTest extends RepositoryTestCase +final class UserGroupRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Repository/UserRepositoryTest.php b/tests/Integration/Repository/UserRepositoryTest.php index 44fb60bd0..02d8c4ef7 100644 --- a/tests/Integration/Repository/UserRepositoryTest.php +++ b/tests/Integration/Repository/UserRepositoryTest.php @@ -23,7 +23,7 @@ * @method UserResource getResource() * @method UserRepository getRepository() */ -class UserRepositoryTest extends RepositoryTestCase +final class UserRepositoryTest extends RepositoryTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/ApiKeyResourceTest.php b/tests/Integration/Resource/ApiKeyResourceTest.php index 7c7007ed5..8fec7a0a6 100644 --- a/tests/Integration/Resource/ApiKeyResourceTest.php +++ b/tests/Integration/Resource/ApiKeyResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class ApiKeyResourceTest extends ResourceTestCase +final class ApiKeyResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/DateDimensionResourceTest.php b/tests/Integration/Resource/DateDimensionResourceTest.php index b9978ad21..192e00af8 100644 --- a/tests/Integration/Resource/DateDimensionResourceTest.php +++ b/tests/Integration/Resource/DateDimensionResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class DateDimensionResourceTest extends ResourceTestCase +final class DateDimensionResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/GenericResourceTest.php b/tests/Integration/Resource/GenericResourceTest.php index 5147cfec5..9583a0949 100644 --- a/tests/Integration/Resource/GenericResourceTest.php +++ b/tests/Integration/Resource/GenericResourceTest.php @@ -33,7 +33,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class GenericResourceTest extends KernelTestCase +final class GenericResourceTest extends KernelTestCase { #[TestDox('Test without DTO class `getDtoClass` method call throws an exception')] public function testThatGetDtoClassThrowsAnExceptionWithoutDto(): void diff --git a/tests/Integration/Resource/HealthzResourceTest.php b/tests/Integration/Resource/HealthzResourceTest.php index b1539c7af..39a62ae81 100644 --- a/tests/Integration/Resource/HealthzResourceTest.php +++ b/tests/Integration/Resource/HealthzResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class HealthzResourceTest extends ResourceTestCase +final class HealthzResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/LogLoginFailureResourceTest.php b/tests/Integration/Resource/LogLoginFailureResourceTest.php index 2dd471c4b..19cc8fd14 100644 --- a/tests/Integration/Resource/LogLoginFailureResourceTest.php +++ b/tests/Integration/Resource/LogLoginFailureResourceTest.php @@ -22,7 +22,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class LogLoginFailureResourceTest extends ResourceTestCase +final class LogLoginFailureResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/LogLoginResourceTest.php b/tests/Integration/Resource/LogLoginResourceTest.php index 9eede1349..de062e3f5 100644 --- a/tests/Integration/Resource/LogLoginResourceTest.php +++ b/tests/Integration/Resource/LogLoginResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class LogLoginResourceTest extends ResourceTestCase +final class LogLoginResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/LogRequestResourceTest.php b/tests/Integration/Resource/LogRequestResourceTest.php index 3c15ec567..3fd9075c8 100644 --- a/tests/Integration/Resource/LogRequestResourceTest.php +++ b/tests/Integration/Resource/LogRequestResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class LogRequestResourceTest extends ResourceTestCase +final class LogRequestResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/ResourceCollectionTest.php b/tests/Integration/Resource/ResourceCollectionTest.php index 0e2dbbcd5..aabc324bd 100644 --- a/tests/Integration/Resource/ResourceCollectionTest.php +++ b/tests/Integration/Resource/ResourceCollectionTest.php @@ -46,7 +46,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class ResourceCollectionTest extends KernelTestCase +final class ResourceCollectionTest extends KernelTestCase { public function testThatGetMethodThrowsAnException(): void { diff --git a/tests/Integration/Resource/RoleResourceTest.php b/tests/Integration/Resource/RoleResourceTest.php index 3038aff4d..19d18154b 100644 --- a/tests/Integration/Resource/RoleResourceTest.php +++ b/tests/Integration/Resource/RoleResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class RoleResourceTest extends ResourceTestCase +final class RoleResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/UserGroupResourceTest.php b/tests/Integration/Resource/UserGroupResourceTest.php index 0662252ea..9a49eb63f 100644 --- a/tests/Integration/Resource/UserGroupResourceTest.php +++ b/tests/Integration/Resource/UserGroupResourceTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class UserGroupResourceTest extends ResourceTestCase +final class UserGroupResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Resource/UserResourceTest.php b/tests/Integration/Resource/UserResourceTest.php index 2571e64e9..b90f66197 100644 --- a/tests/Integration/Resource/UserResourceTest.php +++ b/tests/Integration/Resource/UserResourceTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\Resource * @author TLe, Tarmo Leppänen */ -class UserResourceTest extends ResourceTestCase +final class UserResourceTest extends ResourceTestCase { /** * @var class-string diff --git a/tests/Integration/Rest/ControllerCollectionTest.php b/tests/Integration/Rest/ControllerCollectionTest.php index 1f9a34f36..3ca98140f 100644 --- a/tests/Integration/Rest/ControllerCollectionTest.php +++ b/tests/Integration/Rest/ControllerCollectionTest.php @@ -32,7 +32,7 @@ * @package App\Tests\Integration\Rest * @author TLe, Tarmo Leppänen */ -class ControllerCollectionTest extends KernelTestCase +final class ControllerCollectionTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/ControllerTest.php b/tests/Integration/Rest/ControllerTest.php index d36ecc554..c50abf1e2 100644 --- a/tests/Integration/Rest/ControllerTest.php +++ b/tests/Integration/Rest/ControllerTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\Rest * @author TLe, Tarmo Leppänen */ -class ControllerTest extends KernelTestCase +final class ControllerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/RepositoryHelperTest.php b/tests/Integration/Rest/RepositoryHelperTest.php index f675216e4..9381931a7 100644 --- a/tests/Integration/Rest/RepositoryHelperTest.php +++ b/tests/Integration/Rest/RepositoryHelperTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest * @author TLe, Tarmo Leppänen */ -class RepositoryHelperTest extends KernelTestCase +final class RepositoryHelperTest extends KernelTestCase { /** * @phpstan-param StringableArrayObject $input diff --git a/tests/Integration/Rest/ResponseHandlerTest.php b/tests/Integration/Rest/ResponseHandlerTest.php index 85eecf074..dafb40a77 100644 --- a/tests/Integration/Rest/ResponseHandlerTest.php +++ b/tests/Integration/Rest/ResponseHandlerTest.php @@ -28,7 +28,7 @@ * @package App\Tests\Integration\Rest * @author TLe, Tarmo Leppänen */ -class ResponseHandlerTest extends KernelTestCase +final class ResponseHandlerTest extends KernelTestCase { public function testThatGetSerializerReturnsExpected(): void { diff --git a/tests/Integration/Rest/Traits/Methods/CountMethodTest.php b/tests/Integration/Rest/Traits/Methods/CountMethodTest.php index 11673ff20..6e642a0db 100644 --- a/tests/Integration/Rest/Traits/Methods/CountMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/CountMethodTest.php @@ -33,7 +33,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class CountMethodTest extends KernelTestCase +final class CountMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/CreateMethodTest.php b/tests/Integration/Rest/Traits/Methods/CreateMethodTest.php index 1a0bffb9f..ffe94fb28 100644 --- a/tests/Integration/Rest/Traits/Methods/CreateMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/CreateMethodTest.php @@ -34,7 +34,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class CreateMethodTest extends KernelTestCase +final class CreateMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/DeleteMethodTest.php b/tests/Integration/Rest/Traits/Methods/DeleteMethodTest.php index 8c9d69c35..12587545a 100644 --- a/tests/Integration/Rest/Traits/Methods/DeleteMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/DeleteMethodTest.php @@ -34,7 +34,7 @@ * @package Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class DeleteMethodTest extends KernelTestCase +final class DeleteMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/FindMethodTest.php b/tests/Integration/Rest/Traits/Methods/FindMethodTest.php index 7b75ada1e..1ee033066 100644 --- a/tests/Integration/Rest/Traits/Methods/FindMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/FindMethodTest.php @@ -33,7 +33,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class FindMethodTest extends KernelTestCase +final class FindMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/FindOneMethodTest.php b/tests/Integration/Rest/Traits/Methods/FindOneMethodTest.php index 4a09f0a40..87a972fa0 100644 --- a/tests/Integration/Rest/Traits/Methods/FindOneMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/FindOneMethodTest.php @@ -34,7 +34,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class FindOneMethodTest extends KernelTestCase +final class FindOneMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/IdsMethodTest.php b/tests/Integration/Rest/Traits/Methods/IdsMethodTest.php index 150846089..5294f254a 100644 --- a/tests/Integration/Rest/Traits/Methods/IdsMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/IdsMethodTest.php @@ -33,7 +33,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class IdsMethodTest extends KernelTestCase +final class IdsMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/PatchMethodTest.php b/tests/Integration/Rest/Traits/Methods/PatchMethodTest.php index 7b8e15cd8..c02b1f144 100644 --- a/tests/Integration/Rest/Traits/Methods/PatchMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/PatchMethodTest.php @@ -35,7 +35,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class PatchMethodTest extends KernelTestCase +final class PatchMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/UpdateMethodTest.php b/tests/Integration/Rest/Traits/Methods/UpdateMethodTest.php index 69ea6705a..c694ee4f4 100644 --- a/tests/Integration/Rest/Traits/Methods/UpdateMethodTest.php +++ b/tests/Integration/Rest/Traits/Methods/UpdateMethodTest.php @@ -35,7 +35,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods * @author TLe, Tarmo Leppänen */ -class UpdateMethodTest extends KernelTestCase +final class UpdateMethodTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Rest/Traits/Methods/src/CountMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/CountMethodInvalidTestClass.php index 08c9ed61a..aba8eb180 100644 --- a/tests/Integration/Rest/Traits/Methods/src/CountMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/CountMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class CountMethodInvalidTestClass +final class CountMethodInvalidTestClass { use CountMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/CountMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/CountMethodTestClass.php index 0ca9bbbf2..c3296807c 100644 --- a/tests/Integration/Rest/Traits/Methods/src/CountMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/CountMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class CountMethodTestClass extends Controller +final class CountMethodTestClass extends Controller { use CountMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/CreateMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/CreateMethodInvalidTestClass.php index 8a9df17f3..cb0560ce7 100644 --- a/tests/Integration/Rest/Traits/Methods/src/CreateMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/CreateMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class CreateMethodInvalidTestClass +final class CreateMethodInvalidTestClass { use CreateMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/CreateMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/CreateMethodTestClass.php index dcfbadcdf..86e12bd6c 100644 --- a/tests/Integration/Rest/Traits/Methods/src/CreateMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/CreateMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class CreateMethodTestClass extends Controller +final class CreateMethodTestClass extends Controller { use CreateMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/DeleteMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/DeleteMethodInvalidTestClass.php index e887621f0..80b334d70 100644 --- a/tests/Integration/Rest/Traits/Methods/src/DeleteMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/DeleteMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class DeleteMethodInvalidTestClass +final class DeleteMethodInvalidTestClass { use DeleteMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/DeleteMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/DeleteMethodTestClass.php index 0f391786a..d82ef1304 100644 --- a/tests/Integration/Rest/Traits/Methods/src/DeleteMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/DeleteMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class DeleteMethodTestClass extends Controller +final class DeleteMethodTestClass extends Controller { use DeleteMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/FindMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/FindMethodInvalidTestClass.php index 167a7c9ce..26e3fc8c0 100644 --- a/tests/Integration/Rest/Traits/Methods/src/FindMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/FindMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class FindMethodInvalidTestClass +final class FindMethodInvalidTestClass { use FindMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/FindMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/FindMethodTestClass.php index 3d6e4d575..ce42dca8a 100644 --- a/tests/Integration/Rest/Traits/Methods/src/FindMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/FindMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class FindMethodTestClass extends Controller +final class FindMethodTestClass extends Controller { use FindMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/FindOneMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/FindOneMethodInvalidTestClass.php index a51ae22eb..c8399514c 100644 --- a/tests/Integration/Rest/Traits/Methods/src/FindOneMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/FindOneMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class FindOneMethodInvalidTestClass +final class FindOneMethodInvalidTestClass { use FindOneMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/FindOneMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/FindOneMethodTestClass.php index fb1ea3237..3d2cbe5c8 100644 --- a/tests/Integration/Rest/Traits/Methods/src/FindOneMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/FindOneMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class FindOneMethodTestClass extends Controller +final class FindOneMethodTestClass extends Controller { use FindOneMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/IdsMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/IdsMethodInvalidTestClass.php index af0f9b679..aa6630bc5 100644 --- a/tests/Integration/Rest/Traits/Methods/src/IdsMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/IdsMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class IdsMethodInvalidTestClass +final class IdsMethodInvalidTestClass { use IdsMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/IdsMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/IdsMethodTestClass.php index 146312959..b93fe5f78 100644 --- a/tests/Integration/Rest/Traits/Methods/src/IdsMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/IdsMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class IdsMethodTestClass extends Controller +final class IdsMethodTestClass extends Controller { use IdsMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/PatchMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/PatchMethodInvalidTestClass.php index 1872ea230..2f65d1514 100644 --- a/tests/Integration/Rest/Traits/Methods/src/PatchMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/PatchMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class PatchMethodInvalidTestClass +final class PatchMethodInvalidTestClass { use PatchMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/PatchMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/PatchMethodTestClass.php index f734028a2..b23745e27 100644 --- a/tests/Integration/Rest/Traits/Methods/src/PatchMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/PatchMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class PatchMethodTestClass extends Controller +final class PatchMethodTestClass extends Controller { use PatchMethod; diff --git a/tests/Integration/Rest/Traits/Methods/src/UpdateMethodInvalidTestClass.php b/tests/Integration/Rest/Traits/Methods/src/UpdateMethodInvalidTestClass.php index 4f2b6f8cd..d6735f495 100644 --- a/tests/Integration/Rest/Traits/Methods/src/UpdateMethodInvalidTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/UpdateMethodInvalidTestClass.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class UpdateMethodInvalidTestClass +final class UpdateMethodInvalidTestClass { use UpdateMethod; use RestActionBase; diff --git a/tests/Integration/Rest/Traits/Methods/src/UpdateMethodTestClass.php b/tests/Integration/Rest/Traits/Methods/src/UpdateMethodTestClass.php index 86cc124af..7cab6f6f9 100644 --- a/tests/Integration/Rest/Traits/Methods/src/UpdateMethodTestClass.php +++ b/tests/Integration/Rest/Traits/Methods/src/UpdateMethodTestClass.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Rest\Traits\Methods\src * @author TLe, Tarmo Leppänen */ -class UpdateMethodTestClass extends Controller +final class UpdateMethodTestClass extends Controller { use UpdateMethod; diff --git a/tests/Integration/SchemaTest.php b/tests/Integration/SchemaTest.php index 3d6fcf53c..787f13828 100644 --- a/tests/Integration/SchemaTest.php +++ b/tests/Integration/SchemaTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration * @author TLe, Tarmo Leppänen */ -class SchemaTest extends KernelTestCase +final class SchemaTest extends KernelTestCase { #[TestDox('Test that entity mappings are valid')] public function testThatMappingsAreValid(): void diff --git a/tests/Integration/Security/Authenticator/ApiKeyAuthenticatorTest.php b/tests/Integration/Security/Authenticator/ApiKeyAuthenticatorTest.php index 06001b702..ae9665e35 100644 --- a/tests/Integration/Security/Authenticator/ApiKeyAuthenticatorTest.php +++ b/tests/Integration/Security/Authenticator/ApiKeyAuthenticatorTest.php @@ -34,7 +34,7 @@ * @package App\Tests\Integration\Security\Authenticator * @author TLe, Tarmo Leppänen */ -class ApiKeyAuthenticatorTest extends KernelTestCase +final class ApiKeyAuthenticatorTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Security/Handler/TranslatedAuthenticationFailureHandlerTest.php b/tests/Integration/Security/Handler/TranslatedAuthenticationFailureHandlerTest.php index 9de87b79b..562ec42a3 100644 --- a/tests/Integration/Security/Handler/TranslatedAuthenticationFailureHandlerTest.php +++ b/tests/Integration/Security/Handler/TranslatedAuthenticationFailureHandlerTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Security\Handler * @author TLe, Tarmo Leppänen */ -class TranslatedAuthenticationFailureHandlerTest extends KernelTestCase +final class TranslatedAuthenticationFailureHandlerTest extends KernelTestCase { #[TestDox('Test that `onAuthenticationFailure` method calls expected service methods')] public function testThatOnAuthenticationFailureMethodCallsExpectedServiceMethods(): void diff --git a/tests/Integration/Security/Provider/ApiKeyUserProviderTest.php b/tests/Integration/Security/Provider/ApiKeyUserProviderTest.php index 8c6a3161b..4444db9af 100644 --- a/tests/Integration/Security/Provider/ApiKeyUserProviderTest.php +++ b/tests/Integration/Security/Provider/ApiKeyUserProviderTest.php @@ -29,7 +29,7 @@ * @package App\Tests\Integration\Security\Provider * @author TLe, Tarmo Leppänen */ -class ApiKeyUserProviderTest extends KernelTestCase +final class ApiKeyUserProviderTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Security/Provider/SecurityUserFactoryTest.php b/tests/Integration/Security/Provider/SecurityUserFactoryTest.php index 87a9d6c5b..7c067de62 100644 --- a/tests/Integration/Security/Provider/SecurityUserFactoryTest.php +++ b/tests/Integration/Security/Provider/SecurityUserFactoryTest.php @@ -30,7 +30,7 @@ * @package App\Tests\Integration\Security\Provider * @author TLe, Tarmo Leppänen */ -class SecurityUserFactoryTest extends KernelTestCase +final class SecurityUserFactoryTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Security/RolesServiceTest.php b/tests/Integration/Security/RolesServiceTest.php index fa176e2e3..fca4c4258 100644 --- a/tests/Integration/Security/RolesServiceTest.php +++ b/tests/Integration/Security/RolesServiceTest.php @@ -21,7 +21,7 @@ * @package App\Tests\Integration\Security * @author TLe, Tarmo Leppänen */ -class RolesServiceTest extends KernelTestCase +final class RolesServiceTest extends KernelTestCase { #[TestDox('Test that `getInheritedRoles(array $roles)` method calls expected service method')] public function testThatGetInheritedRolesMethodCallsExpectedServiceMethod(): void diff --git a/tests/Integration/Security/UserTypeIdentificationTest.php b/tests/Integration/Security/UserTypeIdentificationTest.php index 5d196c746..473f3a91a 100644 --- a/tests/Integration/Security/UserTypeIdentificationTest.php +++ b/tests/Integration/Security/UserTypeIdentificationTest.php @@ -32,7 +32,7 @@ * @package App\Tests\Integration\Security * @author TLe, Tarmo Leppänen */ -class UserTypeIdentificationTest extends KernelTestCase +final class UserTypeIdentificationTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Security/Voter/IsUserHimselfVoterTest.php b/tests/Integration/Security/Voter/IsUserHimselfVoterTest.php index 9ce26dbab..43fb53868 100644 --- a/tests/Integration/Security/Voter/IsUserHimselfVoterTest.php +++ b/tests/Integration/Security/Voter/IsUserHimselfVoterTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Security\Voter * @author TLe, Tarmo Leppänen */ -class IsUserHimselfVoterTest extends KernelTestCase +final class IsUserHimselfVoterTest extends KernelTestCase { #[TestDox('Test that `vote` method returns `Voter::ACCESS_ABSTAIN` when subject is not supported')] public function testThatVoteReturnsExpectedIfSubjectIsNotSupported(): void diff --git a/tests/Integration/Service/LocalizationTest.php b/tests/Integration/Service/LocalizationTest.php index 0063ac140..8e871164b 100644 --- a/tests/Integration/Service/LocalizationTest.php +++ b/tests/Integration/Service/LocalizationTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Integration\Service * @author TLe, Tarmo Leppänen */ -class LocalizationTest extends KernelTestCase +final class LocalizationTest extends KernelTestCase { #[TestDox('Test that `getLanguages` returns expected')] public function testThatGetLanguagesReturnsExpected(): void diff --git a/tests/Integration/Service/VersionTest.php b/tests/Integration/Service/VersionTest.php index a5bb3f513..5fb42f323 100644 --- a/tests/Integration/Service/VersionTest.php +++ b/tests/Integration/Service/VersionTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Service * @author TLe, Tarmo Leppänen */ -class VersionTest extends KernelTestCase +final class VersionTest extends KernelTestCase { #[TestDox('Test that `LoggerInterface::error` method is called when `CacheInterface')] public function testThatLoggerIsCalledWhenCacheThrowsAnException(): void diff --git a/tests/Integration/Utils/HealthzServiceTest.php b/tests/Integration/Utils/HealthzServiceTest.php index 4d43c0c64..cc2aaaf24 100644 --- a/tests/Integration/Utils/HealthzServiceTest.php +++ b/tests/Integration/Utils/HealthzServiceTest.php @@ -19,7 +19,7 @@ * @package App\Tests\Integration\Utils * @author TLe, Tarmo Leppänen */ -class HealthzServiceTest extends KernelTestCase +final class HealthzServiceTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Utils/LoginLoggerTest.php b/tests/Integration/Utils/LoginLoggerTest.php index 166747243..009115cb9 100644 --- a/tests/Integration/Utils/LoginLoggerTest.php +++ b/tests/Integration/Utils/LoginLoggerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Integration\Utils * @author TLe, Tarmo Leppänen */ -class LoginLoggerTest extends KernelTestCase +final class LoginLoggerTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Utils/RequestLoggerTest.php b/tests/Integration/Utils/RequestLoggerTest.php index e0a57b387..d5fb786a7 100644 --- a/tests/Integration/Utils/RequestLoggerTest.php +++ b/tests/Integration/Utils/RequestLoggerTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\Utils * @author TLe, Tarmo Leppänen */ -class RequestLoggerTest extends KernelTestCase +final class RequestLoggerTest extends KernelTestCase { #[TestDox('Test that log is not created if `Request` and `Response` object are not set')] public function testThatLogIsNotCreatedIfRequestAndResponseObjectsAreNotSet(): void diff --git a/tests/Integration/Validator/Constraints/EntityReferenceExistsValidatorTest.php b/tests/Integration/Validator/Constraints/EntityReferenceExistsValidatorTest.php index c095ce653..5dd04b76b 100644 --- a/tests/Integration/Validator/Constraints/EntityReferenceExistsValidatorTest.php +++ b/tests/Integration/Validator/Constraints/EntityReferenceExistsValidatorTest.php @@ -29,7 +29,7 @@ * @package App\Tests\Integration\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class EntityReferenceExistsValidatorTest extends KernelTestCase +final class EntityReferenceExistsValidatorTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Validator/Constraints/LanguageValidatorTest.php b/tests/Integration/Validator/Constraints/LanguageValidatorTest.php index a08fb0a1a..e00936439 100644 --- a/tests/Integration/Validator/Constraints/LanguageValidatorTest.php +++ b/tests/Integration/Validator/Constraints/LanguageValidatorTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class LanguageValidatorTest extends KernelTestCase +final class LanguageValidatorTest extends KernelTestCase { #[TestDox('Test that `LanguageValidator::validate` method calls expected service methods')] public function testThatValidateCallsExpectedMethods(): void diff --git a/tests/Integration/Validator/Constraints/LocaleValidatorTest.php b/tests/Integration/Validator/Constraints/LocaleValidatorTest.php index a3b66a648..4a5e895bf 100644 --- a/tests/Integration/Validator/Constraints/LocaleValidatorTest.php +++ b/tests/Integration/Validator/Constraints/LocaleValidatorTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class LocaleValidatorTest extends KernelTestCase +final class LocaleValidatorTest extends KernelTestCase { #[TestDox('Test that `LocaleValidator::validate` method calls expected service methods')] public function testThatValidateCallsExpectedMethods(): void diff --git a/tests/Integration/Validator/Constraints/TimezoneValidatorTest.php b/tests/Integration/Validator/Constraints/TimezoneValidatorTest.php index eb80df1e2..f6ffc71d6 100644 --- a/tests/Integration/Validator/Constraints/TimezoneValidatorTest.php +++ b/tests/Integration/Validator/Constraints/TimezoneValidatorTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Integration\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class TimezoneValidatorTest extends KernelTestCase +final class TimezoneValidatorTest extends KernelTestCase { #[TestDox('Test that `TimezoneValidator::validate` method calls expected service methods')] public function testThatValidateCallsExpectedMethods(): void diff --git a/tests/Integration/Validator/Constraints/UniqueEmailValidatorTest.php b/tests/Integration/Validator/Constraints/UniqueEmailValidatorTest.php index f5a5592a0..4c6e4bf57 100644 --- a/tests/Integration/Validator/Constraints/UniqueEmailValidatorTest.php +++ b/tests/Integration/Validator/Constraints/UniqueEmailValidatorTest.php @@ -22,7 +22,7 @@ * @package App\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class UniqueEmailValidatorTest extends KernelTestCase +final class UniqueEmailValidatorTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Validator/Constraints/UniqueUsernameValidatorTest.php b/tests/Integration/Validator/Constraints/UniqueUsernameValidatorTest.php index 208118908..366f8efea 100644 --- a/tests/Integration/Validator/Constraints/UniqueUsernameValidatorTest.php +++ b/tests/Integration/Validator/Constraints/UniqueUsernameValidatorTest.php @@ -22,7 +22,7 @@ * @package App\Tests\Integration\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class UniqueUsernameValidatorTest extends KernelTestCase +final class UniqueUsernameValidatorTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/Validator/Constraints/src/TestConstraint.php b/tests/Integration/Validator/Constraints/src/TestConstraint.php index 2682bc7f4..9027057d8 100644 --- a/tests/Integration/Validator/Constraints/src/TestConstraint.php +++ b/tests/Integration/Validator/Constraints/src/TestConstraint.php @@ -14,6 +14,6 @@ * @package App\Tests\Integration\Validator\Constraints\src * @author TLe, Tarmo Leppänen */ -class TestConstraint extends Constraint +final class TestConstraint extends Constraint { } diff --git a/tests/Integration/Validator/Constraints/src/TestEntityReference.php b/tests/Integration/Validator/Constraints/src/TestEntityReference.php index 1247cb2d4..05f03455e 100644 --- a/tests/Integration/Validator/Constraints/src/TestEntityReference.php +++ b/tests/Integration/Validator/Constraints/src/TestEntityReference.php @@ -17,7 +17,7 @@ * @package App\Tests\Integration\Validator\Constraints\src * @author TLe, Tarmo Leppänen */ -class TestEntityReference implements EntityInterface +final class TestEntityReference implements EntityInterface { public function __construct( private readonly bool $throwException = false diff --git a/tests/Integration/ValueResolver/EntityValueResolverTest.php b/tests/Integration/ValueResolver/EntityValueResolverTest.php index a58f7c961..53c3ad925 100644 --- a/tests/Integration/ValueResolver/EntityValueResolverTest.php +++ b/tests/Integration/ValueResolver/EntityValueResolverTest.php @@ -24,7 +24,7 @@ * @package App\Tests\Integration\ValueResolver * @author TLe, Tarmo Leppänen */ -class EntityValueResolverTest extends KernelTestCase +final class EntityValueResolverTest extends KernelTestCase { public function testThatSupportsReturnFalseWithNotSupportedRequestParameterType(): void { diff --git a/tests/Integration/ValueResolver/LoggedInUserValueResolverTest.php b/tests/Integration/ValueResolver/LoggedInUserValueResolverTest.php index dfdff3102..1ab28d5eb 100644 --- a/tests/Integration/ValueResolver/LoggedInUserValueResolverTest.php +++ b/tests/Integration/ValueResolver/LoggedInUserValueResolverTest.php @@ -29,7 +29,7 @@ * @package App\Tests\Integration\ValueResolver * @author TLe, Tarmo Leppänen */ -class LoggedInUserValueResolverTest extends KernelTestCase +final class LoggedInUserValueResolverTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Integration/ValueResolver/RestDtoValueResolverTest.php b/tests/Integration/ValueResolver/RestDtoValueResolverTest.php index 2490000e4..44645c75b 100644 --- a/tests/Integration/ValueResolver/RestDtoValueResolverTest.php +++ b/tests/Integration/ValueResolver/RestDtoValueResolverTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Integration\ValueResolver * @author TLe, Tarmo Leppänen */ -class RestDtoValueResolverTest extends KernelTestCase +final class RestDtoValueResolverTest extends KernelTestCase { #[DataProvider('dataProviderTestThatSupportMethodWorksAsExpected')] #[TestDox('Test that `supports` method returns expected result `$expected`')] diff --git a/tests/Unit/Entity/ApiKeyTest.php b/tests/Unit/Entity/ApiKeyTest.php index a4bc429f7..2fd19dd22 100644 --- a/tests/Unit/Entity/ApiKeyTest.php +++ b/tests/Unit/Entity/ApiKeyTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class ApiKeyTest extends KernelTestCase +final class ApiKeyTest extends KernelTestCase { #[TestDox('Test that token is generated on creation of ApiKey entity')] public function testThatTokenIsGenerated(): void diff --git a/tests/Unit/Entity/DateDimensionTest.php b/tests/Unit/Entity/DateDimensionTest.php index a69106a60..08e7cb560 100644 --- a/tests/Unit/Entity/DateDimensionTest.php +++ b/tests/Unit/Entity/DateDimensionTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class DateDimensionTest extends KernelTestCase +final class DateDimensionTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Unit/Entity/LogLoginTest.php b/tests/Unit/Entity/LogLoginTest.php index a232a1731..378864cc4 100644 --- a/tests/Unit/Entity/LogLoginTest.php +++ b/tests/Unit/Entity/LogLoginTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class LogLoginTest extends KernelTestCase +final class LogLoginTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Unit/Entity/LogRequestTest.php b/tests/Unit/Entity/LogRequestTest.php index 1cd05e7f5..8fc2dba68 100644 --- a/tests/Unit/Entity/LogRequestTest.php +++ b/tests/Unit/Entity/LogRequestTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class LogRequestTest extends KernelTestCase +final class LogRequestTest extends KernelTestCase { /** * @throws Throwable diff --git a/tests/Unit/Entity/RoleTest.php b/tests/Unit/Entity/RoleTest.php index c3045c485..ab72a498e 100644 --- a/tests/Unit/Entity/RoleTest.php +++ b/tests/Unit/Entity/RoleTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class RoleTest extends KernelTestCase +final class RoleTest extends KernelTestCase { #[TestDox('Test that `Role::getUserGroups` returns expected')] public function testThatGetUserGroupsWorksLikeExpected(): void diff --git a/tests/Unit/Entity/UserGroupTest.php b/tests/Unit/Entity/UserGroupTest.php index 107c5ced3..4c567545c 100644 --- a/tests/Unit/Entity/UserGroupTest.php +++ b/tests/Unit/Entity/UserGroupTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Entity * @author TLe, Tarmo Leppänen */ -class UserGroupTest extends KernelTestCase +final class UserGroupTest extends KernelTestCase { #[TestDox('Test that `UserGroup::__toString` method returns expected')] public function testThatToStringMethodReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/AcceptLanguageSubscriberTest.php b/tests/Unit/EventSubscriber/AcceptLanguageSubscriberTest.php index e2613ca46..9037f159f 100644 --- a/tests/Unit/EventSubscriber/AcceptLanguageSubscriberTest.php +++ b/tests/Unit/EventSubscriber/AcceptLanguageSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AcceptLanguageSubscriberTest extends KernelTestCase +final class AcceptLanguageSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/AuthenticationFailureSubscriberTest.php b/tests/Unit/EventSubscriber/AuthenticationFailureSubscriberTest.php index 815b74b86..70b6a51dd 100644 --- a/tests/Unit/EventSubscriber/AuthenticationFailureSubscriberTest.php +++ b/tests/Unit/EventSubscriber/AuthenticationFailureSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AuthenticationFailureSubscriberTest extends KernelTestCase +final class AuthenticationFailureSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/AuthenticationSuccessSubscriberTest.php b/tests/Unit/EventSubscriber/AuthenticationSuccessSubscriberTest.php index 842c29ee7..b64980604 100644 --- a/tests/Unit/EventSubscriber/AuthenticationSuccessSubscriberTest.php +++ b/tests/Unit/EventSubscriber/AuthenticationSuccessSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class AuthenticationSuccessSubscriberTest extends KernelTestCase +final class AuthenticationSuccessSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/BodySubscriberTest.php b/tests/Unit/EventSubscriber/BodySubscriberTest.php index d0b23286f..a7d07934b 100644 --- a/tests/Unit/EventSubscriber/BodySubscriberTest.php +++ b/tests/Unit/EventSubscriber/BodySubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class BodySubscriberTest extends KernelTestCase +final class BodySubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/DoctrineExtensionSubscriberTest.php b/tests/Unit/EventSubscriber/DoctrineExtensionSubscriberTest.php index 926ff0cd1..e15e73dc2 100644 --- a/tests/Unit/EventSubscriber/DoctrineExtensionSubscriberTest.php +++ b/tests/Unit/EventSubscriber/DoctrineExtensionSubscriberTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class DoctrineExtensionSubscriberTest extends KernelTestCase +final class DoctrineExtensionSubscriberTest extends KernelTestCase { public function testThatGetSubscribedEventsReturnsExpected(): void { diff --git a/tests/Unit/EventSubscriber/ExceptionSubscriberTest.php b/tests/Unit/EventSubscriber/ExceptionSubscriberTest.php index 2c1d50982..6f2a54eee 100644 --- a/tests/Unit/EventSubscriber/ExceptionSubscriberTest.php +++ b/tests/Unit/EventSubscriber/ExceptionSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class ExceptionSubscriberTest extends KernelTestCase +final class ExceptionSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/JWTCreatedSubscriberTest.php b/tests/Unit/EventSubscriber/JWTCreatedSubscriberTest.php index 34d2ed5ee..4baf0d2d3 100644 --- a/tests/Unit/EventSubscriber/JWTCreatedSubscriberTest.php +++ b/tests/Unit/EventSubscriber/JWTCreatedSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class JWTCreatedSubscriberTest extends KernelTestCase +final class JWTCreatedSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/JWTDecodedSubscriberTest.php b/tests/Unit/EventSubscriber/JWTDecodedSubscriberTest.php index 705a3c80b..056dfb73d 100644 --- a/tests/Unit/EventSubscriber/JWTDecodedSubscriberTest.php +++ b/tests/Unit/EventSubscriber/JWTDecodedSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class JWTDecodedSubscriberTest extends KernelTestCase +final class JWTDecodedSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/LockedUserSubscriberTest.php b/tests/Unit/EventSubscriber/LockedUserSubscriberTest.php index 4de6f418b..20faf4d47 100644 --- a/tests/Unit/EventSubscriber/LockedUserSubscriberTest.php +++ b/tests/Unit/EventSubscriber/LockedUserSubscriberTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class LockedUserSubscriberTest extends KernelTestCase +final class LockedUserSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/RequestLogSubscriberTest.php b/tests/Unit/EventSubscriber/RequestLogSubscriberTest.php index b505ecd3b..51a28a268 100644 --- a/tests/Unit/EventSubscriber/RequestLogSubscriberTest.php +++ b/tests/Unit/EventSubscriber/RequestLogSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class RequestLogSubscriberTest extends KernelTestCase +final class RequestLogSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/EventSubscriber/ResponseSubscriberTest.php b/tests/Unit/EventSubscriber/ResponseSubscriberTest.php index 38e01b4fe..1fa000976 100644 --- a/tests/Unit/EventSubscriber/ResponseSubscriberTest.php +++ b/tests/Unit/EventSubscriber/ResponseSubscriberTest.php @@ -17,7 +17,7 @@ * @package App\Tests\Unit\EventSubscriber * @author TLe, Tarmo Leppänen */ -class ResponseSubscriberTest extends KernelTestCase +final class ResponseSubscriberTest extends KernelTestCase { #[TestDox('Test that `getSubscribedEvents` method returns expected')] public function testThatGetSubscribedEventsReturnsExpected(): void diff --git a/tests/Unit/IntegrityTest.php b/tests/Unit/IntegrityTest.php index 53904ba87..605bafaad 100644 --- a/tests/Unit/IntegrityTest.php +++ b/tests/Unit/IntegrityTest.php @@ -45,7 +45,7 @@ * @package App\Tests\Unit * @author TLe, Tarmo Leppänen */ -class IntegrityTest extends KernelTestCase +final class IntegrityTest extends KernelTestCase { public static function getKernel(): KernelInterface { diff --git a/tests/Unit/Rest/RequestHandlerTest.php b/tests/Unit/Rest/RequestHandlerTest.php index 2b584b998..311283f0c 100644 --- a/tests/Unit/Rest/RequestHandlerTest.php +++ b/tests/Unit/Rest/RequestHandlerTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Unit\Rest; * @author TLe, Tarmo Leppänen */ -class RequestHandlerTest extends KernelTestCase +final class RequestHandlerTest extends KernelTestCase { #[DataProvider('dataProviderTestThatGetCriteriaMethodThrowsAnExceptionWithInvalidWhereParameter')] #[TestDox( diff --git a/tests/Unit/Rest/SearchTermTest.php b/tests/Unit/Rest/SearchTermTest.php index d81ecb276..1fb32d0a3 100644 --- a/tests/Unit/Rest/SearchTermTest.php +++ b/tests/Unit/Rest/SearchTermTest.php @@ -20,7 +20,7 @@ * @package App\Tests\Unit\Rest * @author TLe, Tarmo Leppänen */ -class SearchTermTest extends KernelTestCase +final class SearchTermTest extends KernelTestCase { #[DataProvider('dataProviderTestThatWithoutColumnOrSearchTermCriteriaIsNull')] #[TestDox('Test that `getCriteria` method returns null with `$column` + `$search` parameters')] diff --git a/tests/Unit/Rest/UuidHelperTest.php b/tests/Unit/Rest/UuidHelperTest.php index 257be6081..20db723ee 100644 --- a/tests/Unit/Rest/UuidHelperTest.php +++ b/tests/Unit/Rest/UuidHelperTest.php @@ -23,7 +23,7 @@ * @package App\Tests\Unit\Rest * @author TLe, Tarmo Leppänen */ -class UuidHelperTest extends KernelTestCase +final class UuidHelperTest extends KernelTestCase { #[TestDox('Test that `UuidHelper::getFactory` method returns always same instance of `UuidFactory`')] public function testThatGetFactoryReturnsSameInstance(): void diff --git a/tests/Unit/Security/ApiKeyUserTest.php b/tests/Unit/Security/ApiKeyUserTest.php index 8e8b1e7c0..b75081ad4 100644 --- a/tests/Unit/Security/ApiKeyUserTest.php +++ b/tests/Unit/Security/ApiKeyUserTest.php @@ -26,7 +26,7 @@ * @package App\Tests\Unit\Security * @author TLe, Tarmo Leppänen */ -class ApiKeyUserTest extends KernelTestCase +final class ApiKeyUserTest extends KernelTestCase { /** * @phpstan-param StringableArrayObject> $expectedRoles diff --git a/tests/Unit/Security/SecurityUserTest.php b/tests/Unit/Security/SecurityUserTest.php index 7cf2240c5..dd67fe9ae 100644 --- a/tests/Unit/Security/SecurityUserTest.php +++ b/tests/Unit/Security/SecurityUserTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Unit\Security * @author TLe, Tarmo Leppänen */ -class SecurityUserTest extends KernelTestCase +final class SecurityUserTest extends KernelTestCase { #[TestDox('Test that `SecurityUser::getRoles` method returns expected roles')] public function testThatGetRolesReturnsExpected(): void diff --git a/tests/Unit/Utils/JSONTest.php b/tests/Unit/Utils/JSONTest.php index 7e266387f..9a32e6755 100644 --- a/tests/Unit/Utils/JSONTest.php +++ b/tests/Unit/Utils/JSONTest.php @@ -25,7 +25,7 @@ * * @author TLe, Tarmo Leppänen */ -class JSONTest extends KernelTestCase +final class JSONTest extends KernelTestCase { /** * @throws JsonException diff --git a/tests/Unit/Utils/Tests/PHPUnitUtilTest.php b/tests/Unit/Utils/Tests/PHPUnitUtilTest.php index 03d2ff7bf..3ead4d821 100644 --- a/tests/Unit/Utils/Tests/PHPUnitUtilTest.php +++ b/tests/Unit/Utils/Tests/PHPUnitUtilTest.php @@ -25,7 +25,7 @@ * @package App\Tests\Unit\Utils\Tests * @author TLe, Tarmo Leppänen */ -class PHPUnitUtilTest extends KernelTestCase +final class PHPUnitUtilTest extends KernelTestCase { #[TestDox('Test that `getType` method throws exception with not know type')] public function testThatGetTypeThrowsAnExceptionWithNotKnowType(): void diff --git a/tests/Unit/Utils/Tests/StringableArrayObjectTest.php b/tests/Unit/Utils/Tests/StringableArrayObjectTest.php index f8e742672..23a802efd 100644 --- a/tests/Unit/Utils/Tests/StringableArrayObjectTest.php +++ b/tests/Unit/Utils/Tests/StringableArrayObjectTest.php @@ -18,7 +18,7 @@ * @package App\Tests\Unit\Utils\Tests * @author TLe, Tarmo Leppänen */ -class StringableArrayObjectTest extends KernelTestCase +final class StringableArrayObjectTest extends KernelTestCase { /** * @phpstan-param StringableArrayObject> $input diff --git a/tests/Unit/Validator/Constraints/EntityReferenceExistsTest.php b/tests/Unit/Validator/Constraints/EntityReferenceExistsTest.php index 367168023..20d0b6eec 100644 --- a/tests/Unit/Validator/Constraints/EntityReferenceExistsTest.php +++ b/tests/Unit/Validator/Constraints/EntityReferenceExistsTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class EntityReferenceExistsTest extends KernelTestCase +final class EntityReferenceExistsTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Unit/Validator/Constraints/LanguageTest.php b/tests/Unit/Validator/Constraints/LanguageTest.php index ac1f8e43c..f31e0a186 100644 --- a/tests/Unit/Validator/Constraints/LanguageTest.php +++ b/tests/Unit/Validator/Constraints/LanguageTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class LanguageTest extends KernelTestCase +final class LanguageTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Unit/Validator/Constraints/LocaleTest.php b/tests/Unit/Validator/Constraints/LocaleTest.php index 5f190c5a4..b8c5c2944 100644 --- a/tests/Unit/Validator/Constraints/LocaleTest.php +++ b/tests/Unit/Validator/Constraints/LocaleTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class LocaleTest extends KernelTestCase +final class LocaleTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Unit/Validator/Constraints/TimezoneTest.php b/tests/Unit/Validator/Constraints/TimezoneTest.php index 5a7bab632..fbe3b949c 100644 --- a/tests/Unit/Validator/Constraints/TimezoneTest.php +++ b/tests/Unit/Validator/Constraints/TimezoneTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class TimezoneTest extends KernelTestCase +final class TimezoneTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Unit/Validator/Constraints/UniqueEmailTest.php b/tests/Unit/Validator/Constraints/UniqueEmailTest.php index 0d546962d..55044eae7 100644 --- a/tests/Unit/Validator/Constraints/UniqueEmailTest.php +++ b/tests/Unit/Validator/Constraints/UniqueEmailTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class UniqueEmailTest extends KernelTestCase +final class UniqueEmailTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Unit/Validator/Constraints/UniqueUsernameTest.php b/tests/Unit/Validator/Constraints/UniqueUsernameTest.php index 5f2a4e91d..709d85036 100644 --- a/tests/Unit/Validator/Constraints/UniqueUsernameTest.php +++ b/tests/Unit/Validator/Constraints/UniqueUsernameTest.php @@ -16,7 +16,7 @@ * @package App\Tests\Unit\Validator\Constraints * @author TLe, Tarmo Leppänen */ -class UniqueUsernameTest extends KernelTestCase +final class UniqueUsernameTest extends KernelTestCase { #[TestDox('Test that `getTargets` method returns expected')] public function testThatGetTargetsReturnsExpected(): void diff --git a/tests/Utils/PhpUnitUtil.php b/tests/Utils/PhpUnitUtil.php index 9ed0998fc..b7a7d6626 100644 --- a/tests/Utils/PhpUnitUtil.php +++ b/tests/Utils/PhpUnitUtil.php @@ -42,7 +42,7 @@ * @package App\Tests\Utils * @author TLe, Tarmo Leppänen */ -class PhpUnitUtil +final class PhpUnitUtil { final public const string TYPE_INT = 'int'; final public const string TYPE_INTEGER = 'integer'; diff --git a/tests/Utils/StringableArrayObject.php b/tests/Utils/StringableArrayObject.php index 0f876b692..9538b4a50 100644 --- a/tests/Utils/StringableArrayObject.php +++ b/tests/Utils/StringableArrayObject.php @@ -20,7 +20,7 @@ * @package App\Tests\Utils * @author TLe, Tarmo Leppänen */ -class StringableArrayObject extends ArrayObject implements Stringable +final class StringableArrayObject extends ArrayObject implements Stringable { /** * @throws JsonException