diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 36daa0619c704d4ad03c80af95ec78b8ea9308d9..57fa26e870d7e46e3341cb526484b1cc810cac6a 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -144,6 +144,7 @@ Options: - checkNamespaceIntegrity: Verify namespace integrity in class and test code files are in good shape. - checkPermissions: test some core files for correct executable bits - checkRst: test .rst files for integrity + - checkTestClassFinal: check test case classes are final - checkTestMethodsPrefix: check tests methods do not start with "test" - clean: clean up build, cache and testing related files and folders - cleanBuild: clean up build related files and folders @@ -586,6 +587,12 @@ case ${TEST_SUITE} in SUITE_EXIT_CODE=$? docker-compose down ;; + checkTestClassFinal) + setUpDockerComposeDotEnv + docker-compose run check_test_class_final + SUITE_EXIT_CODE=$? + docker-compose down + ;; checkTestMethodsPrefix) setUpDockerComposeDotEnv docker-compose run check_test_methods_prefix diff --git a/Build/Scripts/testClassFinalChecker.php b/Build/Scripts/testClassFinalChecker.php new file mode 100644 index 0000000000000000000000000000000000000000..f3e79ced6d8cf20a4048ef423acd86381b38a14c --- /dev/null +++ b/Build/Scripts/testClassFinalChecker.php @@ -0,0 +1,87 @@ +<?php + +declare(strict_types=1); + +use PhpParser\Node; +use PhpParser\NodeTraverser; +use PhpParser\NodeVisitorAbstract; +use PhpParser\ParserFactory; +use Symfony\Component\Console\Output\ConsoleOutput; + +require_once __DIR__ . '/../../vendor/autoload.php'; + +/** + * This script checks all class tests are declared final. + */ +class NodeVisitor extends NodeVisitorAbstract +{ + public array $matches = []; + + public function enterNode(Node $node): void + { + if (($node instanceof Node\Stmt\Class_) && !$node->isFinal() && !$node->isAnonymous() && !$node->isAbstract()) { + $this->matches[$node->getLine()] = $node->name; + } + } +} + +$parser = (new ParserFactory())->create(ParserFactory::ONLY_PHP7); + +$finder = new Symfony\Component\Finder\Finder(); +$finder->files() + ->in([ + __DIR__ . '/../../typo3/sysext/*/Tests/Unit/', + __DIR__ . '/../../typo3/sysext/*/Tests/UnitDeprecated/', + __DIR__ . '/../../typo3/sysext/*/Tests/Functional/', + __DIR__ . '/../../typo3/sysext/*/Tests/FunctionalDeprecated/', + ]) + ->name('/Test\.php$/'); + +$output = new ConsoleOutput(); + +$errors = []; +foreach ($finder as $file) { + try { + $ast = $parser->parse($file->getContents()); + } catch (Error $error) { + $output->writeln('<error>Parse error: ' . $error->getMessage() . '</error>'); + exit(1); + } + + $visitor = new NodeVisitor(); + + $traverser = new NodeTraverser(); + $traverser->addVisitor($visitor); + + $ast = $traverser->traverse($ast); + + if (!empty($visitor->matches)) { + $errors[$file->getRealPath()] = $visitor->matches; + $output->write('<error>F</error>'); + } else { + $output->write('<fg=green>.</>'); + } +} + +$output->writeln(''); + +if (!empty($errors)) { + $output->writeln(''); + + foreach ($errors as $file => $matchesPerLine) { + $output->writeln(''); + $output->writeln('<error>Test class should be marked as final. Found in ' . $file . '</error>'); + + /** + * @var array $matchesPerLine + * @var int $line + * @var array $matches + */ + foreach ($matchesPerLine as $line => $methodName) { + $output->writeln('Method:' . $methodName . ' Line:' . $line); + } + } + exit(1); +} + +exit(0); diff --git a/Build/gitlab-ci/nightly/integrity.yml b/Build/gitlab-ci/nightly/integrity.yml index b43c2f2c2e5e4a5ebd57937ebe13e14525f0dbf1..2a40478ab6e4001ee16cfacecdd07ac7e5c0bfa8 100644 --- a/Build/gitlab-ci/nightly/integrity.yml +++ b/Build/gitlab-ci/nightly/integrity.yml @@ -50,6 +50,7 @@ integration various: - Build/Scripts/runTests.sh -s checkExtensionScannerRst -p 8.1 - Build/Scripts/runTests.sh -s checkBom -p 8.1 - Build/Scripts/runTests.sh -s checkComposer -p 8.1 + - Build/Scripts/runTests.sh -s checkTestClassFinal -p 8.1 - Build/Scripts/runTests.sh -s checkTestMethodsPrefix -p 8.1 - Build/Scripts/runTests.sh -s checkNamespaceIntegrity -p 8.1 diff --git a/Build/gitlab-ci/pre-merge/integrity.yml b/Build/gitlab-ci/pre-merge/integrity.yml index 5a380a9e79fb40479d4cc3987ed070a2f7ead2c7..97371a4c18e76ba30a0f1fff7a4b1d0127450186 100644 --- a/Build/gitlab-ci/pre-merge/integrity.yml +++ b/Build/gitlab-ci/pre-merge/integrity.yml @@ -54,6 +54,7 @@ integration various pre-merge: - Build/Scripts/runTests.sh -s checkExtensionScannerRst -p 8.1 - Build/Scripts/runTests.sh -s checkBom -p 8.1 - Build/Scripts/runTests.sh -s checkComposer -p 8.1 + - Build/Scripts/runTests.sh -s checkTestClassFinal -p 8.1 - Build/Scripts/runTests.sh -s checkTestMethodsPrefix -p 8.1 - Build/Scripts/runTests.sh -s checkNamespaceIntegrity -p 8.1 diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon index 2fffc2b9f6dee5db3879f511c5f571fa789dca51..da08985422a66047ad3ffcbe4c6da1d80075914f 100644 --- a/Build/phpstan/phpstan-baseline.neon +++ b/Build/phpstan/phpstan-baseline.neon @@ -215,6 +215,36 @@ parameters: count: 1 path: ../../typo3/sysext/backend/Classes/ViewHelpers/ThumbnailViewHelper.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php + + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php + + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php + - message: "#^Constructor of class TYPO3\\\\CMS\\\\Backend\\\\Tests\\\\Unit\\\\Form\\\\Fixtures\\\\NodeFactory\\\\NodeElements\\\\BarElement has an unused parameter \\$data\\.$#" count: 1 @@ -2055,16 +2085,56 @@ parameters: count: 1 path: ../../typo3/sysext/fluid/Classes/ViewHelpers/Transform/HtmlViewHelper.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php + - message: "#^Call to an undefined method Psr\\\\Container\\\\ContainerInterface\\:\\:set\\(\\)\\.$#" count: 4 path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SelectViewHelperTest.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php + - message: "#^Parameter \\#1 \\$input of method TYPO3\\\\CMS\\\\Core\\\\Resource\\\\ResourceFactory\\:\\:retrieveFileOrFolderObject\\(\\) expects string, int given\\.$#" count: 1 path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php + + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php + - message: "#^Parameter \\#1 \\$fileObject of method TYPO3\\\\CMS\\\\Frontend\\\\ContentObject\\\\ContentObjectRenderer\\:\\:setCurrentFile\\(\\) expects string\\|TYPO3\\\\CMS\\\\Core\\\\Resource\\\\File\\|TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileReference\\|TYPO3\\\\CMS\\\\Core\\\\Resource\\\\Folder\\|null, TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileInterface given\\.$#" count: 1 @@ -2605,11 +2675,31 @@ parameters: count: 1 path: ../../typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php + - message: "#^Parameter \\#2 \\$conf of method TYPO3\\\\CMS\\\\Frontend\\\\ContentObject\\\\ContentObjectRenderer\\:\\:parseFunc\\(\\) expects non\\-empty\\-array\\<string, mixed\\>\\|null, array given\\.$#" count: 5 path: ../../typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php + - message: "#^Call to an undefined method TYPO3\\\\CMS\\\\Core\\\\Resource\\\\FileInterface\\:\\:isMissing\\(\\)\\.$#" count: 1 @@ -2990,6 +3080,16 @@ parameters: count: 1 path: ../../typo3/sysext/install/Classes/Updates/DatabaseRowsUpdateWizard.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php + - message: "#^Call to an undefined method Psr\\\\Container\\\\ContainerInterface\\:\\:set\\(\\)\\.$#" count: 1 @@ -3075,6 +3175,16 @@ parameters: count: 1 path: ../../typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php + - + message: "#^Offset string on array\\{\\} in isset\\(\\) does not exist\\.$#" + count: 1 + path: ../../typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: ../../typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php + - message: "#^Right side of && is always true\\.$#" count: 2 diff --git a/Build/testing-docker/local/docker-compose.yml b/Build/testing-docker/local/docker-compose.yml index 0fad41353c53ff6237ed60265c7ef066dd562c26..16fe5ca30d8203daeb494673a196faff4325b641 100644 --- a/Build/testing-docker/local/docker-compose.yml +++ b/Build/testing-docker/local/docker-compose.yml @@ -555,6 +555,20 @@ services: php -dxdebug.mode=off Build/Scripts/annotationChecker.php; " + check_test_class_final: + image: typo3/core-testing-${DOCKER_PHP_IMAGE}:latest + user: "${HOST_UID}" + volumes: + - ${CORE_ROOT}:${CORE_ROOT} + working_dir: ${CORE_ROOT} + command: > + /bin/sh -c " + if [ ${SCRIPT_VERBOSE} -eq 1 ]; then + set -x + fi + php -dxdebug.mode=off Build/Scripts/testClassFinalChecker.php; + " + check_test_methods_prefix: image: typo3/core-testing-${DOCKER_PHP_IMAGE}:latest user: "${HOST_UID}" diff --git a/typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php b/typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php index d84a1f710e31cd8739a76e1f012fd73707f0f306..ef62c9041f9d3e21891ff4724a983a73da0e716a 100644 --- a/typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php +++ b/typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Backend\FrontendBackendUserAuthentication; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AdminPanelInitiatorTest extends UnitTestCase +final class AdminPanelInitiatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php b/typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php index a21591ce35ce797ed75eb42ac913548246b0230b..eb6feabf427ba89dbbd52671099a4b89c4ff6f59 100644 --- a/typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php +++ b/typo3/sysext/adminpanel/Tests/Unit/Modules/PreviewModuleTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PreviewModuleTest extends UnitTestCase +final class PreviewModuleTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php b/typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php index b787a7e847fe279de582c31aca17ea6dbf610e46..93c29777959c98e914ceb023b825ecd270d5b972 100644 --- a/typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php +++ b/typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Adminpanel\Tests\Unit\Fixtures\SubModuleFixture; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConfigurationServiceTest extends UnitTestCase +final class ConfigurationServiceTest extends UnitTestCase { protected MockObject&BackendUserAuthentication $beUser; diff --git a/typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php b/typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php index 088e33ccbb68f03d57cef3e21cf4ab76217a63a8..4ba686f5e84409bbef1785757f4d3dd855f7ed70 100644 --- a/typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php +++ b/typo3/sysext/adminpanel/Tests/Unit/Service/ModuleLoaderTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModuleLoaderTest extends UnitTestCase +final class ModuleLoaderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php b/typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php index af20684df1d67e26db3fd28a15ffc7ba2b70ce39..13551dec7a81498c1d527a456207188fd2236c89 100644 --- a/typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php +++ b/typo3/sysext/adminpanel/Tests/Unit/Utility/StateUtilityTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\FrontendBackendUserAuthentication; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StateUtilityTest extends UnitTestCase +final class StateUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php b/typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php index f0c39107993d09973a15ab0e02ebb42cd309d8e1..23fc0c251bd4e6e9a04afa77e09fc77c22d40121 100644 --- a/typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php +++ b/typo3/sysext/backend/Tests/Functional/Authentication/PasswordResetTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Http\Uri; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PasswordResetTest extends FunctionalTestCase +final class PasswordResetTest extends FunctionalTestCase { protected object $logger; diff --git a/typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php b/typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php index 2cba69a4027a8e39d6ebb185ef4da4e370f351e0..caf18fb7a888f7ef3d18ddf031f5698df0aecd10 100644 --- a/typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/Backend/Shortcut/ShortcutRepositoryTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Imaging\IconFactory; use TYPO3\CMS\Core\Routing\RequestContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ShortcutRepositoryTest extends FunctionalTestCase +final class ShortcutRepositoryTest extends FunctionalTestCase { protected ShortcutRepository $subject; diff --git a/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php b/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php index ee414069f857485f4b8e158e035d217d0b2dc671..d3baac2d026f59b07e2acfe7c2389939595a1446 100644 --- a/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php +++ b/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php @@ -32,7 +32,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Functional database test for Clipboard behaviour */ -class ClipboardTest extends FunctionalTestCase +final class ClipboardTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php b/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php index 5a00bef8eedcf307844fc7b34694393b1189c709..2dd278e16cf7e4b4960c07e6b6270ef5785133ef 100644 --- a/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php +++ b/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Functional\Configuration\SiteConfiguration; use TYPO3\CMS\Backend\Configuration\SiteTcaConfiguration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SiteConfigurationOverridesTest extends FunctionalTestCase +final class SiteConfigurationOverridesTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php index 9a4338f694a125fc9abd26501e01f723050b934b..2e84f502ee6ce0d60b72334d1f2c589163a445e6 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendControllerTest extends FunctionalTestCase +final class BackendControllerTest extends FunctionalTestCase { public function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php index a37dc853bb7667bb5484ff16c515fad7d50eb935..bb52f55be59093d4d8206ba7b3337fa1df861f0a 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/EditDocumentControllerTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EditDocumentControllerTest extends FunctionalTestCase +final class EditDocumentControllerTest extends FunctionalTestCase { protected EditDocumentController $subject; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php index 2b3dee75d5fbe3e0e63f4faa9257f0e75b882414..cc8c18ea49ccec8b70e617e1a477a1a7c8401160 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FormInlineAjaxControllerTest extends FunctionalTestCase +final class FormInlineAjaxControllerTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php index fb17448e7b320a0dada336d942cfd959cb273321..38d51bb9e1fba2f92b45c2a696b0e0aaeb932b67 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaAjaxControllerTest extends FunctionalTestCase +final class MfaAjaxControllerTest extends FunctionalTestCase { protected MfaAjaxController $subject; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php index eb4b896ee3f1870f8f1ac98bad74785370189c1a..31662bd8231c63ed48adbd15476b9af9febe9026 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaConfigurationControllerTest extends FunctionalTestCase +final class MfaConfigurationControllerTest extends FunctionalTestCase { protected MfaConfigurationController $subject; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php index 11601a6c6374414f7144470deeee27e04212e007..3751a67059189d8fdab0041127d9c89d286e19e8 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Core\Page\PageRenderer; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaControllerTest extends FunctionalTestCase +final class MfaControllerTest extends FunctionalTestCase { protected MfaController $subject; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php index 6bfec9562de9f811435b976de26d2ac9daafce9c..a56dbd8a78c7031e8865eaf29253440bd7b001bb 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Core\Page\PageRenderer; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaSetupControllerTest extends FunctionalTestCase +final class MfaSetupControllerTest extends FunctionalTestCase { protected MfaSetupController $subject; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php index 8f5d94b3efaaad66f21386993e8d006ab1748ddc..f79370638ba1d7dd0a1652bbb832f0efc40f6e13 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; -class LocalizationControllerTest extends AbstractDataHandlerActionTestCase +final class LocalizationControllerTest extends AbstractDataHandlerActionTestCase { protected LocalizationController&MockObject&AccessibleObjectInterface $subject; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php index bafbad4290fe614c577ec85b2dc2cbc8621cef57..af385ea71b9b6b7f0aa7880a1bb5ddc547f96437 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php @@ -36,7 +36,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TreeControllerTest extends FunctionalTestCase +final class TreeControllerTest extends FunctionalTestCase { use SiteBasedTestTrait; use NormalizeTreeTrait; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php index c653dfb2765cf3458d991eab0b1c95eaedd48b05..ad36edd9cfb744f479cedcad60df4edbd8ef4812 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php @@ -39,7 +39,7 @@ use TYPO3\CMS\Core\Page\PageRenderer; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ResetPasswordControllerTest extends FunctionalTestCase +final class ResetPasswordControllerTest extends FunctionalTestCase { protected ResetPasswordController $subject; protected ServerRequestInterface $request; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php index 27b5fb22e851779a89c81412ba9c1137b8a533fe..0eed175064a0407ca3e8f08ecf85c5fe9a168aee 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/ShortcutControllerTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ShortcutControllerTest extends FunctionalTestCase +final class ShortcutControllerTest extends FunctionalTestCase { protected ShortcutController $subject; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php b/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php index 4360edf2a9f1ed556ddcfdd7121de0ce9e0d9c13..ab5ebda26124fce5cf42d4673fb50eb546838be3 100644 --- a/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/Domain/Repository/Localization/LocalizationRepositoryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Domain\Repository\Localization\LocalizationRepository; use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LocalizationRepositoryTest extends FunctionalTestCase +final class LocalizationRepositoryTest extends FunctionalTestCase { protected LocalizationRepository $subject; diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php index 97d9d6a25658bd94f985835f40e704f11937d75a..34e786110c52b85876786257a6683ac947595bc5 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaCategoryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TcaCategoryTest extends FunctionalTestCase +final class TcaCategoryTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php index e9b9124da3bb46839a91dd1d6df0240797170aeb..bd4df2f78cb4b94f0ba0291821ecb21bfbc69e16 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaGroup; use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TcaGroupTest extends FunctionalTestCase +final class TcaGroupTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php index add804de919e025aaf7b57143f1669349b51338b..885637704462a76d0e88d913ce6495c98f0a8668 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectItemsTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TcaSelectItemsTest extends FunctionalTestCase +final class TcaSelectItemsTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_items']; protected array $pathsToProvideInTestInstance = ['typo3/sysext/backend/Tests/Functional/Form/Fixtures/TcaSelectItems/files/' => 'fileadmin/']; diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php index 3cc077bd80afbf655bb329f3eaf0536a46e08405..d891d7129cb23d118aa17888f2dd9b036db3d2a6 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaSelectTreeItemsTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * This test only covers the specialties of the renderType `selectTree`. Common type `select` functionality is tested in * TcaSelectItemsTest. */ -class TcaSelectTreeItemsTest extends FunctionalTestCase +final class TcaSelectTreeItemsTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/backend/Tests/Functional/Fixtures/Extensions/test_tca_select_tree_items']; diff --git a/typo3/sysext/backend/Tests/Functional/Form/MfaInfoElementTest.php b/typo3/sysext/backend/Tests/Functional/Form/MfaInfoElementTest.php index 46ee9890466a369ed8dee2bf68995d8794df646b..d5cebc2e3baf7dd2ee25a45a3929759628e54cd6 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/MfaInfoElementTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/MfaInfoElementTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Page\JavaScriptModuleInstruction; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaInfoElementTest extends FunctionalTestCase +final class MfaInfoElementTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/History/RecordHistoryStoreTest.php b/typo3/sysext/backend/Tests/Functional/History/RecordHistoryStoreTest.php index 2c59c0f57fd132f3bda8e07d43d555088c740930..cb83a84c566579a0be3669e709c3761125d7bb06 100644 --- a/typo3/sysext/backend/Tests/Functional/History/RecordHistoryStoreTest.php +++ b/typo3/sysext/backend/Tests/Functional/History/RecordHistoryStoreTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\DataHandling\History\RecordHistoryStore; use TYPO3\CMS\Core\DataHandling\Model\CorrelationId; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RecordHistoryStoreTest extends FunctionalTestCase +final class RecordHistoryStoreTest extends FunctionalTestCase { private RecordHistoryStore $subject; diff --git a/typo3/sysext/backend/Tests/Functional/History/RecordHistoryTest.php b/typo3/sysext/backend/Tests/Functional/History/RecordHistoryTest.php index dfb85a7a05cb65181a4d30d0d369293810bdfa82..1b08c807d9062b6c315ad1aab1f98d7659783bf2 100644 --- a/typo3/sysext/backend/Tests/Functional/History/RecordHistoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/History/RecordHistoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Functional\History; use TYPO3\CMS\Backend\History\RecordHistory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RecordHistoryTest extends FunctionalTestCase +final class RecordHistoryTest extends FunctionalTestCase { private RecordHistory $subject; diff --git a/typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php b/typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php index 06621e0a7a9cfd5dc3bfdc34674ec3c815d66179..91843229aa0e0f9bcae1b89e607fde8de7eeeff8 100644 --- a/typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php +++ b/typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Http\Response; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendModuleValidatorTest extends FunctionalTestCase +final class BackendModuleValidatorTest extends FunctionalTestCase { protected BackendModuleValidator $subject; protected ServerRequestInterface $request; diff --git a/typo3/sysext/backend/Tests/Functional/Middleware/SiteResolverTest.php b/typo3/sysext/backend/Tests/Functional/Middleware/SiteResolverTest.php index e5f1f45d5f2aef3574723ec5e96f0cf67dbdab76..9fb0d33228ab77ee7635979b422a468dc5b50508 100644 --- a/typo3/sysext/backend/Tests/Functional/Middleware/SiteResolverTest.php +++ b/typo3/sysext/backend/Tests/Functional/Middleware/SiteResolverTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Site\Entity\NullSite; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SiteResolverTest extends FunctionalTestCase +final class SiteResolverTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php b/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php index 797bbd400c300d36a0a9047608fc0afd1561957e..9157dc99720611c5a6855752be943abcb73e7cc3 100644 --- a/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php +++ b/typo3/sysext/backend/Tests/Functional/Module/ModuleDataTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Module\ModuleData; use TYPO3\CMS\Backend\Module\ModuleFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ModuleDataTest extends FunctionalTestCase +final class ModuleDataTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Functional/RecordList/DownloadRecordListTest.php b/typo3/sysext/backend/Tests/Functional/RecordList/DownloadRecordListTest.php index 085960253e8c1119ddca6ec8a2389abaae5069af..d1b916f8f3f21d3c0ad8c5cb88d4cec438ae7df0 100644 --- a/typo3/sysext/backend/Tests/Functional/RecordList/DownloadRecordListTest.php +++ b/typo3/sysext/backend/Tests/Functional/RecordList/DownloadRecordListTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DownloadRecordListTest extends FunctionalTestCase +final class DownloadRecordListTest extends FunctionalTestCase { private ?BackendUserAuthentication $user; diff --git a/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php b/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php index 7e6b855e28115a6442f7457c11356fa5c2edbda7..189b562f646e9197822469a53186858eba0f38e5 100644 --- a/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php +++ b/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Routing\RouteCollection; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RouterTest extends FunctionalTestCase +final class RouterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/Routing/UriBuilderTest.php b/typo3/sysext/backend/Tests/Functional/Routing/UriBuilderTest.php index a92bff05101f07198ed7cd2caf951843d6d51e2a..30e77f118dcaa9d6e7977749cfe4edeeec28fba6 100644 --- a/typo3/sysext/backend/Tests/Functional/Routing/UriBuilderTest.php +++ b/typo3/sysext/backend/Tests/Functional/Routing/UriBuilderTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Routing\UriBuilder; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class UriBuilderTest extends FunctionalTestCase +final class UriBuilderTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php b/typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php index 22cb7d185075117551b013c68649e56ce36f1a4d..c3cf0b0470b3a0ce497a1f720d4f3cf49b581558 100644 --- a/typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php +++ b/typo3/sysext/backend/Tests/Functional/Template/Components/Buttons/Action/ShortcutButtonTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Http\NormalizedParams; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ShortcutButtonTest extends FunctionalTestCase +final class ShortcutButtonTest extends FunctionalTestCase { private const FIXTURES_PATH_PATTERN = __DIR__ . '/../../../Fixtures/%s.html'; diff --git a/typo3/sysext/backend/Tests/Functional/Tree/Repository/PageTreeRepositoryTest.php b/typo3/sysext/backend/Tests/Functional/Tree/Repository/PageTreeRepositoryTest.php index a959864aa26bdafd5db13e631cb057f70337f7ee..3649886b6c2a9a8b0c6769256c5d92a5b13690ac 100644 --- a/typo3/sysext/backend/Tests/Functional/Tree/Repository/PageTreeRepositoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/Tree/Repository/PageTreeRepositoryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Tests\Functional\Tree\Repository\Fixtures\Tree\NormalizeTr use TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageTreeRepositoryTest extends FunctionalTestCase +final class PageTreeRepositoryTest extends FunctionalTestCase { use NormalizeTreeTrait; diff --git a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php index 50b4f44cbda446ca88224ef7fe8a38838020fb12..f81c40d9b48b46bc42dc956f5a730319bf9ab2f8 100644 --- a/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php +++ b/typo3/sysext/backend/Tests/Functional/Utility/BackendUtilityTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendUtilityTest extends FunctionalTestCase +final class BackendUtilityTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/backend/Tests/Functional/View/BackendViewFactoryTest.php b/typo3/sysext/backend/Tests/Functional/View/BackendViewFactoryTest.php index 93d6c7fac4f62723f5041e884358f9e8ea2d6f70..66bc67d789c93678156f4309a5104a59043637ba 100644 --- a/typo3/sysext/backend/Tests/Functional/View/BackendViewFactoryTest.php +++ b/typo3/sysext/backend/Tests/Functional/View/BackendViewFactoryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\View\BackendViewFactory; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendViewFactoryTest extends FunctionalTestCase +final class BackendViewFactoryTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/backend/Tests/Functional/View/Fixtures/Extensions/test_templates_a', diff --git a/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php b/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php index c85c37417d8085788c023e6467a8eb332fd05856..63ca9f2352311b344002775a3a52394a2d57787d 100644 --- a/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php +++ b/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendLayoutRendererTest extends FunctionalTestCase +final class BackendLayoutRendererTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php index 0a8b4a176c94b7713aeaa5bf30a3e93fd02bdc01..a32dbe2a22a4bfdb1522e9696b71842880266106 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class EditRecordViewHelperTest extends FunctionalTestCase +final class EditRecordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php index 4af2c789210267db07f8173b1bf981041203a246..986d8533d60313970653e3487e66b6a200d021ff 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class NewRecordViewHelperTest extends FunctionalTestCase +final class NewRecordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php index 9a02bd9d2eb78fdb34f3558db8aef277278c5356..085444ba80ef4e03a28b69c016635d94eb3cfdfa 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IfHasStateViewHelperTest extends FunctionalTestCase +final class IfHasStateViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php index a2e5db4d2e13628df64e204c1f023d4fa15bac84..5816a86d7d86c3f5688a8941faf46df817b196e8 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class EditRecordViewHelperTest extends FunctionalTestCase +final class EditRecordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php index 9a973ad65ff61f5fc6454d656aaab2b716f6e453..1a0b61eeab05298a4586bab000bbafe31e1ab45b 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class NewRecordViewHelperTest extends FunctionalTestCase +final class NewRecordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/backend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php b/typo3/sysext/backend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php index 44c512d692a8b1443403ffedacfe4ade926c1ab2..eac8efe326418731c414608e8d90aa942008cc52 100644 --- a/typo3/sysext/backend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php +++ b/typo3/sysext/backend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ConditionMatcherTest extends FunctionalTestCase +final class ConditionMatcherTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Configuration/BackendUserConfigurationTest.php b/typo3/sysext/backend/Tests/Unit/Configuration/BackendUserConfigurationTest.php index 2272cff53d70c451e96aa8dfbe49880d1b8d2c65..66b486e001ea83ea96b80a1900c8c46cc03f3c34 100644 --- a/typo3/sysext/backend/Tests/Unit/Configuration/BackendUserConfigurationTest.php +++ b/typo3/sysext/backend/Tests/Unit/Configuration/BackendUserConfigurationTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Configuration\BackendUserConfiguration; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendUserConfigurationTest extends UnitTestCase +final class BackendUserConfigurationTest extends UnitTestCase { protected BackendUserConfiguration $backendUserConfiguration; protected BackendUserAuthentication&MockObject $backendUserMock; diff --git a/typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php b/typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php index 44a7b84a55e9123db998d78347ab31ccb6057ca5..b1172f0e9adc9b9b4633aa154a79193efab55ed7 100644 --- a/typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php +++ b/typo3/sysext/backend/Tests/Unit/Configuration/TranslationConfigurationProviderTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TranslationConfigurationProviderTest extends UnitTestCase +final class TranslationConfigurationProviderTest extends UnitTestCase { protected TranslationConfigurationProvider $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php index 9865b8523154acb124ea13b14594aaeca0b5b572..7ba17662d0725e70886f1789d5a8a805db4d5d5b 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/EditDocumentControllerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Controller; use TYPO3\CMS\Backend\Controller\EditDocumentController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EditDocumentControllerTest extends UnitTestCase +final class EditDocumentControllerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Controller/Event/AfterPageTreeItemsPreparedEventTest.php b/typo3/sysext/backend/Tests/Unit/Controller/Event/AfterPageTreeItemsPreparedEventTest.php index 1076c135547d756c7c039f8be1988664f90b436f..1676c8770ef8640723402e45e18909898660f29a 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/Event/AfterPageTreeItemsPreparedEventTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/Event/AfterPageTreeItemsPreparedEventTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Http\Uri; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AfterPageTreeItemsPreparedEventTest extends UnitTestCase +final class AfterPageTreeItemsPreparedEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Controller/Event/ModifyNewContentElementWizardItemsEventTest.php b/typo3/sysext/backend/Tests/Unit/Controller/Event/ModifyNewContentElementWizardItemsEventTest.php index 4ca3cf4dc89475f4b73b5eb43a87114642ea79b5..d2a7633e7d2cce60c4d26c87afba897fb44474d3 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/Event/ModifyNewContentElementWizardItemsEventTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/Event/ModifyNewContentElementWizardItemsEventTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Controller\Event; use TYPO3\CMS\Backend\Controller\Event\ModifyNewContentElementWizardItemsEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModifyNewContentElementWizardItemsEventTest extends UnitTestCase +final class ModifyNewContentElementWizardItemsEventTest extends UnitTestCase { protected ModifyNewContentElementWizardItemsEvent $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php index 1584306f58fbcfa33723da7c3f2e67d580c6f151..24e2954ef5f77d67378fc360f4921caeeba49203 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Core\Utility\File\ExtendedFileUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileControllerTest extends UnitTestCase +final class FileControllerTest extends UnitTestCase { protected File&MockObject $fileResourceMock; diff --git a/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php index b90a356cf05f916079d8c423172ba02f8cb9073a..87e093292e38dbae34691320e3722135b4eb52cb 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/File/ThumbnailControllerTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for \TYPO3\CMS\Backend\Controller\File\ThumbnailController */ -class ThumbnailControllerTest extends UnitTestCase +final class ThumbnailControllerTest extends UnitTestCase { protected ThumbnailController&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php index 1e9bf4a06b9c8bde41e1c0ec2304ecac009ba62c..b2d8d119cfc44fee24e8345aac6dd1ccfd637f94 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormInlineAjaxControllerTest extends UnitTestCase +final class FormInlineAjaxControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Controller/FormSelectTreeAjaxControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/FormSelectTreeAjaxControllerTest.php index b0a737a297a9c17bf0f1fd355744edc870dae7f7..047b3624faff33764a312940b5743a2611188193 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/FormSelectTreeAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/FormSelectTreeAjaxControllerTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Controller\FormSelectTreeAjaxController; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormSelectTreeAjaxControllerTest extends UnitTestCase +final class FormSelectTreeAjaxControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Controller/LoginControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/LoginControllerTest.php index d52597e8692084345e66be199cab00fe2cd2fd54..50eb00cd730d5aafb0a0f7989deb3e8c5216f428 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/LoginControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/LoginControllerTest.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Core\Page\PageRenderer; use TYPO3\CMS\Core\Routing\BackendEntryPointResolver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LoginControllerTest extends UnitTestCase +final class LoginControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Controller/SiteConfigurationControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/SiteConfigurationControllerTest.php index d7e94fdcc75df73dd55f079c10eebc1116b1aa84..32bf25874abf7a913d4d060d7493939133983bae 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/SiteConfigurationControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/SiteConfigurationControllerTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Controller\SiteConfigurationController; use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteConfigurationControllerTest extends UnitTestCase +final class SiteConfigurationControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Controller/SwitchUserControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/SwitchUserControllerTest.php index 3baef9f62f96ab6ae7ed77f70d09e5f95f365353..fac0db2ad12804600b909c3e9a5569fa731f41a9 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/SwitchUserControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/SwitchUserControllerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SwitchUserControllerTest extends UnitTestCase +final class SwitchUserControllerTest extends UnitTestCase { /** * Same as in SwitchUserController diff --git a/typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php b/typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php index 3675b6c7f05b678a3a4cdb8e3c5dd8560d5a04dd..ff186111ce70c6b0ad48ff9c609e922150e8e5cd 100644 --- a/typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SuggestWizardControllerTest extends UnitTestCase +final class SuggestWizardControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/ElementBrowser/ElementBrowserRegistryTest.php b/typo3/sysext/backend/Tests/Unit/ElementBrowser/ElementBrowserRegistryTest.php index 2e93843c040d062b43aa7408a3c8dcff19eccbc7..e32e728d0728df7e2a6eabc172df30050981dd4d 100644 --- a/typo3/sysext/backend/Tests/Unit/ElementBrowser/ElementBrowserRegistryTest.php +++ b/typo3/sysext/backend/Tests/Unit/ElementBrowser/ElementBrowserRegistryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\ElementBrowser\ElementBrowserInterface; use TYPO3\CMS\Backend\ElementBrowser\ElementBrowserRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ElementBrowserRegistryTest extends UnitTestCase +final class ElementBrowserRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/ElementBrowser/Event/IsFileSelectableEventTest.php b/typo3/sysext/backend/Tests/Unit/ElementBrowser/Event/IsFileSelectableEventTest.php index c3f3d61b3a76bb298bae602cc2820d18e9ad673c..a5c31470baf886624f91b0a1162319dbe188958b 100644 --- a/typo3/sysext/backend/Tests/Unit/ElementBrowser/Event/IsFileSelectableEventTest.php +++ b/typo3/sysext/backend/Tests/Unit/ElementBrowser/Event/IsFileSelectableEventTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\File; use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IsFileSelectableEventTest extends UnitTestCase +final class IsFileSelectableEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/Container/ListOfFieldsContainerTest.php b/typo3/sysext/backend/Tests/Unit/Form/Container/ListOfFieldsContainerTest.php index f653d59b0abf817a4fa8f948cddd7ed81f6994d6..51ac5867a0bbcaee57b72949bc77a102907890bb 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Container/ListOfFieldsContainerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Container/ListOfFieldsContainerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Form\Container\PaletteAndSingleContainer; use TYPO3\CMS\Backend\Form\NodeFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ListOfFieldsContainerTest extends UnitTestCase +final class ListOfFieldsContainerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php b/typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php index 16231653720182dd6c7b0182fed4a353a39e83b1..5fd21703e55a0fcbe919149915b6417070c6ec65 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PaletteAndSingleContainerTest extends UnitTestCase +final class PaletteAndSingleContainerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php b/typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php index cdca79096f21cf7c0bcadef2979fced20e2bfcde..d4aec7d6e0ae3b7e74073411b083c188ee5426e6 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\Element\AbstractFormElement; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractFormElementTest extends UnitTestCase +final class AbstractFormElementTest extends UnitTestCase { public static function formatValueDataProvider(): array { diff --git a/typo3/sysext/backend/Tests/Unit/Form/Element/DatetimeElementTest.php b/typo3/sysext/backend/Tests/Unit/Form/Element/DatetimeElementTest.php index b3c52477d87ff6a8294e10d600210daff0261203..57af9e94c925a04b1b560fbdf4d4fc3faa4c1ae7 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Element/DatetimeElementTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Element/DatetimeElementTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatetimeElementTest extends UnitTestCase +final class DatetimeElementTest extends UnitTestCase { /** * @var string Selected timezone backup diff --git a/typo3/sysext/backend/Tests/Unit/Form/Element/InputHiddenElementTest.php b/typo3/sysext/backend/Tests/Unit/Form/Element/InputHiddenElementTest.php index cadafca52805d29efaa9d7d29ceaeb13090b57e3..d2110642881edce21a549ea7eb25f2110405ebaf 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Element/InputHiddenElementTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Element/InputHiddenElementTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for InputHiddenElement Form */ -class InputHiddenElementTest extends UnitTestCase +final class InputHiddenElementTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/Element/JsonElementTest.php b/typo3/sysext/backend/Tests/Unit/Form/Element/JsonElementTest.php index 486f6b2e6f45465c683da5f5a3d9e5957c1fcc60..bf5c843733aed705cac85c698757a3ad6629f810 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Element/JsonElementTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Element/JsonElementTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\T3editor\Mode; use TYPO3\CMS\T3editor\Registry\ModeRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class JsonElementTest extends UnitTestCase +final class JsonElementTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/Element/UuidElementTest.php b/typo3/sysext/backend/Tests/Unit/Form/Element/UuidElementTest.php index f8b7379388e2b7e7915ab1e8ff1faf99e5d5299c..9999bc7d8794f64e9f38a8a81f4942bf6523a077 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/Element/UuidElementTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/Element/UuidElementTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UuidElementTest extends UnitTestCase +final class UuidElementTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php b/typo3/sysext/backend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php index cd53a96c13997bd90c3260346b14ee85af71e647..70ef9fa51dfcc33256fc6ec26871c22c674dd240 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FieldControl/ElementBrowserTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Form\NodeFactory; use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ElementBrowserTest extends UnitTestCase +final class ElementBrowserTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FieldWizard/TableListTest.php b/typo3/sysext/backend/Tests/Unit/Form/FieldWizard/TableListTest.php index c8929c6d203b03e356a500ecf6949edc4b29837b..4b55fa36fcf1c7fd8d5f7ceb90d2dde3e265f05c 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FieldWizard/TableListTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FieldWizard/TableListTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TableListTest extends UnitTestCase +final class TableListTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php index 87a6e88712722b61643ec54b181d1c797dbebea7..c9e7cc1610ad805cef2b8e16d9edf65fe3cbe00c 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataCompilerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Form\FormDataCompiler; use TYPO3\CMS\Backend\Form\FormDataGroupInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormDataCompilerTest extends UnitTestCase +final class FormDataCompilerTest extends UnitTestCase { protected FormDataCompiler $subject; protected FormDataGroupInterface&MockObject $formDataGroupMock; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/FlexFormSegmentTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/FlexFormSegmentTest.php index 2ba344ee21b9d68471fbb6529e3c70d9cfb736cc..7703ac0a6cf76082d1bb83b080265691c86085a0 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/FlexFormSegmentTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/FlexFormSegmentTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlexFormSegmentTest extends UnitTestCase +final class FlexFormSegmentTest extends UnitTestCase { protected FlexFormSegment $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OnTheFlyTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OnTheFlyTest.php index 1cadf1cb43b4cbed48234dad6a73c9d56098e3c0..27a6d04b8e4dcf0bdfb3e5488e8701e1f5148f3d 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OnTheFlyTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OnTheFlyTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Form\FormDataProviderInterface; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class OnTheFlyTest extends UnitTestCase +final class OnTheFlyTest extends UnitTestCase { protected OnTheFly $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OrderedProviderListTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OrderedProviderListTest.php index 7029a3e20b46e3fbb54203af507fd7bbf814ff84..d43fa44b06e191ae0a65b9edaa33f82a6c82d956 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OrderedProviderListTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/OrderedProviderListTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class OrderedProviderListTest extends UnitTestCase +final class OrderedProviderListTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/SiteConfigurationDataGroupTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/SiteConfigurationDataGroupTest.php index a17c96898f1be617cf21729af6befc943be86fef..7f945927b955d5bd5bf374ade721e25052628d70 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/SiteConfigurationDataGroupTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/SiteConfigurationDataGroupTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteConfigurationDataGroupTest extends UnitTestCase +final class SiteConfigurationDataGroupTest extends UnitTestCase { protected SiteConfigurationDataGroup $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaDatabaseRecordTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaDatabaseRecordTest.php index f0a0bebabe63474ade08de3beecc12478bf8e326..e84919cfba479669807edc80bf99ae47a9296cbb 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaDatabaseRecordTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaDatabaseRecordTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaDatabaseRecordTest extends UnitTestCase +final class TcaDatabaseRecordTest extends UnitTestCase { protected TcaDatabaseRecord $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php index 2908039e6a1d429cc33b31d840eb9b4962adc591..657ab7940f551eeb8fc123ca87bcda0d238dcc19 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaInputPlaceholderRecordTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInputPlaceholderRecordTest extends UnitTestCase +final class TcaInputPlaceholderRecordTest extends UnitTestCase { protected TcaInputPlaceholderRecord $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaSelectTreeAjaxFieldDataTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaSelectTreeAjaxFieldDataTest.php index a893fe8098ce210d03136ba30de9985fe6404138..45d1410ce792018291212b656c75b3d78aad5f11 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaSelectTreeAjaxFieldDataTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataGroup/TcaSelectTreeAjaxFieldDataTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaSelectTreeAjaxFieldDataTest extends UnitTestCase +final class TcaSelectTreeAjaxFieldDataTest extends UnitTestCase { protected TcaSelectTreeAjaxFieldData $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php index af12ed27dd725e07852db33a97a42f50eac08ab5..aac23d7ed8a27a8e5777ab4eff8f1e7407922d63 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseDefaultLanguagePageRowTest extends UnitTestCase +final class DatabaseDefaultLanguagePageRowTest extends UnitTestCase { protected DatabaseDefaultLanguagePageRow&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php index f23ab7573f05364a12bd9bb9943b15e84e56e128..d1a8ec91efd240c1086c3fc707f80aeeabcc34b2 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEditRowTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseEditRowTest extends UnitTestCase +final class DatabaseEditRowTest extends UnitTestCase { protected DatabaseEditRow&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEffectivePidTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEffectivePidTest.php index 18a5188b95eb17f104e8edb1f50dc215568aebc0..cbb57c013be8e21f58ef49170453b978344b3ce6 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEffectivePidTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseEffectivePidTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseEffectivePid; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseEffectivePidTest extends UnitTestCase +final class DatabaseEffectivePidTest extends UnitTestCase { protected DatabaseEffectivePid $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php index bb4d1dd80c47db14b7bf350d95ac6b5ea1a197e0..6c48a09e40772959fb65427eccb80958506cb34b 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseLanguageRowsTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseLanguageRowsTest extends UnitTestCase +final class DatabaseLanguageRowsTest extends UnitTestCase { protected DatabaseLanguageRows&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabasePageLanguageOverlayRowsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabasePageLanguageOverlayRowsTest.php index 41678bfbea2891eb0e08ad63a927932e080c7001..7e3cf8db5998e5dc286562386cc0a930bba7ad59 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabasePageLanguageOverlayRowsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabasePageLanguageOverlayRowsTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\MockObject\MockObject; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabasePageLanguageOverlayRows; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabasePageLanguageOverlayRowsTest extends UnitTestCase +final class DatabasePageLanguageOverlayRowsTest extends UnitTestCase { protected DatabasePageLanguageOverlayRows&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php index f87ac8db78569e2a416037d6116d86405d29d1d3..9ce3abc8a185fa5a9c88a48b8ba45f49b5412823 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseParentPageRowTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\MockObject\MockObject; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseParentPageRow; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseParentPageRowTest extends UnitTestCase +final class DatabaseParentPageRowTest extends UnitTestCase { protected DatabaseParentPageRow&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordOverrideValuesTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordOverrideValuesTest.php index 3f0672051a8fe45b81187b9073e3f42c7b945c84..1bcadc573b3cd753f72a9cfe2c42f6a78894036f 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordOverrideValuesTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordOverrideValuesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordOverrideValues; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRecordOverrideValuesTest extends UnitTestCase +final class DatabaseRecordOverrideValuesTest extends UnitTestCase { protected DatabaseRecordOverrideValues $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php index dc5ec39791700217f7665b574d34d2ea11d1621f..52512f5420e2ea9d920f46637559c081fd17feac 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\MockObject\MockObject; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordTypeValue; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRecordTypeValueTest extends UnitTestCase +final class DatabaseRecordTypeValueTest extends UnitTestCase { protected DatabaseRecordTypeValue&MockObject $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDateTimeFieldsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDateTimeFieldsTest.php index c5b6b1d65bb2974e1fe5a0098db7100bf1512179..f392d63185d794c5604d352a5af97c6614a059ba 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDateTimeFieldsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDateTimeFieldsTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDateTimeFields; use TYPO3\CMS\Core\Database\Query\QueryHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRowDateTimeFieldsTest extends UnitTestCase +final class DatabaseRowDateTimeFieldsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultAsReadonlyTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultAsReadonlyTest.php index a7136aff223ea2642f82ae3d658c7fc3270ce534..3c42fd54939f73112c9b8120aae59cfb4fef2b49 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultAsReadonlyTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultAsReadonlyTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultAsReadonly; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRowDefaultAsReadonlyTest extends UnitTestCase +final class DatabaseRowDefaultAsReadonlyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultValuesTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultValuesTest.php index a2894b52aeba54fa2d85d636c508ce98a76a1012..88d8a9c2b4df66152a46b0016866e68e2b44d1f6 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultValuesTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowDefaultValuesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowDefaultValues; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRowDefaultValuesTest extends UnitTestCase +final class DatabaseRowDefaultValuesTest extends UnitTestCase { protected DatabaseRowDefaultValues $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php index ed4165e981722307d7a3a2a0a5db6cd7c66bde25..81a6a20361287c83c6c7e93d4783fdea0bd47326 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRowInitializeNewTest extends UnitTestCase +final class DatabaseRowInitializeNewTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php index 18f3806bbfea4188a64828cb4aab157bcb864abd..05217628bb2cdc89cbec40f0da17f9853518bfa5 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseSystemLanguageRowsTest extends UnitTestCase +final class DatabaseSystemLanguageRowsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php index 418177f205eca0d8d63ecde0bd8ab52f1ff16d2c..905197c15bb5b8a5a4fed875d6df3edaed7f34eb 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUniqueUidNewRowTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseUniqueUidNewRow; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseUniqueUidNewRowTest extends UnitTestCase +final class DatabaseUniqueUidNewRowTest extends UnitTestCase { protected DatabaseUniqueUidNewRow $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php index 45b5195501d5fbe2fcf9c27d8164cd4de3157f3d..b6f4ab457422088735f53758e3856150090acaa4 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Core\Type\Bitmask\Permission; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseUserPermissionCheckTest extends UnitTestCase +final class DatabaseUserPermissionCheckTest extends UnitTestCase { protected BackendUserAuthentication&MockObject $beUserMock; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InitializeProcessedTcaTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InitializeProcessedTcaTest.php index ba6ec53bc3e83d1fa89f8d89c7c59a7ad6d89760..c5b2ab98fa0d2001037ffbb5507b27467f4e1fba 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InitializeProcessedTcaTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InitializeProcessedTcaTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\InitializeProcessedTca; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InitializeProcessedTcaTest extends UnitTestCase +final class InitializeProcessedTcaTest extends UnitTestCase { protected InitializeProcessedTca $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InlineOverrideChildTcaTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InlineOverrideChildTcaTest.php index 08aabe9802c83aedb9811058a4dc4b2dc8c2fc1a..7f00b8c75fe1c5f0820b23678a1035948a07b9e5 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InlineOverrideChildTcaTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/InlineOverrideChildTcaTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\InlineOverrideChildTca; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InlineOverrideChildTcaTest extends UnitTestCase +final class InlineOverrideChildTcaTest extends UnitTestCase { protected InlineOverrideChildTca $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/PageTsConfigMergedTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/PageTsConfigMergedTest.php index 252ad94553d0fd1faeea4f68aa8a36eec7c2b53c..8456244ab9c95d675175e558b68ced48f2cf40e1 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/PageTsConfigMergedTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/PageTsConfigMergedTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\PageTsConfigMerged; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageTsConfigMergedTest extends UnitTestCase +final class PageTsConfigMergedTest extends UnitTestCase { protected PageTsConfigMerged $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php index 1edc0f4ebcf5902b1f86151e83d2ff51883c0bef..e3f3448b59428a3253a029ef8a0720f9ecf9c8ca 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteDatabaseEditRowTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteDatabaseEditRowTest extends UnitTestCase +final class SiteDatabaseEditRowTest extends UnitTestCase { public function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteResolvingTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteResolvingTest.php index 8b4a71e2b276984ef57e78629d15d7b3175b3231..6655c5dcd26aa4f5afff9f19f6b53db1eb1b0708 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteResolvingTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/SiteResolvingTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteResolvingTest extends UnitTestCase +final class SiteResolvingTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php index 290831ce8231f782071b66671ae608a8d4c7f89a..cd5383eaa96ecb82192a92ecfa7141a1cdd164a0 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaCheckboxItemsTest extends UnitTestCase +final class TcaCheckboxItemsTest extends UnitTestCase { protected function tearDown(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsOverridesTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsOverridesTest.php index 6216277a15f8f032794092c7c9cbc8f92959e7e2..5eec7c80f55762b07b6cba4763e9398a145a76b2 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsOverridesTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsOverridesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsOverrides; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsOverridesTest extends UnitTestCase +final class TcaColumnsOverridesTest extends UnitTestCase { protected TcaColumnsOverrides $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessCommonTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessCommonTest.php index f2a24024869ac920feab27415d9d645968b586be..033fa6eb049358e5c33dba26a8a76dc209fb6b52 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessCommonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessCommonTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessCommon; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessCommonTest extends UnitTestCase +final class TcaColumnsProcessCommonTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldDescriptionsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldDescriptionsTest.php index 3f63db60a27889723820d836fd468b5dccc3bbe7..43b2461b787753b75e23fc5994fea9c6feae5e8e 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldDescriptionsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldDescriptionsTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Localization\Locales; use TYPO3\CMS\Core\Localization\LocalizationFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessFieldDescriptionsTest extends UnitTestCase +final class TcaColumnsProcessFieldDescriptionsTest extends UnitTestCase { protected TcaColumnsProcessFieldDescriptions $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldLabelsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldLabelsTest.php index 61f2ac983fff84f97ef65ba72cbf6f10fbaa48e1..4660411e7a44107dbbf1386c825f738d1511ab82 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldLabelsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldLabelsTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Localization\Locales; use TYPO3\CMS\Core\Localization\LocalizationFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessFieldLabelsTest extends UnitTestCase +final class TcaColumnsProcessFieldLabelsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php index a3b8deecfd10046ea3751b0c1a72d3ad9c0e8f6b..2e4f4204fe27996dbfb3ef49569d0680da030dff 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessPlaceholdersTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessPlaceholders; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessPlaceholdersTest extends UnitTestCase +final class TcaColumnsProcessPlaceholdersTest extends UnitTestCase { protected TcaColumnsProcessPlaceholders $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php index 311fc803f61486dfc31d7efe3e5c29f4723dd77d..40eb5a0525f9dc2f48cfcf2528b71afe8b83835f 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessRecordTitle; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessRecordTitleTest extends UnitTestCase +final class TcaColumnsProcessRecordTitleTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php index 54fa3cdd92bbd81ea007609847f0eb2a51a6a68e..bd31436596678ccb59563a79c52ba5c84001f834 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessShowitem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsProcessShowitemTest extends UnitTestCase +final class TcaColumnsProcessShowitemTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsRemoveUnusedTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsRemoveUnusedTest.php index 5c43a9fb047ba51c70d0b6be235c86e6c6b53b42..f710a89de00fae3056db06122ea2a665b2cca347 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsRemoveUnusedTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsRemoveUnusedTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsRemoveUnused; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaColumnsRemoveUnusedTest extends UnitTestCase +final class TcaColumnsRemoveUnusedTest extends UnitTestCase { protected TcaColumnsRemoveUnused $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexPrepareTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexPrepareTest.php index 6f979615dfccd0ad684b4d8547d0ce8858d469f5..ae473dab3623ea98db90576fba219ef2ad940c34 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexPrepareTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexPrepareTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Fixtures\EventDispatcher\MockEventDispatcher; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaFlexPrepareTest extends UnitTestCase +final class TcaFlexPrepareTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php index 6c05fd6e937de265269dfb7e8ef3ec3cf083613d..97bd87d9e8bfb767021f30f4316c38ddcd5ffd47 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaFlexProcessTest extends UnitTestCase +final class TcaFlexProcessTest extends UnitTestCase { protected BackendUserAuthentication&MockObject $backendUserMock; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFolderTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFolderTest.php index 85c198181bbeafd5eab6ce9cef560390e2734817..7355602997cf1899a0a958f93f410a501e14380f 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFolderTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFolderTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaFolderTest extends UnitTestCase +final class TcaFolderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.php index 310e5811c18faeb7faac3d47e33bde2f62ef24d9..ace9e3d0ae61c81f8e9dfe214313c519e4aa02c7 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Database\RelationHandler; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaGroupTest extends UnitTestCase +final class TcaGroupTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineConfigurationTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineConfigurationTest.php index ec90df06dd14aba09e96762c3ac6f5fa7042cd7a..f8dfcfdc4f0e8cc851f43f007fd1a453536bac9a 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineConfigurationTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineConfigurationTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineConfiguration; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInlineConfigurationTest extends UnitTestCase +final class TcaInlineConfigurationTest extends UnitTestCase { /** * @var array Set of default controls diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php index 7e13c8307221b893026d2896e504c89edbfdbfc6..54d1ca9c3c1601ae9ec36420acdd48cabb8cd7e7 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineExpandCollapseState; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInlineExpandCollapseStateTest extends UnitTestCase +final class TcaInlineExpandCollapseStateTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineIsOnSymmetricSideTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineIsOnSymmetricSideTest.php index 9bc6fe150e9abcf4f7f054baf42ce31c3da32026..a3ea9144d895b7cd47bed37d09d2936103e0c3a8 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineIsOnSymmetricSideTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineIsOnSymmetricSideTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineIsOnSymmetricSide; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInlineIsOnSymmetricSideTest extends UnitTestCase +final class TcaInlineIsOnSymmetricSideTest extends UnitTestCase { protected TcaInlineIsOnSymmetricSide $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php index 3b01b7db1219d89f7a953a9c72434f8a5feb9cb0..5ae46ce5bf252716b3f5e66035d1be2f1a552657 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInlineTest extends UnitTestCase +final class TcaInlineTest extends UnitTestCase { protected BackendUserAuthentication&MockObject $beUserMock; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php index 3db1165912b251a15c8669a536922658f9b1b7f7..ce87af9bf4c6be56d8467923be288cdd6a3ee0c1 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaInputPlaceholdersTest extends UnitTestCase +final class TcaInputPlaceholdersTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaJsonTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaJsonTest.php index ec1a1da8150003dfb23d61b72a68e37ad7fda9b6..936c46285cab96216863d9aa23e1f447f85f78ef 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaJsonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaJsonTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaJson; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaJsonTest extends UnitTestCase +final class TcaJsonTest extends UnitTestCase { public static function resultArrayDataProvider(): \Generator { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaLanguageTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaLanguageTest.php index cc9fa4b1698c50a8dddc57e2e562aca7f3bb66c1..bb7d6b9ae97c2ab28e0aeb43f56960cf6a22c645 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaLanguageTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaLanguageTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaLanguageTest extends UnitTestCase +final class TcaLanguageTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php index 9278fddbfc7ca5ee71f80ab97c0b04be98c7aeb3..3a40fcb125baf48f99be45cf904a5f919750fcbb 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaRadioItemsTest extends UnitTestCase +final class TcaRadioItemsTest extends UnitTestCase { /** * Tear down diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php index b0547be3aeaf800a65a18d7ab4a3d43548403b6b..fef5e97decdfa66cc349f4265973317ad543f43a 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaRecordTitle; use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaRecordTitleTest extends UnitTestCase +final class TcaRecordTitleTest extends UnitTestCase { protected string $timeZone; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSlugTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSlugTest.php index df0bc130b9536ef54a65bb75e90b6a2876df10b2..b17b691d1b497bc6b78ebc69cbfb288ea0e82345 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSlugTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSlugTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaSlug; use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaSlugTest extends UnitTestCase +final class TcaSlugTest extends UnitTestCase { protected TcaSlug $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php index 83730facfc680e9eca5010ae511102c73f24bd45..a2f6141ac818c1bf931887441c4d6fcce1e71dd3 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTextTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Html\RteHtmlParser; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaTextTest extends UnitTestCase +final class TcaTextTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTypesShowitemTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTypesShowitemTest.php index 6fdbf5f891ffa5d3ef6c8bcecbe451fc0e688ae1..49246cf19368ed9bbaafb2ff8c162373378675ca 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTypesShowitemTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaTypesShowitemTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaTypesShowitem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaTypesShowitemTest extends UnitTestCase +final class TcaTypesShowitemTest extends UnitTestCase { protected TcaTypesShowitem $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaUuidTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaUuidTest.php index 303a93beea9e2e7f938ac4e78d78136091dab5ea..ba29b921b70959536fcfc23be9571081ea65c647 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaUuidTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaUuidTest.php @@ -21,7 +21,7 @@ use Symfony\Component\Uid\Uuid; use TYPO3\CMS\Backend\Form\FormDataProvider\TcaUuid; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaUuidTest extends UnitTestCase +final class TcaUuidTest extends UnitTestCase { public function resultArrayDataProvider(): \Generator { diff --git a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/UserTsConfigTest.php b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/UserTsConfigTest.php index 8655e2586723d893b0a0eb6906e4456cff481248..13ce205ed0c5f51a772b3acbd395b75b6312715b 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/UserTsConfigTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/UserTsConfigTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\UserTsConfig; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UserTsConfigTest extends UnitTestCase +final class UserTsConfigTest extends UnitTestCase { protected UserTsConfig $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php b/typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php index 468eec51503b5ac8305c95925d5d63859573b734..1cde3476a094a7898abbbfcd0722659f8030d05b 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InlineStackProcessorTest extends UnitTestCase +final class InlineStackProcessorTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php b/typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php index e54e7e5fefef0eea3e515477c45266f4b77ebce0..f31b37d8771b8321e1a41de3512fddf9aa1e044d 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/NodeExpansion/FieldControlTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FieldControlTest extends UnitTestCase +final class FieldControlTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php b/typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php index 7a557fccb97000c88b3cd7ee230671ad73662525..ba3dc3b52bbc15049a362ca98eaba0bb8eb1baf8 100644 --- a/typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php +++ b/typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Backend\Tests\Unit\Form\Fixtures\NodeFactory\NodeResolvers\Invalid use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NodeFactoryTest extends UnitTestCase +final class NodeFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php b/typo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php index f91910daff5d9ecdb6322736f5fdacd7fe858fa4..8768908bdc40dba416c4789d1fbabd107a93c6b2 100644 --- a/typo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php +++ b/typo3/sysext/backend/Tests/Unit/Http/RouteDispatcherTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RouteDispatcherTest extends UnitTestCase +final class RouteDispatcherTest extends UnitTestCase { public function tearDown(): void { diff --git a/typo3/sysext/backend/Tests/Unit/LoginProvider/LoginProviderResolverTest.php b/typo3/sysext/backend/Tests/Unit/LoginProvider/LoginProviderResolverTest.php index 1283efe750b6560dace68212ec8d09679d37257f..a19f4d941de9709f5f0f41770db98c387e6d9904 100644 --- a/typo3/sysext/backend/Tests/Unit/LoginProvider/LoginProviderResolverTest.php +++ b/typo3/sysext/backend/Tests/Unit/LoginProvider/LoginProviderResolverTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Http\Uri; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LoginProviderResolverTest extends UnitTestCase +final class LoginProviderResolverTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Unit/Module/ModuleFactoryTest.php b/typo3/sysext/backend/Tests/Unit/Module/ModuleFactoryTest.php index f298600eca45abc422c58eae761be6e552421044..0f5efc58a9c2a1de40bb09bf8eeb06b42384cd8c 100644 --- a/typo3/sysext/backend/Tests/Unit/Module/ModuleFactoryTest.php +++ b/typo3/sysext/backend/Tests/Unit/Module/ModuleFactoryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\CMS\Core\Imaging\IconRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModuleFactoryTest extends UnitTestCase +final class ModuleFactoryTest extends UnitTestCase { protected ModuleFactory $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Module/ModuleRegistryTest.php b/typo3/sysext/backend/Tests/Unit/Module/ModuleRegistryTest.php index f03b6fa89143457e7ecc17d03a6c8d6054f19861..41cefd4ef77f5517b0441a762c2f8644a29b9f60 100644 --- a/typo3/sysext/backend/Tests/Unit/Module/ModuleRegistryTest.php +++ b/typo3/sysext/backend/Tests/Unit/Module/ModuleRegistryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\CMS\Core\Imaging\IconRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModuleRegistryTest extends UnitTestCase +final class ModuleRegistryTest extends UnitTestCase { protected ModuleFactory $moduleFactory; diff --git a/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php b/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php index 63bed0b8fa000e14614152771428ac2ad5859df8..94772a4c392a454f02de780de15ecc23d6ca1819 100644 --- a/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php +++ b/typo3/sysext/backend/Tests/Unit/Preview/StandardPreviewRendererResolverTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Domain\Repository\PageRepository; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StandardPreviewRendererResolverTest extends UnitTestCase +final class StandardPreviewRendererResolverTest extends UnitTestCase { protected StandardPreviewRendererResolver $subject; diff --git a/typo3/sysext/backend/Tests/Unit/Routing/PreviewUriBuilderTest.php b/typo3/sysext/backend/Tests/Unit/Routing/PreviewUriBuilderTest.php index 5bad9567fab4c3972d2e1f223bdf60d1ed2f9ebd..37c003bffc51893d30124daff4177cfab999706a 100644 --- a/typo3/sysext/backend/Tests/Unit/Routing/PreviewUriBuilderTest.php +++ b/typo3/sysext/backend/Tests/Unit/Routing/PreviewUriBuilderTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PreviewUriBuilderTest extends UnitTestCase +final class PreviewUriBuilderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/Routing/UriBuilderTest.php b/typo3/sysext/backend/Tests/Unit/Routing/UriBuilderTest.php index 931997dd26c93aebed7081f42cf547e4a7f59422..b459f926a61896750381924c7d0f52e2814fb074 100644 --- a/typo3/sysext/backend/Tests/Unit/Routing/UriBuilderTest.php +++ b/typo3/sysext/backend/Tests/Unit/Routing/UriBuilderTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Routing\RequestContextFactory; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UriBuilderTest extends UnitTestCase +final class UriBuilderTest extends UnitTestCase { public static function validRoutesAreBuiltDataProvider(): array { diff --git a/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/MutableSearchDemandTest.php b/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/MutableSearchDemandTest.php index f70c2662a1da7a636892a6a739a98e2891a7bd36..ed4a9dab1e3ec0ed3deefedb7a1390b6bcfce886 100644 --- a/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/MutableSearchDemandTest.php +++ b/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/MutableSearchDemandTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Backend\Search\LiveSearch\SearchDemand\DemandPropertyName; use TYPO3\CMS\Backend\Search\LiveSearch\SearchDemand\MutableSearchDemand; use TYPO3\CMS\Core\Http\ServerRequest; -class MutableSearchDemandTest extends TestCase +final class MutableSearchDemandTest extends TestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/SearchDemandTest.php b/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/SearchDemandTest.php index b8522ffd98cdccb0cc2d1a4d35475892de96492e..61efa1b2b53546fc35d803ac3bbff8d950637b2e 100644 --- a/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/SearchDemandTest.php +++ b/typo3/sysext/backend/Tests/Unit/Search/LiveSearch/SearchDemand/SearchDemandTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Backend\Search\LiveSearch\SearchDemand\DemandPropertyName; use TYPO3\CMS\Backend\Search\LiveSearch\SearchDemand\SearchDemand; use TYPO3\CMS\Core\Http\ServerRequest; -class SearchDemandTest extends TestCase +final class SearchDemandTest extends TestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Security/EmailLoginNotificationTest.php b/typo3/sysext/backend/Tests/Unit/Security/EmailLoginNotificationTest.php index ce1f2a6da13329554240b5bdb5a61a40a6d01d28..7054358e5d6976be10270d3ccb15cdce6f8b747b 100644 --- a/typo3/sysext/backend/Tests/Unit/Security/EmailLoginNotificationTest.php +++ b/typo3/sysext/backend/Tests/Unit/Security/EmailLoginNotificationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Mail\MailerInterface; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EmailLoginNotificationTest extends UnitTestCase +final class EmailLoginNotificationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php index f2d3842c3026f55d4c0e123679d522908aa33d4e..083425cd33e78e533c8d5345b75c0d08566fb74e 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Template\Components\Button; use TYPO3\CMS\Backend\Template\Components\Buttons\FullyRenderedButton; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FullyRenderedButtonTest extends UnitTestCase +final class FullyRenderedButtonTest extends UnitTestCase { /** * Try to validate an empty button diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php index 0fb0cdaff9f4054e0f3d8d8df386058ee30829bc..668e9e61b91ea987648befd2d37e76d4718c41b3 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Template\Components\Buttons\InputButton; use TYPO3\CMS\Core\Imaging\Icon; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InputButtonTest extends UnitTestCase +final class InputButtonTest extends UnitTestCase { /** * Try to validate an empty button diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php index 5185864c045e748e737b20d2abc8434e4c6c35ea..d7acf18d2dc31e1740aded41e514ff0b84e4a33b 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton; use TYPO3\CMS\Core\Imaging\Icon; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LinkButtonTest extends UnitTestCase +final class LinkButtonTest extends UnitTestCase { /** * Try validating an empty button diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php index 0d6796a23b324e30aefafb4ef3eb0e1d47e9bdc0..673abbc364e2e67114f03f3046dcc9be7d695274 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class BackendModuleRequestHandlerTest */ -class SplitButtonTest extends UnitTestCase +final class SplitButtonTest extends UnitTestCase { /** * Try to validate an empty button diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php index 034d31151755598dfa26529d619a514e87d41800..0d62314f5e9846183efe9fa8d38382b85b583819 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Backend\Tests\Unit\Template\Components\Menu; use TYPO3\CMS\Backend\Template\Components\Menu\MenuItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MenuItemTest extends UnitTestCase +final class MenuItemTest extends UnitTestCase { /** * Try a blank menu Item diff --git a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php index e225d50b697c58814a8a2050bf1403ba12356007..f4a9c715181bb9a78cb752347335897c9bfed97c 100644 --- a/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php +++ b/typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Template\Components\Menu\Menu; use TYPO3\CMS\Backend\Template\Components\MenuRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MenuTest extends UnitTestCase +final class MenuTest extends UnitTestCase { /** * Try setting an empty menu diff --git a/typo3/sysext/backend/Tests/Unit/Tree/SortedTreeNodeCollectionTest.php b/typo3/sysext/backend/Tests/Unit/Tree/SortedTreeNodeCollectionTest.php index 58e3e027ad5e5ac1001115d058fe8f444df8bc63..657fa840c50d4e3f23babe3a44537c0dde2248d4 100644 --- a/typo3/sysext/backend/Tests/Unit/Tree/SortedTreeNodeCollectionTest.php +++ b/typo3/sysext/backend/Tests/Unit/Tree/SortedTreeNodeCollectionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Backend\Tree\SortedTreeNodeCollection. */ -class SortedTreeNodeCollectionTest extends UnitTestCase +final class SortedTreeNodeCollectionTest extends UnitTestCase { protected function createTestCollection(): SortedTreeNodeCollection { diff --git a/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeCollectionTest.php b/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeCollectionTest.php index 88a69fb8dd1e732b44f8ccc56c5c48671f3bb11f..a288e95a769724464b6dad1d7049ded58c87061c 100644 --- a/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeCollectionTest.php +++ b/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeCollectionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Backend\Tree\TreeNodeCollection. */ -class TreeNodeCollectionTest extends UnitTestCase +final class TreeNodeCollectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeTest.php b/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeTest.php index 5e1bf83c36726e6c734d3db8938948d3aa04a5e3..2fe971f0bfec58c2cd7c37ae4ab5e42446f1c20f 100644 --- a/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeTest.php +++ b/typo3/sysext/backend/Tests/Unit/Tree/TreeNodeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\Tree\TreeNodeCollection; use TYPO3\CMS\Backend\Tree\TreeRepresentationNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TreeNodeTest extends UnitTestCase +final class TreeNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php b/typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php index 1b2df9917ea7f3c7a79773b6b1016cb711a24e6b..4560c000c92cb55c7e7c23a4d6e5f0bd3d6a2a68 100644 --- a/typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php +++ b/typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendUtilityTest extends UnitTestCase +final class BackendUtilityTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php index 1a265c67ea487fcb81a1930031a06c1ff28f7d10..87df4f2c09319cb60a44c2e6617551fbbf389d43 100644 --- a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php +++ b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutCollectionTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testing collection of backend layouts. */ -class BackendLayoutCollectionTest extends UnitTestCase +final class BackendLayoutCollectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutTest.php b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutTest.php index d4eb290c439dacef379223f331ee33372da01bb6..2ba7ae58f9315fcac06b637e7ffc0c0964d76ad3 100644 --- a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutTest.php +++ b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/BackendLayoutTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testing backend layout representation. */ -class BackendLayoutTest extends UnitTestCase +final class BackendLayoutTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php index ef3f62466791adc04631ec11e90bb9faf62e943e..d8b067fa2bedb24ba58721f466ea794c98b453bc 100644 --- a/typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php +++ b/typo3/sysext/backend/Tests/Unit/View/BackendLayout/DataProviderCollectionTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testing collection of backend layout data providers. */ -class DataProviderCollectionTest extends UnitTestCase +final class DataProviderCollectionTest extends UnitTestCase { protected DataProviderCollection $dataProviderCollection; diff --git a/typo3/sysext/backend/Tests/Unit/View/BackendLayoutViewTest.php b/typo3/sysext/backend/Tests/Unit/View/BackendLayoutViewTest.php index b31db4b47567bd0b3fc5557efd62570632d7eea2..ab89e11408f123a55e670cdc687ccf0aef68e131 100644 --- a/typo3/sysext/backend/Tests/Unit/View/BackendLayoutViewTest.php +++ b/typo3/sysext/backend/Tests/Unit/View/BackendLayoutViewTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Backend\View\BackendLayoutView; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendLayoutViewTest extends UnitTestCase +final class BackendLayoutViewTest extends UnitTestCase { protected BackendLayoutView&MockObject&AccessibleObjectInterface $backendLayoutView; diff --git a/typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/TcaFlexPrepareTest.php b/typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/TcaFlexPrepareTest.php index 2228268a3fa6bc17c1934ac659c118a9b5fa087a..b33bcfc493acb63dfa39bd5af1114249a22b2a98 100644 --- a/typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/TcaFlexPrepareTest.php +++ b/typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/TcaFlexPrepareTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Fixtures\EventDispatcher\MockEventDispatcher; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaFlexPrepareTest extends UnitTestCase +final class TcaFlexPrepareTest extends UnitTestCase { protected TcaFlexPrepare $subject; diff --git a/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php b/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php index e9c70ad19cfb9b0eca979b63bfb732a7d998a040..9e991b15d5fdb443dae11dbef2366a1f289e1387 100644 --- a/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php +++ b/typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Belog\Tests\Unit\Domain\Model; use TYPO3\CMS\Belog\Domain\Model\Constraint; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConstraintTest extends UnitTestCase +final class ConstraintTest extends UnitTestCase { protected Constraint $subject; diff --git a/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php b/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php index 4a3110282b7cab52d99bdf452a81b2bd7e4665ae..e167a32c796c5252b4706b6680bae9b556e0740b 100644 --- a/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php +++ b/typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Belog\Tests\Unit\Domain\Model; use TYPO3\CMS\Belog\Domain\Model\LogEntry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LogEntryTest extends UnitTestCase +final class LogEntryTest extends UnitTestCase { protected LogEntry $subject; diff --git a/typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php b/typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php index 71fbdaa7e1f028f2ef48f80be781aa82e1888ec6..13b1a7ddce46e407ac7c2d55824df241ef2bc3c3 100644 --- a/typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php +++ b/typo3/sysext/belog/Tests/Unit/Domain/Repository/LogEntryRepositoryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Belog\Domain\Repository\LogEntryRepository; use TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LogEntryRepositoryTest extends UnitTestCase +final class LogEntryRepositoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php b/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php index cb42154834bed9d5d2cad614713ab69111d17e28..d74867e9b329ba368e8879412828de50ff8facd6 100644 --- a/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php +++ b/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class MfaStatusViewHelperTest extends FunctionalTestCase +final class MfaStatusViewHelperTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'beuser', diff --git a/typo3/sysext/beuser/Tests/Unit/Domain/Model/BackendUserTest.php b/typo3/sysext/beuser/Tests/Unit/Domain/Model/BackendUserTest.php index c656ffbaf7683c5eb636a467ae2eea31e07c3de7..7ae486856c37f38cae13ac758102fb4b06018c92 100644 --- a/typo3/sysext/beuser/Tests/Unit/Domain/Model/BackendUserTest.php +++ b/typo3/sysext/beuser/Tests/Unit/Domain/Model/BackendUserTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Beuser\Tests\Unit\Domain\Model; use TYPO3\CMS\Beuser\Domain\Model\BackendUser; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendUserTest extends UnitTestCase +final class BackendUserTest extends UnitTestCase { protected BackendUser $subject; diff --git a/typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php b/typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php index 65a570d389179004055eb572f2fde403d93674fa..9688673a4124457fc560d4aa16a306aa7529b8fe 100644 --- a/typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php +++ b/typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Beuser\Tests\Unit\Domain\Model; use TYPO3\CMS\Beuser\Domain\Model\Demand; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DemandTest extends UnitTestCase +final class DemandTest extends UnitTestCase { protected Demand $subject; diff --git a/typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserRepositoryTest.php b/typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserRepositoryTest.php index 2b4519a54a9724578936ac9f364573e46ee24010..3b7c537dbec9f9a5f43a6dac31995b6deb0b98f0 100644 --- a/typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserRepositoryTest.php +++ b/typo3/sysext/beuser/Tests/Unit/Domain/Repository/BackendUserRepositoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Beuser\Tests\Unit\Domain\Repository; use TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendUserRepositoryTest extends UnitTestCase +final class BackendUserRepositoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/beuser/Tests/Unit/Domain/Repository/FileMountRepositoryTest.php b/typo3/sysext/beuser/Tests/Unit/Domain/Repository/FileMountRepositoryTest.php index 2a70341b8db2daecb9a835c30ce3edb6ddd71bcd..ba0a104be1da855f27fe6b8eeb4dcb3d9c5484d1 100644 --- a/typo3/sysext/beuser/Tests/Unit/Domain/Repository/FileMountRepositoryTest.php +++ b/typo3/sysext/beuser/Tests/Unit/Domain/Repository/FileMountRepositoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Beuser\Tests\Unit\Domain\Repository; use TYPO3\CMS\Beuser\Domain\Repository\FileMountRepository; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileMountRepositoryTest extends UnitTestCase +final class FileMountRepositoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php b/typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php index 7e534c573b16b4f9d2632c7dd04f43903937dc6d..0cdfc28e19cae40511872f23a254ee60f8cb9f44 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/AbstractUserAuthenticationTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Session\UserSession; use TYPO3\CMS\Core\Tests\Functional\Authentication\Fixtures\AnyUserAuthentication; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AbstractUserAuthenticationTest extends FunctionalTestCase +final class AbstractUserAuthenticationTest extends FunctionalTestCase { private string $sessionId; private AnyUserAuthentication $subject; diff --git a/typo3/sysext/core/Tests/Functional/Authentication/AuthenticationServiceTest.php b/typo3/sysext/core/Tests/Functional/Authentication/AuthenticationServiceTest.php index a709c44b42e442ea409082fd1715716352491f05..d48327be961eb4317807e5e16561676711a15c75 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/AuthenticationServiceTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/AuthenticationServiceTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Testcase for class \TYPO3\CMS\Core\Authentication\AuthenticationService */ -class AuthenticationServiceTest extends FunctionalTestCase +final class AuthenticationServiceTest extends FunctionalTestCase { /** * @var AuthenticationService diff --git a/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php b/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php index a4face5224de2f9087d46910b46667212ba7fba7..6fcbb21e9ce20ff2aca0758f1b8f95ec02c92451 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendUserAuthenticationTest extends FunctionalTestCase +final class BackendUserAuthenticationTest extends FunctionalTestCase { /** * @var AuthenticationService diff --git a/typo3/sysext/core/Tests/Functional/Authentication/GroupResolverTest.php b/typo3/sysext/core/Tests/Functional/Authentication/GroupResolverTest.php index 533440ada0ffa46c29c5f24082bf0de42c7a4c05..41bfc916e850a0f60e61923d0d1ed251024b41c6 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/GroupResolverTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/GroupResolverTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Authentication\GroupResolver; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class GroupResolverTest extends FunctionalTestCase +final class GroupResolverTest extends FunctionalTestCase { public function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderPropertyManagerTest.php b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderPropertyManagerTest.php index 1a5947b2af5344adcc3cb55ea3a7f20f49a0afca..9411201768b2fd95136ee38fa8edca83c36ba22d 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderPropertyManagerTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderPropertyManagerTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Context\Context; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaProviderPropertyManagerTest extends FunctionalTestCase +final class MfaProviderPropertyManagerTest extends FunctionalTestCase { protected AbstractUserAuthentication $user; diff --git a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderRegistryTest.php b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderRegistryTest.php index e1a60ef35849eab10339d3a779fb69fca8e1a18f..6eec576a04639091a92c32132913c192a02714a8 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderRegistryTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/MfaProviderRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Authentication\Mfa\MfaProviderManifest; use TYPO3\CMS\Core\Authentication\Mfa\MfaProviderRegistry; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MfaProviderRegistryTest extends FunctionalTestCase +final class MfaProviderRegistryTest extends FunctionalTestCase { protected MfaProviderRegistry $subject; protected AbstractUserAuthentication $user; diff --git a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php index 83d58079f63b7c7743f0daef8721ae2aec72b416..063a6956fa6ef8cc12ec6869787fc1ef7b9859c3 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RecoveryCodesProviderTest extends FunctionalTestCase +final class RecoveryCodesProviderTest extends FunctionalTestCase { private BackendUserAuthentication $user; private MfaProviderManifestInterface $subject; diff --git a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/TotpProviderTest.php b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/TotpProviderTest.php index d7541c48f2ca62eb3507407a9b1f5788298da6a1..ef1eba363af44f118f2b4e26b5835736f5004ecc 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/TotpProviderTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/TotpProviderTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TotpProviderTest extends FunctionalTestCase +final class TotpProviderTest extends FunctionalTestCase { private BackendUserAuthentication $user; private MfaProviderManifestInterface $subject; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php index 7229ae49361ae9d8c2e738fd6f89c0fdf598389b..d3bd1a6891d5ccce3b6e76d43604eb2313468da3 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/ApcuBackendTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * NOTE: If you want to execute these tests you need to enable apc in * cli context (apc.enable_cli = 1) and disable slam defense (apc.slam_defense = 0) */ -class ApcuBackendTest extends FunctionalTestCase +final class ApcuBackendTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php index 723a2a4665dcefa2563a859cbedd5dc4815d5333..c7aad47896f64038ef4c9a07467f7c2557c83362 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MemcachedBackendTest extends FunctionalTestCase +final class MemcachedBackendTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php index f0dc7af6731623d29f635ce97576bb2d80278a01..f2b48e5978bb0cca3585b12b2fc53b4ff5ad5153 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php @@ -33,7 +33,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * * @requires extension redis */ -class RedisBackendTest extends FunctionalTestCase +final class RedisBackendTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php index 9d7a6b4d396929159241b66f6515ec308f2357b7..6654872c5a20d9d062fb73cd12efb1e0b385f2bf 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class Typo3DatabaseBackendTest extends FunctionalTestCase +final class Typo3DatabaseBackendTest extends FunctionalTestCase { protected array $configurationToUseInTestInstance = [ 'SYS' => [ diff --git a/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php b/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php index 8197e3d8a6b3ac64c5b730af95724ceff75471f0..7594898c5a77a38f547efac3f70cf8c8952f0b97 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Cache\Core; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper; -class ClassAliasLoaderTest extends FunctionalTestCase +final class ClassAliasLoaderTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php index 0239720ea0906283807eab2a3f09a72b3efb4d1d..43643be2228a3b44dd828efd4d6bcf5b1bad35fb 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend; use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class VariableFrontendTest extends FunctionalTestCase +final class VariableFrontendTest extends FunctionalTestCase { protected array $configurationToUseInTestInstance = [ 'SYS' => [ diff --git a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php index 01cbe5bf7f3a883a55fe554051bfd5894786f752..50062440578a040243c3cec4beecce6e69b7583f 100644 --- a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php +++ b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CategoryCollectionTest extends FunctionalTestCase +final class CategoryCollectionTest extends FunctionalTestCase { /** * @var array diff --git a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php index 265c879442dc6bc749eed556742abc4e7e99fe57..13852e415cbb74b7f7dc7c8f275683c49d9fd7cd 100644 --- a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php +++ b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Core\DependencyInjection\ContainerBuilder; use TYPO3\CMS\Core\Package\PackageManager; -class CacheFlushCommandTest extends AbstractCommandTestCase +final class CacheFlushCommandTest extends AbstractCommandTestCase { protected array $configurationToUseInTestInstance = [ 'SYS' => [ diff --git a/typo3/sysext/core/Tests/Functional/Command/CacheWarmupCommandTest.php b/typo3/sysext/core/Tests/Functional/Command/CacheWarmupCommandTest.php index a587fbe0ff762793df3308fefb354613e1d78bac..031a1ca57b88f8beab12966ff20b4b265a0de93e 100644 --- a/typo3/sysext/core/Tests/Functional/Command/CacheWarmupCommandTest.php +++ b/typo3/sysext/core/Tests/Functional/Command/CacheWarmupCommandTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\DependencyInjection\ContainerBuilder; use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\CMS\Core\Utility\GeneralUtility; -class CacheWarmupCommandTest extends AbstractCommandTestCase +final class CacheWarmupCommandTest extends AbstractCommandTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Configuration/Loader/YamlFileLoaderTest.php b/typo3/sysext/core/Tests/Functional/Configuration/Loader/YamlFileLoaderTest.php index 3b71bb063b71f4fb75e5a197d4999d06b8c7c230..abbc1f10a9c0ed3488f9511ca6708738fd38f0ec 100644 --- a/typo3/sysext/core/Tests/Functional/Configuration/Loader/YamlFileLoaderTest.php +++ b/typo3/sysext/core/Tests/Functional/Configuration/Loader/YamlFileLoaderTest.php @@ -22,7 +22,7 @@ use Psr\Log\LogLevel; use TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class YamlFileLoaderTest extends FunctionalTestCase +final class YamlFileLoaderTest extends FunctionalTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Functional/Country/CountryTest.php b/typo3/sysext/core/Tests/Functional/Country/CountryTest.php index 0eac47c7d087fcde6ccff1987d3dcdbbfba93585..1151da8b3e98a04330923ee517a4dce5d100ec6c 100644 --- a/typo3/sysext/core/Tests/Functional/Country/CountryTest.php +++ b/typo3/sysext/core/Tests/Functional/Country/CountryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Country\Country; use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CountryTest extends FunctionalTestCase +final class CountryTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php index f2e031a169812832b3fd5cd97dca955f9aa82a6d..41c2f53ecf16af90a26fdc92c52b74a217c2656b 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php @@ -43,7 +43,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * WORKSPACE: Records checked globally: 3 * WORKSPACE: Records checked on (other) pid 300: 2 */ -class CheckboxValidationTest extends FunctionalTestCase +final class CheckboxValidationTest extends FunctionalTestCase { protected const PAGE_ID = 200; protected const PAGE_ID_OTHER = 300; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php index f9a804fd0440dd8890142ead81c9afc214f73f26..2df20c39238fdc166644bd57f286d8fbcff28d57 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; /** * Tests various places to set default values properly for new records */ -class DefaultValuesTest extends AbstractDataHandlerActionTestCase +final class DefaultValuesTest extends AbstractDataHandlerActionTestCase { protected const PAGE_DATAHANDLER = 88; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php index e74e786f57481cead3d3570f69cd790f2917d2c5..f273adf165d010068c6a921a2dcbfa5ffd66aa37 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Functional test for deleting page with translated subpage */ -class DeleteTranslatedSubpagesTest extends AbstractDataHandlerActionTestCase +final class DeleteTranslatedSubpagesTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTest.php index 328d23af571d440a1bb90b294e09bb0f3c7d5658..d8f94118148a8abdbb636e816a1df025cbe94ab7 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests related to DataHandler::getUnique() */ -class GetUniqueTest extends FunctionalTestCase +final class GetUniqueTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php index 48be433b9fef25cb52adc2c085e40824969537b7..8288e7a5e5f378463aeed056c7d925e2ca066a15 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler; use TYPO3\CMS\Backend\Utility\BackendUtility; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; -class GetUniqueTranslationTest extends AbstractDataHandlerActionTestCase +final class GetUniqueTranslationTest extends AbstractDataHandlerActionTestCase { protected const PAGE_DATAHANDLER = 88; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php index d2af1fce2bf076cefb00a2bba0de7ad7997d4085..ee86e8cb8e52e1934e86d76a946c858f96a48282 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\StringUtility; /** * Tests triggering hook execution in DataHandler. */ -class HookTest extends AbstractDataHandlerActionTestCase +final class HookTest extends AbstractDataHandlerActionTestCase { protected const VALUE_PageId = 89; protected const VALUE_ContentId = 297; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php index 67fd9818a194e7fa71a063308ded87a6e6296862..057964ad1adf71b35098f8456eeb6663576eb7cc 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php @@ -29,7 +29,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests related to security aspects in DataHandler */ -class SecurityTest extends FunctionalTestCase +final class SecurityTest extends FunctionalTestCase { /** * @var BackendUserAuthentication diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SelectCheckBoxTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SelectCheckBoxTest.php index 6c16d87c21853a0338ece78733a551216f6eb7e1..f82b6c032dd2056c7758177b9a394748052bf906 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SelectCheckBoxTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SelectCheckBoxTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\ActionService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SelectCheckBoxTest extends FunctionalTestCase +final class SelectCheckBoxTest extends FunctionalTestCase { protected const PAGE_ID = 0; protected ?BackendUserAuthentication $backendUserAuthentication = null; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php index 7103c43707e984c84adaa65599cff31d388caafb..3a2a4d7de955746bb1a953078e7f351c79c797f1 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Tests related to DataHandler slug unique handling */ -class SlugUniqueTest extends AbstractDataHandlerActionTestCase +final class SlugUniqueTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/TranslationDiffSourceTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/TranslationDiffSourceTest.php index a85765f7fc12fbdbae6cec382c8f3e5220e556cd..b7c42674aeec097fb5e1c53a5acdd6e41ab3fceb 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/TranslationDiffSourceTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/TranslationDiffSourceTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Backend\Utility\BackendUtility; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; use TYPO3\CMS\Core\Utility\GeneralUtility; -class TranslationDiffSourceTest extends AbstractDataHandlerActionTestCase +final class TranslationDiffSourceTest extends AbstractDataHandlerActionTestCase { protected const PAGE_DATAHANDLER = 88; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php index 708e1b474f3c34e648ce94a51a2f89fc9b05f41a..9abd4a216300fb78b0b0e0385459961bb42d11bd 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\DataResolving; use TYPO3\CMS\Core\DataHandling\PlainDataResolver; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; -class PlainDataResolverTest extends AbstractDataHandlerActionTestCase +final class PlainDataResolverTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php index 81c5c4e055a52246c7239715196bcb1b717f6023..11950997575e7c7fd0f7445f6be53642187e4530 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\Flexform; use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; -class ActionTest extends AbstractDataHandlerActionTestCase +final class ActionTest extends AbstractDataHandlerActionTestCase { protected const VALUE_ContentId = 100; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php index fd0ec150528e53322b7b5c309a95cd5b44826468..918cbc247dbe511c489c5ab40873d33d8b1879ae 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataHandling\FlexformIrre; use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; -class ActionTest extends AbstractDataHandlerActionTestCase +final class ActionTest extends AbstractDataHandlerActionTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php index d79d89bebb914916db96b09c846a0bc304fdc889..19ebe55dbe8cc10595762d86601e4afa3e59e1b2 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa /** * Tests related to DataHandler::checkValue() */ -class CheckValueTest extends AbstractDataHandlerActionTestCase +final class CheckValueTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php index aeafe2827984d66099e72a645396ae3bee48552b..0baf2a7fda3be1273a2098f38469b569f4d12b97 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa /** * Functional Test for DataHandler::checkValue() concerning checkboxes */ -class CheckValueTestForCheckboxesTest extends AbstractDataHandlerActionTestCase +final class CheckValueTestForCheckboxesTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php index fe4468e749bbe58de6b16a54926b6f5fe346ecee..9d9e29f00d16b4b524449843c8e08ed584038d21 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa /** * Functional Test for DataHandler::checkValue() concerning checkboxes */ -class CheckValueTestForSelectTest extends AbstractDataHandlerActionTestCase +final class CheckValueTestForSelectTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php index 200d9d0b9af8e7945fe5013675292091fb77c7b2..be2457e70906b752b8fb8d54a2c46192a5182e8d 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PagesTsConfigGuardTest extends FunctionalTestCase +final class PagesTsConfigGuardTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MinValueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MinValueTest.php index acedd984b496927fa5bde46864a439dc76caa96f..ebb0e751279d0b116ec3e892828a8436ed6eb836 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MinValueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MinValueTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests the TCA option "min". */ -class MinValueTest extends FunctionalTestCase +final class MinValueTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MultiSite/MultiSiteTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MultiSite/MultiSiteTest.php index 57a4429c8e7b456249727c6c9d3a60fc8fcb18d0..cd440622483b494daf2384fcb4efb4ccb9d02752 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MultiSite/MultiSiteTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/MultiSite/MultiSiteTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler when handling multiple page trees */ -class MultiSiteTest extends AbstractDataHandlerActionTestCase +final class MultiSiteTest extends AbstractDataHandlerActionTestCase { protected const VALUE_PageIdWebsite = 1; protected const VALUE_PageIdSecondSite = 50; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php index f5fda1f6943159133ce3fd77ba9ec8abfce040ca..97df27dc0d1263ec9264e163d7ceac9b612abe19 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Type\Bitmask\Permission; /** * Tests related to DataHandler setting proper page permissions */ -class PagePermissionTest extends AbstractDataHandlerActionTestCase +final class PagePermissionTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php index 31536f5a60849da4e7033e5c4c19da688dd2aa23..dabaa93be87363a4a98cc24cab6a800974c02148 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; /** * Functional test for the SlugHelper */ -class SlugHelperTest extends AbstractDataHandlerActionTestCase +final class SlugHelperTest extends AbstractDataHandlerActionTestCase { /** * Default Site Configuration diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php index 54da43236607422338f90681c490914050fd2b81..5e2c3ded6e5d5527bc3f5558eca8d71934fb5c9f 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\DataHandling\SlugHelper; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; use TYPO3\CMS\Core\Utility\GeneralUtility; -class SlugHelperUniqueTest extends AbstractDataHandlerActionTestCase +final class SlugHelperUniqueTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueWithLanguageTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueWithLanguageTest.php index 4875d1ee92de534b9d605ce4b21f118431673681..be1191c731f7d1b64828808a31709d23655b0275 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueWithLanguageTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueWithLanguageTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\DataHandling\SlugHelper; use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase; use TYPO3\CMS\Core\Utility\GeneralUtility; -class SlugHelperUniqueWithLanguageTest extends AbstractDataHandlerActionTestCase +final class SlugHelperUniqueWithLanguageTest extends AbstractDataHandlerActionTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler_slug', diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryManyToMany/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryManyToMany/Modify/ActionTest.php index c2d695e4742d515bc3312732bd98d985884740ee..e14563b5e3d0ec35fe8458d8c0f91cbf54753997 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryManyToMany/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryManyToMany/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToMany/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToMany/Modify/ActionTest.php index fa76a434bfb487005e5f17849cd451b8ea4a48da..4a7ef90903a51d555c0c0e6127f3bcdb5369fa13 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToMany/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToMany/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToOne/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToOne/Modify/ActionTest.php index a7a96da920a43d1e42e64e321ad5df39199cd397..f986ca4b628764cbca8f9b86792ea9daa6ff4cec 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToOne/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/CategoryOneToOne/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/Modify/ActionTest.php index a4f3bc3f9202339cc68fa7a9c68cf313a48a9c63..964f761e18b4f0569a6fa0ba8adfd777cf2f0f23 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesDiscard/ActionTest.php index 846cebb90dcf2f52273385fbeb7c33020e789a66..0ca3ebbf23aecca64f6456169b6e33e2e144c2a9 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesDiscard/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FAL\AbstractActionWorkspacesTe /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesModify/ActionTest.php index 20bd63e151936621beb49d1b37c7d16ef17d03ae..ba3968056623b1aa3f05a268f1ebf58ae3de4ee2 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesModify/ActionTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublish/ActionTest.php index 648abe9957b5c06d497e8efd77db2d573e301b50..db34f8bb5d7c844861025034f161fcec8ae4564f 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublish/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublishAll/ActionTest.php index 94f06d165590cc8b69105876656bf5509d9d2871..16c892cd85ddc48b09a202d63b5b7b2f6350cde7 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FAL/WorkspacesPublishAll/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FAL\AbstractActionWorkspacesTe use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/Modify/ActionTest.php index 89e9a1bd714e06d524c8ce4b13588d9e1c461a91..ae00b6edb6f95720a95d3eb9bc54124a38560d76 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/Modify/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\Mod use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\AbstractActionTestCase; -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesDiscard/ActionTest.php index 7eed0730ec8b0c05b3243ac5237fe759fba35f36..73596503cecef65c45b564c6c0112fa39e11ea28 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\Wor use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesModify/ActionTest.php index 476e5e30ab0194bcf5bd2d33d94343230a453afe..28071d2248a2591fb2535c779b2805d8b6f11c38 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesModify/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\Wor use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublish/ActionTest.php index 1ac1ec4df6490a7693fb9d48b88052961ebc0bd1..3b79a75f76caabe63ee29c26fe32a4d95a66dd92 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublish/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\Wor use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublishAll/ActionTest.php index d22a079b2787795afb90b2f49f61f04bf0a3dd37..49929fc8f5c8d9ae0c4b1f8c154cb4cd988ee5c5 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/FlexSectionContainer/WorkspacesPublishAll/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\Wor use TYPO3\CMS\Core\Tests\Functional\DataScenarios\FlexSectionContainer\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/Modify/ActionTest.php index 1d7c2b6d7b51187653361e04c3d655f5ca0489f5..a75631e2b23dc9d8db1a48423cd6f039eb7d0c23 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/Modify/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\Group\AbstractActionTestCase; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesDiscard/ActionTest.php index 425dde7a3dc9089583e97979e837b222134cfbd8..6b42b0ab25b44ba4c5b1efea65d01a791205ad04 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\Group\WorkspacesDiscard; use TYPO3\CMS\Core\Tests\Functional\DataScenarios\Group\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesModify/ActionTest.php index 38eef2d5f63c4fada8e85d4fd59a87b5cf0de23b..ce83c3ee8a763507ad5647fbcf6556e58cb065c4 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublish/ActionTest.php index 29de4919d638755e80fa00751a8060296baf16c3..a8614bc7a33869c330439e90f5708f1720319767 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublish/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublishAll/ActionTest.php index d97c137152753ee99c5a175cf90f235a1f81e235..638b9a8d579e9c843dcc770d2db45ccda4141f9f 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Group/WorkspacesPublishAll/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/Modify/ActionTest.php index 56a822f3f3f27fdc4c1ee2bfaea6a37f271e16b2..e45a21649ba5eb48f794bc00207d679b8eac95ac 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesDiscard/ActionTest.php index c4112455fc629c2db674bf0475d87617f6972fbd..b862a97278667070b4b62efe2d45232fde827636 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreCsv\WorkspacesDiscar use TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreCsv\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesModify/ActionTest.php index 40b2339d66e18324b2f834ececdd5edb53229128..bd2eb2813674abd44910dac57b398542c94d6e88 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublish/ActionTest.php index 447afac79bd2ddb545b04b02763740f6e0fb5901..763889c350e25460294bdc071099b3bf6cc5597c 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublish/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublishAll/ActionTest.php index cac331496e0f3f4edadb12b5759ba49f28472056..66bd04de3f3bde73d61a2624c134e8eef2a4828b 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreCsv/WorkspacesPublishAll/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/Modify/ActionTest.php index 5760e202c98ab945366dfa76ef53da41e3ca21c5..4500d019f700e9fbeab768db8f65d6e559b0d40e 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesDiscard/ActionTest.php index 105f58deda3056c66dbaa9dc7463155471fdceb8..61efda11f48c0e9c950373958251537a85691015 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreForeignField\Workspa use TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreForeignField\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesModify/ActionTest.php index 4a8ed1bf591e08c6d25b34e7bfbdbcf9c7f8b5aa..0f68b9e7ef0fe641ae24dce3ef0bb09a01b03759 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublish/ActionTest.php index 9cc17cf9567debfb052febbf589fd8490329e6a9..a36b61a50fc121cd33904daa104efc1ffa25931d 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublish/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublishAll/ActionTest.php index 29bbb9f806ae8c2d886add3a3bea9c00ec560bb0..0b85fc74c750ea153e62028408915d8d96b1372e 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignField/WorkspacesPublishAll/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/Modify/ActionTest.php index 9674f485e017d4df05f213c7f931c49a8c3b6a62..799f8380c69f331d026ab3f41fa9116ec6ba3f3d 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/Modify/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreForeignFieldNonWs\Mo use TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreForeignFieldNonWs\AbstractActionTestCase; -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/WorkspacesModify/ActionTest.php index e123ddf84e981452fd3afa6a5cf0ea5cbe13aabc..37112e4eae427277c64e84c390efffd1db7d0e3d 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/IrreForeignFieldNonWs/WorkspacesModify/ActionTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\IrreForeignFieldNonWs\Abstract * For now, we're skipping "WorkspaceDiscard", "WorkspacePublish" and "WorkspacePublishAll" tests, since * "WorkspaceModify" already show enough inconsistencies. */ -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/Modify/ActionTest.php index 7f44147a2d7a5389bfe81fa56914d77649fcd6da..c0516a1643172308a94737bfbad1b8ac65c42603 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/Modify/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\ManyToMany\AbstractActionTestC use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesDiscard/ActionTest.php index 2ed3f669cec45a69b1dac4b141fbc8fd43151185..eb2f9aa41663960426211f6775bb3796d9a9f581 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\ManyToMany\WorkspacesDis use TYPO3\CMS\Core\Tests\Functional\DataScenarios\ManyToMany\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesModify/ActionTest.php index 151ba9f24bdf8c8f6b514949fec3cecf9f79c174..83c4d7287aa68ca6734c2884c93b7aa46f6eaff8 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublish/ActionTest.php index 090a0b5f37b03057149c29f772d4252f6428e4a0..285bda23566b26f36340b2fe940c95c36dc1d52d 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublish/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\ManyToMany\AbstractActionWorks use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublishAll/ActionTest.php index c8cfd70bd1ddfc99f8b9b58d50d0806843764a25..e69c8800e1c18f67e698c0508c9d3332adf5e649 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/ManyToMany/WorkspacesPublishAll/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\ManyToMany\AbstractActionWorks use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/Modify/ActionTest.php index 50df69bc1aafa9a2a207dbbba5f4f66c10484749..9dbe74eaad3c3aa915b694b57a24d1d95fc9779d 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/Modify/ActionTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesDiscard/ActionTest.php index d6e0ff3335e417273438deaee54549545d378ef2..7242a0e6c55dee74864a0be8208768655e2d3de8 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesDiscard/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesModify/ActionTest.php index ecf994ae15a894e97be96713bcdc619115f0fb68..f98fc85b2ac00bed63db9f7635af4b52f105f9cf 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublish/ActionTest.php index 16804401517e1d1815d5288d60306d367485ea7f..638f2a1a18c1cde6dcaee01bc40e8615847edf98 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublish/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublishAll/ActionTest.php index 4c061a50592de59eb75b972fb7f29a6dac62ead9..d9dfb9098e0dd91976d85f9d71cf7aede35a9cb0 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Regular/WorkspacesPublishAll/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/Modify/ActionTest.php index 56e350c61edaaff9bd0b5ba885a4ecf9310f57e4..089e73c60a60a707950bcfa355b0caf2bc9e49b8 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/Modify/ActionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; /** * Functional test for the DataHandler */ -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesDiscard/ActionTest.php index 23bfc559be3231b1bdd3295f18998b3e7988982f..f6a8390281c1305999ce924b7ba9cba0cb368cb9 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\Select\WorkspacesDiscard use TYPO3\CMS\Core\Tests\Functional\DataScenarios\Select\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesModify/ActionTest.php index 224d368d9ac134d63b0cc997dca8486780dc3511..1f5bd43a0f183a00fe9fd5b9f6bcb31779b563df 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesModify/ActionTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublish/ActionTest.php index eb843e6860f9bac42b34dee945e410faf7ebd2fa..74f76c8cff38daf18408b36f8df7a009290a7116 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublish/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\Select\AbstractActionWorkspace use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublishAll/ActionTest.php index e6fc1ab19765d28c681f6cc6761be979845c58db..723f47dca30bbd42ce7ef1aed66d287ca3cbacc6 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/Select/WorkspacesPublishAll/ActionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataScenarios\Select\AbstractActionWorkspace use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/Modify/ActionTest.php index 4bbedc1eabbcced7a1d27291b6d998f08e3647bd..07d42030f6c8822c3a8164481e6987702d0b8912 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/Modify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/Modify/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\Modify; use TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\AbstractActionTestCase; -class ActionTest extends AbstractActionTestCase +final class ActionTest extends AbstractActionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesDiscard/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesDiscard/ActionTest.php index 2523e92c8aa268fa60f15a4dab4856af6aded32e..08a37e2b00ca99e3c1c186ae5815ed3baa767096 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesDiscard/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesDiscard/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\WorkspacesDis use TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesModify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesModify/ActionTest.php index 6a10be859c0a627c9980d5865af10bfa5106e67d..bfdaee5f2fbb0565da8814107f336880cd88d182 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesModify/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesModify/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\WorkspacesMod use TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublish/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublish/ActionTest.php index 6e0f3280d9c04b3506b0d308d75c5b0989200c87..19afd9def3f3ffcb52394ecfbd2d82ffaea0f894 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublish/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublish/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\WorkspacesPub use TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublishAll/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublishAll/ActionTest.php index a9180f9e7b062ceb38ebd6e48d6f877127ad9399..eb4ec0d8d92bb496f7bc1266b491b21e10417820 100644 --- a/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublishAll/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataScenarios/SelectFlex/WorkspacesPublishAll/ActionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\WorkspacesPub use TYPO3\CMS\Core\Tests\Functional\DataScenarios\SelectFlex\AbstractActionWorkspacesTestCase; -class ActionTest extends AbstractActionWorkspacesTestCase +final class ActionTest extends AbstractActionWorkspacesTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/NamedPlaceholderPreparedStatementTest.php b/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/NamedPlaceholderPreparedStatementTest.php index e17d8f6794f56abcb42313e0ec891d5282770d66..9fa4907c4d042f77ea276ebcbf38bbce8aa982fc 100644 --- a/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/NamedPlaceholderPreparedStatementTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/NamedPlaceholderPreparedStatementTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NamedPlaceholderPreparedStatementTest extends FunctionalTestCase +final class NamedPlaceholderPreparedStatementTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php b/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php index b2c98a473e0cee7a0654598c8c31849f6827058c..fe6a79bea53a551b66a68717260f1390615e240d 100644 --- a/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/Query/QueryBuilder/PositionPlaceholderPreparedStatementTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Database\Query\UnsupportedPreparedStatementParameterTypeExcep use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PositionPlaceholderPreparedStatementTest extends FunctionalTestCase +final class PositionPlaceholderPreparedStatementTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php index a5657c3a1b63ee7832a1b522b56ec099b5e1ff36..ea5b9662db19a6fc20fb3d71fb8a03ac2215fb70 100644 --- a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Database; use TYPO3\CMS\Core\Database\ReferenceIndex; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ReferenceIndexTest extends FunctionalTestCase +final class ReferenceIndexTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', diff --git a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php index cd760e4bf4b737003e4fa2b16b08f74eb70e8e0a..78abf4930a9dbb0363bde6c88ef3ff23782e5c5e 100644 --- a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Database; use TYPO3\CMS\Core\Database\ReferenceIndex; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ReferenceIndexWorkspaceLoadedTest extends FunctionalTestCase +final class ReferenceIndexWorkspaceLoadedTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'workspaces', diff --git a/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php b/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php index 7e7ee3c6af2423effb5a6e7c51ecc2e9cf875114..bb104325f2ef632494dd00f7466b93a154ab8813 100644 --- a/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/Schema/SchemaMigratorTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Database\Schema\SqlReader; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SchemaMigratorTest extends FunctionalTestCase +final class SchemaMigratorTest extends FunctionalTestCase { /** * @var SqlReader diff --git a/typo3/sysext/core/Tests/Functional/Domain/Access/RecordAccessVoterTest.php b/typo3/sysext/core/Tests/Functional/Domain/Access/RecordAccessVoterTest.php index 2b354180397c628f98e9a2553d814cd71a99ae61..9732b3a032b1a4bc3111c6161f3c0dfc3f5adc47 100644 --- a/typo3/sysext/core/Tests/Functional/Domain/Access/RecordAccessVoterTest.php +++ b/typo3/sysext/core/Tests/Functional/Domain/Access/RecordAccessVoterTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Context\VisibilityAspect; use TYPO3\CMS\Core\Domain\Access\RecordAccessVoter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RecordAccessVoterTest extends FunctionalTestCase +final class RecordAccessVoterTest extends FunctionalTestCase { protected RecordAccessVoter $subject; diff --git a/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php b/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php index 79ef33011b5165cdf6318d6f5719a7c5fe63f5e3..cf42f98b09e09841c52cbf383abf7bee06ccc6bb 100644 --- a/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php +++ b/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Log\LogManager; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ErrorHandlerTest extends FunctionalTestCase +final class ErrorHandlerTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php b/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php index aa3cf076313ee2deecaf4738feb893f561716c69..612c25f18aadb92791f64c880ea0c00c091940e4 100644 --- a/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php +++ b/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php @@ -28,7 +28,7 @@ use TYPO3\HtmlSanitizer\Behavior; use TYPO3\HtmlSanitizer\Sanitizer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DefaultSanitizerBuilderTest extends FunctionalTestCase +final class DefaultSanitizerBuilderTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Imaging/IconFactoryTest.php b/typo3/sysext/core/Tests/Functional/Imaging/IconFactoryTest.php index 195cb5d487a21f783e7f48a83ab1f451c29d07f1..d555809a21ab70ef8dd5ff03dcdd261a1b3be9ea 100644 --- a/typo3/sysext/core/Tests/Functional/Imaging/IconFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/Imaging/IconFactoryTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IconFactoryTest extends FunctionalTestCase +final class IconFactoryTest extends FunctionalTestCase { protected IconFactory $subject; protected string $notRegisteredIconIdentifier = 'my-super-unregistered-identifier'; diff --git a/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php b/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php index 10e612ee125e0afa5ac524ce813fa6ad04df3669..68669d7b00439ffc2df8ce87c82e5f1f8c338e79 100644 --- a/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php +++ b/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Type\File\FileInfo; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ImageMagickFileTest extends FunctionalTestCase +final class ImageMagickFileTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php b/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php index 8c23e1f7ac2be2aecb9c2537c5fb4c996cbacf2d..f9574a3ea0fd49b70720392e62d9d934e7bd137c 100644 --- a/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php +++ b/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Cache\Backend\NullBackend; use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LanguageServiceTest extends FunctionalTestCase +final class LanguageServiceTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_localization', diff --git a/typo3/sysext/core/Tests/Functional/Localization/TcaSystemLanguageCollectorTest.php b/typo3/sysext/core/Tests/Functional/Localization/TcaSystemLanguageCollectorTest.php index e82c97e7b20ae8ba9e1a1b8443ec030117d19fbf..3326bee2fce6226632e1dc30c78a6b7b77a487ab 100644 --- a/typo3/sysext/core/Tests/Functional/Localization/TcaSystemLanguageCollectorTest.php +++ b/typo3/sysext/core/Tests/Functional/Localization/TcaSystemLanguageCollectorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TcaSystemLanguageCollectorTest extends FunctionalTestCase +final class TcaSystemLanguageCollectorTest extends FunctionalTestCase { public function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Log/LoggerAwareChannelTest.php b/typo3/sysext/core/Tests/Functional/Log/LoggerAwareChannelTest.php index 79445508db7c037ffce45a51f57ba536da9e8077..8d42bb38863cda74f6afd4ac8e3ee58428848943 100644 --- a/typo3/sysext/core/Tests/Functional/Log/LoggerAwareChannelTest.php +++ b/typo3/sysext/core/Tests/Functional/Log/LoggerAwareChannelTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Tests\TestLogger\ConstructorAttributeChannelTester; use TYPO3Tests\TestLogger\LoggerAwareClassAttributeChannelTester; -class LoggerAwareChannelTest extends FunctionalTestCase +final class LoggerAwareChannelTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_logger', diff --git a/typo3/sysext/core/Tests/Functional/Log/Writer/DatabaseWriterTest.php b/typo3/sysext/core/Tests/Functional/Log/Writer/DatabaseWriterTest.php index e6b78428f3df9da446f8b836d9f5e4ed7faa101f..967419dc28e835fb26f838bc7320849dfd5bb0e9 100644 --- a/typo3/sysext/core/Tests/Functional/Log/Writer/DatabaseWriterTest.php +++ b/typo3/sysext/core/Tests/Functional/Log/Writer/DatabaseWriterTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Log\LogRecord; use TYPO3\CMS\Core\Log\Writer\DatabaseWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DatabaseWriterTest extends FunctionalTestCase +final class DatabaseWriterTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php b/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php index c852425379e0c1bf5f7ce59765e5e1be951ae66c..2a5b52bada7dd9281dbc056ce8f6b54cd7397e41 100644 --- a/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php +++ b/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Mail; use TYPO3\CMS\Core\Mail\FluidEmail; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FluidEmailTest extends FunctionalTestCase +final class FluidEmailTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Mail/MailerTest.php b/typo3/sysext/core/Tests/Functional/Mail/MailerTest.php index 155c0275ee71884bb476bafff5334bc0b55f6d95..1bee83e36c98ade7855bfde088ee8889383e860e 100644 --- a/typo3/sysext/core/Tests/Functional/Mail/MailerTest.php +++ b/typo3/sysext/core/Tests/Functional/Mail/MailerTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Mail\Event\BeforeMailerSentMessageEvent; use TYPO3\CMS\Core\Mail\Mailer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MailerTest extends FunctionalTestCase +final class MailerTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php b/typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php index 0cd93cb7df3db6d9e1c7a22aba15539a3cbf799f..55c48dd201e0d2e7ccbb726330a2c379b22821fb 100644 --- a/typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php +++ b/typo3/sysext/core/Tests/Functional/Messaging/FlashMessageQueueTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageQueue; use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FlashMessageQueueTest extends FunctionalTestCase +final class FlashMessageQueueTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/MetaDataHandling/PluginsTest.php b/typo3/sysext/core/Tests/Functional/MetaDataHandling/PluginsTest.php index c187ca7b34b911501307da3edbba431678756529..29ffef23dfa819b5a72bfdfa7576ecf9b6c5b450 100644 --- a/typo3/sysext/core/Tests/Functional/MetaDataHandling/PluginsTest.php +++ b/typo3/sysext/core/Tests/Functional/MetaDataHandling/PluginsTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; /** * Functional test for the DataHandler */ -class PluginsTest extends AbstractTestCase +final class PluginsTest extends AbstractTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_meta', diff --git a/typo3/sysext/core/Tests/Functional/Page/JavaScriptRendererTest.php b/typo3/sysext/core/Tests/Functional/Page/JavaScriptRendererTest.php index 0aba10395ebd7c019da43ae0da7e5d89f6e34c4e..31813f3c894e9b1eb3668731df4c98d76451fd4e 100644 --- a/typo3/sysext/core/Tests/Functional/Page/JavaScriptRendererTest.php +++ b/typo3/sysext/core/Tests/Functional/Page/JavaScriptRendererTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Page\JavaScriptModuleInstruction; use TYPO3\CMS\Core\Page\JavaScriptRenderer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class JavaScriptRendererTest extends FunctionalTestCase +final class JavaScriptRendererTest extends FunctionalTestCase { /** * Ensures closing comment block cannot be injected. diff --git a/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php b/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php index e3d09305df9e8279d1c558fbd430ee08b43ee841..e770bc87f3d4bd8d602dc8b91764854b2c5b6b6e 100644 --- a/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php +++ b/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Core\Session\UserSessionManager; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageRendererTest extends FunctionalTestCase +final class PageRendererTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/PasswordPolicy/PasswordPolicyValidatorTest.php b/typo3/sysext/core/Tests/Functional/PasswordPolicy/PasswordPolicyValidatorTest.php index 518176b302dc53e0021f119c4c4de5b9dfee538e..bfa369842973a0304d1bd51b0750629ed2f1718b 100644 --- a/typo3/sysext/core/Tests/Functional/PasswordPolicy/PasswordPolicyValidatorTest.php +++ b/typo3/sysext/core/Tests/Functional/PasswordPolicy/PasswordPolicyValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\PasswordPolicy\PasswordPolicyValidator; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PasswordPolicyValidatorTest extends FunctionalTestCase +final class PasswordPolicyValidatorTest extends FunctionalTestCase { /** * @var bool Speed up this test case, it needs no database diff --git a/typo3/sysext/core/Tests/Functional/PasswordPolicy/Validator/NotCurrentPasswordValidatorTest.php b/typo3/sysext/core/Tests/Functional/PasswordPolicy/Validator/NotCurrentPasswordValidatorTest.php index a19a752ee7dc0f3b562c2a0f51de22c6484c41b2..c73de0f46c953aab90e7ca992aa4ddeb2a6738bd 100644 --- a/typo3/sysext/core/Tests/Functional/PasswordPolicy/Validator/NotCurrentPasswordValidatorTest.php +++ b/typo3/sysext/core/Tests/Functional/PasswordPolicy/Validator/NotCurrentPasswordValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\PasswordPolicy\Validator\NotCurrentPasswordValidator; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NotCurrentPasswordValidatorTest extends FunctionalTestCase +final class NotCurrentPasswordValidatorTest extends FunctionalTestCase { /** * @var bool Speed up this test case, it needs no database diff --git a/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php b/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php index 9f56e1360d945605cee56b1ff716a934b19b01d3..84509e6b56d51d4cb97801d288010da76b9d30fd 100644 --- a/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\RateLimiter\RateLimiterFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RateLimiterFactoryTest extends FunctionalTestCase +final class RateLimiterFactoryTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/RegistryTest.php b/typo3/sysext/core/Tests/Functional/RegistryTest.php index e7aa84a9e9930195e57caeff475b16e0fd1cd097..9cd56e44cb906fdcfc7a49c01f19b83d7b79a633 100644 --- a/typo3/sysext/core/Tests/Functional/RegistryTest.php +++ b/typo3/sysext/core/Tests/Functional/RegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Core\Registry; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RegistryTest extends FunctionalTestCase +final class RegistryTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Resource/DefaultUploadFolderResolverTest.php b/typo3/sysext/core/Tests/Functional/Resource/DefaultUploadFolderResolverTest.php index 0033d1e465b6a629d21e625cb07b4fee72d7601e..37069864bb2c19772ae620712b999655b685010c 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/DefaultUploadFolderResolverTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/DefaultUploadFolderResolverTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Resource\Event\AfterDefaultUploadFolderWasResolvedEvent; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DefaultUploadFolderResolverTest extends FunctionalTestCase +final class DefaultUploadFolderResolverTest extends FunctionalTestCase { public function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Resource/Driver/LocalDriverTest.php b/typo3/sysext/core/Tests/Functional/Resource/Driver/LocalDriverTest.php index 0087871396b23e75d93a3d3dfbf4c982f696ae59..898b603a2df0b40b4dcb4431e2c2302b3ea2ed24 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/Driver/LocalDriverTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/Driver/LocalDriverTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LocalDriverTest extends FunctionalTestCase +final class LocalDriverTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Resource/OnlineMedia/Processing/PreviewProcessingTest.php b/typo3/sysext/core/Tests/Functional/Resource/OnlineMedia/Processing/PreviewProcessingTest.php index fd2ddb8e5bacdb4ca56383470eab372556add4c9..e029e0231241b6ada9c4b2a4bda8575f42989d01 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/OnlineMedia/Processing/PreviewProcessingTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/OnlineMedia/Processing/PreviewProcessingTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor; use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PreviewProcessingTest extends FunctionalTestCase +final class PreviewProcessingTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/Resource/ProcessedFileTest.php b/typo3/sysext/core/Tests/Functional/Resource/ProcessedFileTest.php index 729f46e98367d97fb15049a234dd1a128b8e0bb7..6ac7ad9ae622a5d86974b819c085b9b72b42aae3 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/ProcessedFileTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/ProcessedFileTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ProcessedFileTest extends FunctionalTestCase +final class ProcessedFileTest extends FunctionalTestCase { private const TEST_IMAGE = 'fileadmin/ProcessedFileTest.jpg'; diff --git a/typo3/sysext/core/Tests/Functional/Resource/ResourceCompressorTest.php b/typo3/sysext/core/Tests/Functional/Resource/ResourceCompressorTest.php index f002a5c3eded23284ba47142151eab542bc2607c..287d6985fc36cef87adef13119406da12f12b1fd 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/ResourceCompressorTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/ResourceCompressorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\PathUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ResourceCompressorTest extends FunctionalTestCase +final class ResourceCompressorTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Resource/ResourceStorageTest.php b/typo3/sysext/core/Tests/Functional/Resource/ResourceStorageTest.php index 6f3941e6f91191e42b76266008cdfca4a671e605..251b2c36337ad47e06150c69109169a3a32f0af5 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/ResourceStorageTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/ResourceStorageTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ResourceStorageTest extends FunctionalTestCase +final class ResourceStorageTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php b/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php index ff493585412500950328df7db3cc76c3ccd29af9..ae81c508d7510d9b734380c1dbf82aa2409a8c55 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php @@ -21,7 +21,7 @@ use Symfony\Component\Finder\Finder; use TYPO3\CMS\Core\Resource\Security\SvgSanitizer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SvgSanitizerTest extends FunctionalTestCase +final class SvgSanitizerTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Resource/StorageRepositoryTest.php b/typo3/sysext/core/Tests/Functional/Resource/StorageRepositoryTest.php index 373d41dec353d7fed33cf200e80553d87716a88c..90d8463ec97a98ead92cb653128ed47305f00f8d 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/StorageRepositoryTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/StorageRepositoryTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class StorageRepositoryTest extends FunctionalTestCase +final class StorageRepositoryTest extends FunctionalTestCase { protected function tearDown(): void { diff --git a/typo3/sysext/core/Tests/Functional/Resource/SynchronizeFolderRelationsTest.php b/typo3/sysext/core/Tests/Functional/Resource/SynchronizeFolderRelationsTest.php index ef2380090985d9a16275c6de6163280e4b140dc5..abc9c3a38ea5ac19fe1eaa6ff8d682cf5cce55a4 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/SynchronizeFolderRelationsTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/SynchronizeFolderRelationsTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Resource\SynchronizeFolderRelations; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SynchronizeFolderRelationsTest extends FunctionalTestCase +final class SynchronizeFolderRelationsTest extends FunctionalTestCase { protected SynchronizeFolderRelations $subject; diff --git a/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php b/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php index d6cb891e57f103bfb47f7afdec5172c3f0415cfb..fb8654d2395810971840fc23cfc3157324272c68 100644 --- a/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php +++ b/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedAliasMapperTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PersistedAliasMapperTest extends FunctionalTestCase +final class PersistedAliasMapperTest extends FunctionalTestCase { private const ASPECT_CONFIGURATION = [ 'tableName' => 'tt_content', diff --git a/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php b/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php index e7bf183af35c8f2825be620a9154aed4196fb6a3..0af8696a62590c9c0c8aede9335328a68ffad663 100644 --- a/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php +++ b/typo3/sysext/core/Tests/Functional/Routing/Aspect/PersistedPatternMapperTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PersistedPatternMapperTest extends FunctionalTestCase +final class PersistedPatternMapperTest extends FunctionalTestCase { private const ASPECT_CONFIGURATION = [ 'tableName' => 'tt_content', diff --git a/typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/PolicyTest.php b/typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/PolicyTest.php index 398635c17ca5bd77f3a69f67343311288dc06c16..cec5badbe032f157974612fb64afb56575f44a8f 100644 --- a/typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/PolicyTest.php +++ b/typo3/sysext/core/Tests/Functional/Security/ContentSecurityPolicy/PolicyTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * In contrast to the other `PolicyTest` (unit-test), these * tests rely on platform information like, package states. */ -class PolicyTest extends FunctionalTestCase +final class PolicyTest extends FunctionalTestCase { private Nonce $nonce; protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php b/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php index 61bc8b857772d20a54025bf43f7927ba644ae4bf..38d4b7d343488662419fd25d4ecbf7a6c18ec4c7 100644 --- a/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php +++ b/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Service\Archive\ZipService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ZipServiceTest extends FunctionalTestCase +final class ZipServiceTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Session/Backend/DatabaseSessionBackendTest.php b/typo3/sysext/core/Tests/Functional/Session/Backend/DatabaseSessionBackendTest.php index f7c7d73f5cb7018e62fc4b0bc1747fc4cb4fd556..2542cbd150d90b803d2ab724a82be2f6131a2273 100644 --- a/typo3/sysext/core/Tests/Functional/Session/Backend/DatabaseSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Session/Backend/DatabaseSessionBackendTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Session\Backend\Exception\SessionNotCreatedException; use TYPO3\CMS\Core\Session\Backend\Exception\SessionNotFoundException; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DatabaseSessionBackendTest extends FunctionalTestCase +final class DatabaseSessionBackendTest extends FunctionalTestCase { /** * @var DatabaseSessionBackend diff --git a/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php b/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php index bd91423be48aae4b6ef831a5b3eb757391276df4..b71de460c9ea0a10dba51933359d5dccd3aa759a 100644 --- a/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * @requires extension redis */ -class RedisSessionBackendTest extends FunctionalTestCase +final class RedisSessionBackendTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/Session/SessionManagerTest.php b/typo3/sysext/core/Tests/Functional/Session/SessionManagerTest.php index f3626726b23f6af5cb09c77d4feed3eeebd06a37..0e514660f5c6a6b2769694e4cd7b019139e17096 100644 --- a/typo3/sysext/core/Tests/Functional/Session/SessionManagerTest.php +++ b/typo3/sysext/core/Tests/Functional/Session/SessionManagerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Session; use TYPO3\CMS\Core\Session\SessionManager; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SessionManagerTest extends FunctionalTestCase +final class SessionManagerTest extends FunctionalTestCase { /** * @var SessionManager diff --git a/typo3/sysext/core/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php index 17c3db415b6cc1154c48c8fec100e64dee694a34..a2123c1b19ae90c4a62661aadf5950cc6dff8ac8 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/BackendGroupsVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendGroupsVisibleFieldsTest extends FunctionalTestCase +final class BackendGroupsVisibleFieldsTest extends FunctionalTestCase { protected static $backendGroupsFields = [ 'hidden', diff --git a/typo3/sysext/core/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php index 44ef56c7771eb5f9dd9333dc21d5ca85861add4c..da28acf69842a4d27319ebd93279de0d9f947abb 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/BackendUsersVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendUsersVisibleFieldsTest extends FunctionalTestCase +final class BackendUsersVisibleFieldsTest extends FunctionalTestCase { protected static $backendUserFields = [ 'disable', diff --git a/typo3/sysext/core/Tests/Functional/Tca/CategoryVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/CategoryVisibleFieldsTest.php index 179fb4926e804d453777642ad5961c2f486d47d7..b60d2cc7f581f31f8b84eb27b01afc380769a278 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/CategoryVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/CategoryVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CategoryVisibleFieldsTest extends FunctionalTestCase +final class CategoryVisibleFieldsTest extends FunctionalTestCase { protected static $categoryFields = [ 'title', diff --git a/typo3/sysext/core/Tests/Functional/Tca/FileCollectionVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/FileCollectionVisibleFieldsTest.php index e9dbc314a023007b5176fe3769994ff51923a1c2..42be4ff62abbc8741a008721143b0b6bb37e4724 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/FileCollectionVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/FileCollectionVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileCollectionVisibleFieldsTest extends FunctionalTestCase +final class FileCollectionVisibleFieldsTest extends FunctionalTestCase { protected static $fileCollectionFields = [ 'title', diff --git a/typo3/sysext/core/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php index c5ab46afa9261c40b8f32e57559cb1115d6200f2..6743e0feaa07c2f67230077a9c7253dc0359bef9 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileMetadataVisibleFieldsTest extends FunctionalTestCase +final class FileMetadataVisibleFieldsTest extends FunctionalTestCase { protected static $fileMetadataFields = [ 'title', diff --git a/typo3/sysext/core/Tests/Functional/Tca/FileStorageVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/FileStorageVisibleFieldsTest.php index 063331bd09c1b5602a40ed63782b04187634fa6f..a36aa1071d401ef3a6e087cd5034afceca78756b 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/FileStorageVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/FileStorageVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileStorageVisibleFieldsTest extends FunctionalTestCase +final class FileStorageVisibleFieldsTest extends FunctionalTestCase { protected static $fileStorageFields = [ 'name', diff --git a/typo3/sysext/core/Tests/Functional/Tca/NewsVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/NewsVisibleFieldsTest.php index beebfd52c469d33d3b641804bfb57a259e587ce8..f04f8a880efa55185c0d68b08c10f9b95395641f 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/NewsVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/NewsVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NewsVisibleFieldsTest extends FunctionalTestCase +final class NewsVisibleFieldsTest extends FunctionalTestCase { protected static $newsFields = [ 'hidden', diff --git a/typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php b/typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php index 31f35fde766308fc1ad8438cee05cc61554ae29b..f9882910f5d588c27465c6c8590e95c9290819a4 100644 --- a/typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php +++ b/typo3/sysext/core/Tests/Functional/Tca/PagesVisibleFieldsTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PagesVisibleFieldsTest extends FunctionalTestCase +final class PagesVisibleFieldsTest extends FunctionalTestCase { /** * These form fields are visible in the default page types. diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/AST/AstBuilderInterfaceTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/AST/AstBuilderInterfaceTest.php index 451e6ef43c353bc1653476019a4a0d845fc4c109..b13aba3db9e27a231404d17c58593f88dc96c51e 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/AST/AstBuilderInterfaceTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/AST/AstBuilderInterfaceTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * This tests AstBuilder and CommentAwareAstBuilder */ -class AstBuilderInterfaceTest extends FunctionalTestCase +final class AstBuilderInterfaceTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['tstemplate']; diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateRepositoryTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateRepositoryTest.php index 49b20f6913adbb1860fcd7b6ef9ee953fadda4c0..e67ab2052b93785901550aaa649153eb4771a68b 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateRepositoryTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateRepositoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\TypoScript\IncludeTree; use TYPO3\CMS\Core\TypoScript\IncludeTree\SysTemplateRepository; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysTemplateRepositoryTest extends FunctionalTestCase +final class SysTemplateRepositoryTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateTreeBuilderTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateTreeBuilderTest.php index d7abdd00eebe5e2a8f3a503a575f6bbb7ca86970..3c526ab9a4e955bbbab06c64200f3d62ce7f9a60 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateTreeBuilderTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/SysTemplateTreeBuilderTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeAstBuilderVisitor; use TYPO3\CMS\Core\TypoScript\Tokenizer\LossyTokenizer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysTemplateTreeBuilderTest extends FunctionalTestCase +final class SysTemplateTreeBuilderTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/TreeFromLineStreamBuilderTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/TreeFromLineStreamBuilderTest.php index 1c57ba836094804858c32ddfe165c559721311f2..65e46acd97a2acc2013e03db7c83b9e91e063cf6 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/TreeFromLineStreamBuilderTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/TreeFromLineStreamBuilderTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TreeFromLineStreamBuilderTest extends FunctionalTestCase +final class TreeFromLineStreamBuilderTest extends FunctionalTestCase { protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Fixtures/IncludeTyposcript/FileadminImport/Scenario1' => 'fileadmin/Scenario1', diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSetupConditionConstantSubstitutionVisitorTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSetupConditionConstantSubstitutionVisitorTest.php index f10ac32d2aec0c6923e7a2fa9046653d97fecd4c..1dbdfe768099f1fc92d6da882f3775deb401c594 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSetupConditionConstantSubstitutionVisitorTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSetupConditionConstantSubstitutionVisitorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IncludeTreeSetupConditionConstantSubstitutionVisitorTest extends FunctionalTestCase +final class IncludeTreeSetupConditionConstantSubstitutionVisitorTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSyntaxScannerVisitorTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSyntaxScannerVisitorTest.php index 9d365770a940f847b35fdcb77e8ca2fafe0a66c0..ec3a969c69c38e771abdc974f2e5198c87c618b7 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSyntaxScannerVisitorTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/IncludeTree/Visitor/IncludeTreeSyntaxScannerVisitorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\TypoScript\IncludeTree\Visitor\IncludeTreeSyntaxScannerVisito use TYPO3\CMS\Core\TypoScript\Tokenizer\LosslessTokenizer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IncludeTreeSyntaxScannerVisitorTest extends FunctionalTestCase +final class IncludeTreeSyntaxScannerVisitorTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/PageTsConfigFactoryTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/PageTsConfigFactoryTest.php index 5fcf531c47c04286212b61ad13abb6f4b129b2a9..d0e34a6da0284b3e105b3b4cc831299e31de7c95 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/PageTsConfigFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/PageTsConfigFactoryTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests PageTsConfigFactory and indirectly IncludeTree/TsConfigTreeBuilder */ -class PageTsConfigFactoryTest extends FunctionalTestCase +final class PageTsConfigFactoryTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_pagetsconfigfactory', diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/TypoScriptStringFactoryTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/TypoScriptStringFactoryTest.php index 59c8ce80db0ec7304c1a01a95cffcbe1b068569f..194e810f96490a7e78fb8f2cb0b6cdf598e0a1f5 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/TypoScriptStringFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/TypoScriptStringFactoryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\TypoScript\AST\Node\RootNode; use TYPO3\CMS\Core\TypoScript\TypoScriptStringFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TypoScriptStringFactoryTest extends FunctionalTestCase +final class TypoScriptStringFactoryTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/UserTsConfigFactoryTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/UserTsConfigFactoryTest.php index 68abc263c9f059377eadc78c71023ef6e8852a91..d029cd6df7c65f808fe89f9731d1b45ba5153358 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/UserTsConfigFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/UserTsConfigFactoryTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests UserTsConfigFactory and indirectly IncludeTree/TsConfigTreeBuilder */ -class UserTsConfigFactoryTest extends FunctionalTestCase +final class UserTsConfigFactoryTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_typoscript_usertsconfigfactory', diff --git a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php index 392e0fc729079e37f619266ff909599717413052..5c303f58f36873a1689b915e8581f198ef0b2aff 100644 --- a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php +++ b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaOverrideRequireTest.php @@ -17,7 +17,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Utility\ExtensionManagementUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ExtensionManagementUtilityTcaOverrideRequireTest extends FunctionalTestCase +final class ExtensionManagementUtilityTcaOverrideRequireTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/Fixtures/Extensions/test_tcaoverride_a', diff --git a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaRequireTest.php b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaRequireTest.php index fd9a61615ff399aacea709b7a1209ab8bfb8ec91..3982a9e7531dd6f5ae31ff3bd36f7e8ab232f015 100644 --- a/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaRequireTest.php +++ b/typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/ExtensionManagementUtilityTcaRequireTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Functional\Utility\ExtensionManagementUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ExtensionManagementUtilityTcaRequireTest extends FunctionalTestCase +final class ExtensionManagementUtilityTcaRequireTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Utility/ExtensionManagementUtility/Fixtures/Extensions/test_tca_a', diff --git a/typo3/sysext/core/Tests/Functional/Utility/File/ExtendedFileUtilityTest.php b/typo3/sysext/core/Tests/Functional/Utility/File/ExtendedFileUtilityTest.php index 24140f4ba7e490caaacfc86634f3c8ccdd73c7a1..42fdbba3c0bd46cf5a95cdbf756c77bba07f6b1f 100644 --- a/typo3/sysext/core/Tests/Functional/Utility/File/ExtendedFileUtilityTest.php +++ b/typo3/sysext/core/Tests/Functional/Utility/File/ExtendedFileUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\File\ExtendedFileUtility; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ExtendedFileUtilityTest extends FunctionalTestCase +final class ExtendedFileUtilityTest extends FunctionalTestCase { protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/core/Tests/Functional/Utility/Fixtures/Folders/' => 'fileadmin/', diff --git a/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php b/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php index f5758aba7958be8ee741b84c52269e382dafcbf3..bfc08b0d51431389a32d0777a1fc5c7fecb3084d 100644 --- a/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php +++ b/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php @@ -28,7 +28,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RootlineUtilityTest extends FunctionalTestCase +final class RootlineUtilityTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php index 0f96d94286ce36776fddbca0be9f5176d23906ff..6692c2db16e3ea15ee392f4653e3b6a278d636a7 100644 --- a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IconForRecordViewHelperTest extends FunctionalTestCase +final class IconForRecordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php index 0ab0610025cf4190695a727cc0fdc7cc00a1cbf3..6c00c4f637292998988245b9de368212a3db4ec3 100644 --- a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IconViewHelperTest extends FunctionalTestCase +final class IconViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/PageTsConfigFactoryTest.php b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/PageTsConfigFactoryTest.php index 81f5931e35e2325a3bfda3b4982e03db22ff7d7c..fa014a7e86d93b090285adfeb86527b50c57e60c 100644 --- a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/PageTsConfigFactoryTest.php +++ b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/PageTsConfigFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\Entity\SiteSettings; use TYPO3\CMS\Core\TypoScript\PageTsConfigFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageTsConfigFactoryTest extends FunctionalTestCase +final class PageTsConfigFactoryTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/Parser/TypoScriptParserTest.php b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/Parser/TypoScriptParserTest.php index b82e7752b31b80c820f335d0290c42858e983d64..4d9208f8e574eec35cadce84b669a2fd788f97ee 100644 --- a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/Parser/TypoScriptParserTest.php +++ b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/Parser/TypoScriptParserTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\FunctionalDeprecated\TypoScript\Parser; use TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TypoScriptParserTest extends FunctionalTestCase +final class TypoScriptParserTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/UserTsConfigFactoryTest.php b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/UserTsConfigFactoryTest.php index 0404b006db78d2102f6dc48f5ceb62d2b36ccf0c..547bb18d0f0fc939f1678527c89ab22edf48f31c 100644 --- a/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/UserTsConfigFactoryTest.php +++ b/typo3/sysext/core/Tests/FunctionalDeprecated/TypoScript/UserTsConfigFactoryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\TypoScript\UserTsConfigFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class UserTsConfigFactoryTest extends FunctionalTestCase +final class UserTsConfigFactoryTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php b/typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php index aef83c94389ed2b3de32910eea95d6d7f2596af3..8708baf4dc0ffea5ede9c37ab06797715e28679d 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Session\UserSession; use TYPO3\CMS\Core\Tests\Functional\Authentication\Fixtures\AnyUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AuthenticationServiceTest extends UnitTestCase +final class AuthenticationServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php b/typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php index b42862040c5187508f22fa4d2b120c2491132402..17a12f8921f8b4d1b044a03d8dff32585ac7849b 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php @@ -43,7 +43,7 @@ use TYPO3\CMS\Core\Type\Bitmask\JsConfirmation; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendUserAuthenticationTest extends UnitTestCase +final class BackendUserAuthenticationTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Authentication/IpLockerTest.php b/typo3/sysext/core/Tests/Unit/Authentication/IpLockerTest.php index 3f399e4f00ad7edf252690715b98065a3c1cbe49..8e2fa8d03e0b3c8a8095939398a69aa9261cca39 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/IpLockerTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/IpLockerTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Authentication\IpLocker */ -class IpLockerTest extends UnitTestCase +final class IpLockerTest extends UnitTestCase { public static function getSessionIpLockDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php b/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php index 62ea59697e6c47fc34a3a17c20221ea2a2381b29..08f274f0aee935d063ce1498a1b95d6fee3fba5f 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Authentication\Mfa\Provider\Fixtures\Crypto\Passwo use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RecoveryCodesTest extends UnitTestCase +final class RecoveryCodesTest extends UnitTestCase { protected RecoveryCodes $subject; diff --git a/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/TotpTest.php b/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/TotpTest.php index 3a2b15ab1851ae21e2e4a3ad5cf9c7152aee984a..e425ccda8a1c386a7b0bd33645b335760990f2b4 100644 --- a/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/TotpTest.php +++ b/typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/TotpTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Context\DateTimeAspect; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TotpTest extends UnitTestCase +final class TotpTest extends UnitTestCase { protected string $secret; protected int $timestamp = 1613652061; diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/AbstractBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/AbstractBackendTest.php index d0f671a1b2efab2feb7fda149a3369d4271dccdb..784d6010b28089bc19d9037cf345d2c02eb8092c 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/AbstractBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/AbstractBackendTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Cache\Backend; use TYPO3\CMS\Core\Tests\Unit\Cache\Backend\Fixtures\ConcreteBackendFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractBackendTest extends UnitTestCase +final class AbstractBackendTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php index 0f3666e5fe0b3979390997a63ec6f928af4373e9..cf598d914a51eefb67e31f6bd7ac8f592cc5e2d8 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Backend/TransientMemoryBackendTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the TransientMemory cache backend */ -class TransientMemoryBackendTest extends UnitTestCase +final class TransientMemoryBackendTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php b/typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php index fd1a92591fe01d75ddfcb662c6536e0e70526540..9c7d2e242ff79c40aa5af649f5454c2eee4199b8 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/CacheManagerTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Core\Tests\Unit\Cache\Fixtures\FrontendInitializeObjectFixture; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CacheManagerTest extends UnitTestCase +final class CacheManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php index 2c0422ded7e0117de6ec4cfd1ba95f20f774420f..acfb8439b2b215c9e30ca198e2638b171cd0f529 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Frontend/AbstractFrontendTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the abstract cache frontend */ -class AbstractFrontendTest extends UnitTestCase +final class AbstractFrontendTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php index d86703bfae1c8f272cb6af44c492c2aaad34cd79..ec220a4ddc7e2d61e0dfde3249bda0b9c1561289 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Frontend/PhpFrontendTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the PHP source code cache frontend */ -class PhpFrontendTest extends UnitTestCase +final class PhpFrontendTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php b/typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php index 17d4863378af56656238c12917c75ef034733453..05cf05b02ef74765a51fe3383fef2142568a0bb7 100644 --- a/typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php +++ b/typo3/sysext/core/Tests/Unit/Cache/Frontend/VariableFrontendTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Cache\Backend\AbstractBackend; use TYPO3\CMS\Core\Cache\Frontend\VariableFrontend; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class VariableFrontendTest extends UnitTestCase +final class VariableFrontendTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php b/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php index 44c2dd882ba43d67583cace8eebe47794710a26d..079e88c7296257fbff50356a368f0ac7410e8760 100644 --- a/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Category/Collection/CategoryCollectionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Category\Collection; use TYPO3\CMS\Core\Category\Collection\CategoryCollection; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CategoryCollectionTest extends UnitTestCase +final class CategoryCollectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php b/typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php index 96c05cd68287ae4cc2d5a0ac0d6737f7be622b48..ae8a795092b32eb38ab6002b34b695ccf19ab642 100644 --- a/typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php +++ b/typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Charset; use TYPO3\CMS\Core\Charset\CharsetConverter; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CharsetConverterTest extends UnitTestCase +final class CharsetConverterTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php b/typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php index 1bffe8e1e7111a1d16af137e83ba748f18cd1781..37de735da4f138e9abefefaf0cfdedf5dc38700c 100644 --- a/typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php +++ b/typo3/sysext/core/Tests/Unit/Command/SendEmailCommandTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Mail\DelayedTransportInterface; use TYPO3\CMS\Core\Mail\MailerInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SendEmailCommandTest extends UnitTestCase +final class SendEmailCommandTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Configuration/CKEditor5MigratorTest.php b/typo3/sysext/core/Tests/Unit/Configuration/CKEditor5MigratorTest.php index 990ccd4611b7301e914d5819b56d833a73db1830..98232f8c0e8e476fb8d8a34b350963e4e97f7ba2 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/CKEditor5MigratorTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/CKEditor5MigratorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Configuration\CKEditor5Migrator; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CKEditor5MigratorTest extends UnitTestCase +final class CKEditor5MigratorTest extends UnitTestCase { public static function migrationDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php b/typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php index 7a6e8a7680fbe9a8d44baf5df0162464464d1ddb..35d1a854e2126e899dcb8c5cc8d41c68d62393b7 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConfigurationManagerTest extends UnitTestCase +final class ConfigurationManagerTest extends UnitTestCase { protected ConfigurationManager&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Configuration/ExtensionConfigurationTest.php b/typo3/sysext/core/Tests/Unit/Configuration/ExtensionConfigurationTest.php index 3c8018d6fe3c46ac339adfaf53cb4cc4b08b4574..fbdb6c5ad8a4efce504015b0b268517f451e27c3 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/ExtensionConfigurationTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/ExtensionConfigurationTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Configuration\ExtensionConfiguration; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionConfigurationTest extends UnitTestCase +final class ExtensionConfigurationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Configuration/FeaturesTest.php b/typo3/sysext/core/Tests/Unit/Configuration/FeaturesTest.php index 99f16224e4adda66637798d7de7906cef6764dab..0e3f62b16c538b44fc3bc644894ed1734d116959 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/FeaturesTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/FeaturesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Configuration; use TYPO3\CMS\Core\Configuration\Features; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FeaturesTest extends UnitTestCase +final class FeaturesTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Configuration/FlexForm/FlexFormToolsTest.php b/typo3/sysext/core/Tests/Unit/Configuration/FlexForm/FlexFormToolsTest.php index 4da7631d9f676bfec570525a6b28c5baa3414594..def39baa9bed2c126c533359c523629b203551f5 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/FlexForm/FlexFormToolsTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/FlexForm/FlexFormToolsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\CMS\Core\Tests\Unit\Fixtures\EventDispatcher\MockEventDispatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlexFormToolsTest extends UnitTestCase +final class FlexFormToolsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php b/typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php index ea72e11224800fe92328fc655a16d6ba603c1931..1db08de82cd6681f2465318328935d9379c56ba3 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/Loader/YamlFileLoaderTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Configuration\Loader; use TYPO3\CMS\Core\Configuration\Loader\YamlFileLoader; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class YamlFileLoaderTest extends UnitTestCase +final class YamlFileLoaderTest extends UnitTestCase { public static function loadWithEnvVarDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php b/typo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php index 7fa17535c92c6d3737d80edd89de38fb48b375af..63ce5add28b80aa36162606eb1ef0db1d9ad01c7 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/RichtextTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Configuration; use TYPO3\CMS\Core\Configuration\Richtext; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RichtextTest extends UnitTestCase +final class RichtextTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php b/typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php index e32be5982ff72500127c1edc99eceafc9a2b6d41..1a894304f20acefd87f00b4e9fae5f54cc4618ca 100644 --- a/typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php +++ b/typo3/sysext/core/Tests/Unit/Configuration/SiteConfigurationTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteConfigurationTest extends UnitTestCase +final class SiteConfigurationTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php b/typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php index 0a8a844503be899add7e4f75a2bbbfcfdd98def9..fe4180e2ed5a780cdf45b86d88038cfcb1a6f2a4 100644 --- a/typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Console/CommandRegistryTest.php @@ -24,7 +24,7 @@ use Symfony\Component\Console\CommandLoader\CommandLoaderInterface; use TYPO3\CMS\Core\Console\CommandRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CommandRegistryTest extends UnitTestCase +final class CommandRegistryTest extends UnitTestCase { protected ContainerInterface&MockObject $containerMock; diff --git a/typo3/sysext/core/Tests/Unit/Context/ContextTest.php b/typo3/sysext/core/Tests/Unit/Context/ContextTest.php index d2d75c03ab2194cae01a2dffa5e55f0c42d73488..3f1043fb54fb94654771a552cada03e964bd8cc5 100644 --- a/typo3/sysext/core/Tests/Unit/Context/ContextTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/ContextTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Context\WorkspaceAspect; use TYPO3\CMS\Core\Registry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ContextTest extends UnitTestCase +final class ContextTest extends UnitTestCase { /** * Date provider for hasAspectReturnsTrueOnExistingAspect diff --git a/typo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php b/typo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php index 136694f197aea629c48e3bd2fc24e20237eba74e..4fdd1e421640e5512835fef4b7a104c1362a531e 100644 --- a/typo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/DateTimeAspectTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Context\DateTimeAspect; use TYPO3\CMS\Core\Context\Exception\AspectPropertyNotFoundException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DateTimeAspectTest extends UnitTestCase +final class DateTimeAspectTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Context/SecurityAspectTest.php b/typo3/sysext/core/Tests/Unit/Context/SecurityAspectTest.php index 9fb73ce1161a6141ad5f4dd4cf95001c8a270f13..5b597ea298f0f712a729da991e7cbc644ad601bf 100644 --- a/typo3/sysext/core/Tests/Unit/Context/SecurityAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/SecurityAspectTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Security\NoncePool; use TYPO3\CMS\Core\Security\RequestToken; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SecurityAspectTest extends UnitTestCase +final class SecurityAspectTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php b/typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php index c42781d60a7110e1f86501e04502942b87044ed7..7b1c61d8f6df32538e041a422a593de4aafec216 100644 --- a/typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/UserAspectTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Context\UserAspect; use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UserAspectTest extends UnitTestCase +final class UserAspectTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Context/VisibilityAspectTest.php b/typo3/sysext/core/Tests/Unit/Context/VisibilityAspectTest.php index 54b28840d0a14cbd8ef4e3c0f445eb8cea3d4d80..d9b15c4fefdca7963ffe0467b3ad894d3498c772 100644 --- a/typo3/sysext/core/Tests/Unit/Context/VisibilityAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/VisibilityAspectTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Context\Exception\AspectPropertyNotFoundException; use TYPO3\CMS\Core\Context\VisibilityAspect; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class VisibilityAspectTest extends UnitTestCase +final class VisibilityAspectTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Context/WorkspaceAspectTest.php b/typo3/sysext/core/Tests/Unit/Context/WorkspaceAspectTest.php index 43c28025c28ad8ee57fd7bb62beafbe1966ad9b7..59e8708dc2b406b300b6ce3daf116e3d8b790f60 100644 --- a/typo3/sysext/core/Tests/Unit/Context/WorkspaceAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Context/WorkspaceAspectTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Context\Exception\AspectPropertyNotFoundException; use TYPO3\CMS\Core\Context\WorkspaceAspect; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class WorkspaceAspectTest extends UnitTestCase +final class WorkspaceAspectTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php b/typo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php index 876cb143a4f8ee8a2bab0897fac90311f82bd74b..d4a2cca9624e38358cf509ce0cfccd96f5ea1ca6 100644 --- a/typo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php +++ b/typo3/sysext/core/Tests/Unit/Core/ApplicationContextTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the ApplicationContext class */ -class ApplicationContextTest extends UnitTestCase +final class ApplicationContextTest extends UnitTestCase { /** * Data provider with allowed contexts. diff --git a/typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php b/typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php index 8c4ffd210ebd5c42f8f83d3284d2a74a8b14efb9..65309e9c0b5740fb9996849c9d6451874bdbedbf 100644 --- a/typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php +++ b/typo3/sysext/core/Tests/Unit/Core/ClassLoadingInformationGeneratorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Unit\Core\Fixtures\test_extension\Resources\PHP\Another use TYPO3\CMS\Core\Tests\Unit\Core\Fixtures\test_extension\Resources\PHP\TestFile; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClassLoadingInformationGeneratorTest extends UnitTestCase +final class ClassLoadingInformationGeneratorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php b/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php index 2346c199590745ccd4f8ae6535dd790fbe16bd4b..37aba07af820153d1625363ea20343e0459e37b1 100644 --- a/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php +++ b/typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase */ -class SystemEnvironmentBuilderTest extends UnitTestCase +final class SystemEnvironmentBuilderTest extends UnitTestCase { protected SystemEnvironmentBuilder&MockObject&AccessibleObjectInterface $subject; diff --git a/typo3/sysext/core/Tests/Unit/Country/CountryProviderTest.php b/typo3/sysext/core/Tests/Unit/Country/CountryProviderTest.php index a5e1c6ea8a400aec3550e1e010a4edb7e3973791..dd52f7a9223003bb4d40f6739d90c5a2b9b9417b 100644 --- a/typo3/sysext/core/Tests/Unit/Country/CountryProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Country/CountryProviderTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Country\CountryFilter; use TYPO3\CMS\Core\Country\CountryProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CountryProviderTest extends UnitTestCase +final class CountryProviderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2iPasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2iPasswordHashTest.php index e722d621f5114d068f9c788972ef6e682e6ac7fa..8d31795cc026bb4f88236841e1a48d7cb65d6b14 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2iPasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2iPasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2iPasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Argon2iPasswordHashTest extends UnitTestCase +final class Argon2iPasswordHashTest extends UnitTestCase { protected ?Argon2iPasswordHash $subject; diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2idPasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2idPasswordHashTest.php index db5002d2a83eb09c9a1249d6d6b9e25c2765a51a..576f6d7c4e40be2e0e1aafd58395a1e8f7a8fb55 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2idPasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Argon2idPasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\Argon2idPasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Argon2idPasswordHashTest extends UnitTestCase +final class Argon2idPasswordHashTest extends UnitTestCase { protected Argon2idPasswordHash $subject; diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BcryptPasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BcryptPasswordHashTest.php index 2dc608d750f90dc9147b755fbac66edab3dce240..31121de3f7a47e08988b2c910ea4146fb111ff56 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BcryptPasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BcryptPasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\BcryptPasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BcryptPasswordHashTest extends UnitTestCase +final class BcryptPasswordHashTest extends UnitTestCase { protected ?BcryptPasswordHash $subject; diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php index 6af875a6243eb76d064e1b3e057b0ea8766d6d05..c12fbf7f1f625baf5552dd8157d73da70257381e 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/BlowfishPasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\BlowfishPasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BlowfishPasswordHashTest extends UnitTestCase +final class BlowfishPasswordHashTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php index b4dbb7415fbe46e1d3a75c968d977db070df0018..74acbfece14d272339d798d8122586edd2492e01 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Md5PasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\Md5PasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Md5PasswordHashTest extends UnitTestCase +final class Md5PasswordHashTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PasswordHashFactoryTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PasswordHashFactoryTest.php index b925837a074354abd783894306aa24786175f1ee..4d98683b8efa99b1e8fdcafd318e859e85acfa50 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PasswordHashFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PasswordHashFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing\Fixtures\TestPasswordHash; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PasswordHashFactoryTest extends UnitTestCase +final class PasswordHashFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Pbkdf2PasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Pbkdf2PasswordHashTest.php index e82510e8797b11747b2a517287c9229c3c859d71..6a63b85a706449594b9c0aed3678e6f84d3c4973 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Pbkdf2PasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/Pbkdf2PasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\Pbkdf2PasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Pbkdf2PasswordHashTest extends UnitTestCase +final class Pbkdf2PasswordHashTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PhpassPasswordHashTest.php b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PhpassPasswordHashTest.php index ea5d376d893d2989f49ec7b1445512c736d479d7..cf201d689c053641689b8d8542f96b3ef660af3b 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PhpassPasswordHashTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/PasswordHashing/PhpassPasswordHashTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Crypto\PasswordHashing; use TYPO3\CMS\Core\Crypto\PasswordHashing\PhpassPasswordHash; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PhpassPasswordHashTest extends UnitTestCase +final class PhpassPasswordHashTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Crypto/RandomTest.php b/typo3/sysext/core/Tests/Unit/Crypto/RandomTest.php index acfcd516596e120413b61a04878589f7cec910a4..40ad40f208145f2c4d8dac046bf9007590086751 100644 --- a/typo3/sysext/core/Tests/Unit/Crypto/RandomTest.php +++ b/typo3/sysext/core/Tests/Unit/Crypto/RandomTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Crypto\Random; use TYPO3\CMS\Core\Exception\InvalidPasswordRulesException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RandomTest extends UnitTestCase +final class RandomTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php index f65bb9901d7fd0d2b074071b18a9c13460e500fc..2dd79c7fb82486d6d252f18b85e756f0fec7cd70 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DataHandlerTest extends UnitTestCase +final class DataHandlerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected DataHandler&MockObject&AccessibleObjectInterface $subject; diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/Localization/StateTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/Localization/StateTest.php index 75bde30456e581e6b8391f028f43b3c561474796..08769f1a6378c60de2d167a4725b6841d481b08d 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/Localization/StateTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/Localization/StateTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\Localization; use TYPO3\CMS\Core\DataHandling\Localization\State; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StateTest extends UnitTestCase +final class StateTest extends UnitTestCase { public const TABLE_NAME = 'tx_test_table'; diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/Model/CorrelationIdTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/Model/CorrelationIdTest.php index b0ea52256aeb51cde15e64152346732049c91220..a47b7f3f0a1a62d5f265b2a01c50ff052ed28a22 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/Model/CorrelationIdTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/Model/CorrelationIdTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\Model; use TYPO3\CMS\Core\DataHandling\Model\CorrelationId; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CorrelationIdTest extends UnitTestCase +final class CorrelationIdTest extends UnitTestCase { public static function canBeParsedDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/EmailSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/EmailSoftReferenceParserTest.php index f095b012f8daccc815e057aef0a3affe0bd816b5..79bc42b8d7b84be8ec5cf5c5d268f498cc99feca 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/EmailSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/EmailSoftReferenceParserTest.php @@ -17,7 +17,7 @@ declare(strict_types=1); namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference; -class EmailSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class EmailSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { public static function emailSoftReferenceParserTestDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/ExtensionPathSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/ExtensionPathSoftReferenceParserTest.php index 58dc2f4a40b3e9807262515011f9adc632129b66..f4bda895d14e2cd76d8694461f2df87de174ebd6 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/ExtensionPathSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/ExtensionPathSoftReferenceParserTest.php @@ -17,7 +17,7 @@ declare(strict_types=1); namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference; -class ExtensionPathSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class ExtensionPathSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { public static function extensionPathSoftReferenceParserDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/NotifySoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/NotifySoftReferenceParserTest.php index 5c58a6a3eaeb93d43b9f2c12960e45515b2a1ce3..f8c6dafd1dffcbf2b38746291d7b03f07586ec7a 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/NotifySoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/NotifySoftReferenceParserTest.php @@ -17,7 +17,7 @@ declare(strict_types=1); namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference; -class NotifySoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class NotifySoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/SubstituteSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/SubstituteSoftReferenceParserTest.php index 99d7451ee923d3fdb1ac10cbb52d3cca2d12bc42..44fd2009bbf927e539934b7af0fae089f0fd5ee4 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/SubstituteSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/SubstituteSoftReferenceParserTest.php @@ -17,7 +17,7 @@ declare(strict_types=1); namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference; -class SubstituteSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class SubstituteSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkSoftReferenceParserTest.php index 9aaa3764dbe6201d191d43c03885a37ce53b19ab..c38fc76571ca0b00aef778bb70e88fb41f76f588 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkSoftReferenceParserTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Folder; use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; -class TypoLinkSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class TypoLinkSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { public static function findRefReturnsParsedElementsDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php index e896e252bdcab78845cd2bd664e98dfa03da3f92..1c3e1113ac2df4f296093f07fa13b4157f138abc 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/TypoLinkTagSoftReferenceParserTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Folder; use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; -class TypoLinkTagSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class TypoLinkTagSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { public static function findRefReturnsParsedElementsDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/UrlSoftReferenceParserTest.php b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/UrlSoftReferenceParserTest.php index d623dc4e915cb9395b5b6a3eab0f645c1a48a994..93352c7ff6b811401346cae5eae780ec648b5c8c 100644 --- a/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/UrlSoftReferenceParserTest.php +++ b/typo3/sysext/core/Tests/Unit/DataHandling/SoftReference/UrlSoftReferenceParserTest.php @@ -17,7 +17,7 @@ declare(strict_types=1); namespace TYPO3\CMS\Core\Tests\Unit\DataHandling\SoftReference; -class UrlSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase +final class UrlSoftReferenceParserTest extends AbstractSoftReferenceParserTestCase { public static function urlSoftReferenceParserTestDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Database/ConnectionPoolTest.php b/typo3/sysext/core/Tests/Unit/Database/ConnectionPoolTest.php index 54dbc9e2e827e01610cfcde4c537a0b9ff4bb0d8..04a4a3d4474f58bb6c4866eebb140c4563b12c67 100644 --- a/typo3/sysext/core/Tests/Unit/Database/ConnectionPoolTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/ConnectionPoolTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database; use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConnectionPoolTest extends UnitTestCase +final class ConnectionPoolTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php b/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php index 7f414a08f2a76ece072aa0887fe0e67d8d1677ec..2966d0a53b0f36202737b234bf1394e3963fb499 100644 --- a/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConnectionTest extends UnitTestCase +final class ConnectionTest extends UnitTestCase { protected Connection&MockObject $connection; diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php index 7fc4ee2468eec96fa9397bcc7dfbd514070acdb3..39262912ad62c195e1c4080d7c42981b3a1da890 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/BulkInsertTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Database\Query\BulkInsertQuery; use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockPlatform; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BulkInsertTest extends UnitTestCase +final class BulkInsertTest extends UnitTestCase { /** * @var Connection diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php index 843cd1e0fe29fdbfdaca998b98207fee63a06430..547bebc20921b60f81f70f9be383aed1eb43ceea 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\Query\QueryHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class QueryHelperTest extends UnitTestCase +final class QueryHelperTest extends UnitTestCase { /** * Test cases for stripping of leading logical operators in where constraints. diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php index 406109d773a132cf195cdd851bab14c06ff2b2be..a3d60dd8e242332285fde3a7b329eb558b8f3710 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\InstantiatableAbstractRestrictionCo use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockEnforceableQueryRestriction; use TYPO3\CMS\Core\Tests\Unit\Database\Mocks\MockQueryRestriction; -class AbstractRestrictionContainerTest extends AbstractRestrictionTestCase +final class AbstractRestrictionContainerTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php index 28461547bc431c3ad9bb1546b522d74f4d50017d..76b01f0738534049db99f31aff02d77ed123ce7e 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer; -class DefaultRestrictionContainerTest extends AbstractRestrictionTestCase +final class DefaultRestrictionContainerTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php index 81f720492aebb6c1eaaa7dbbf243d449276faf51..db1b2f2fcb182ab73a473adf6841d4154ea93d3a 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\DeletedRestriction; -class DeletedRestrictionTest extends AbstractRestrictionTestCase +final class DeletedRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DocumentTypeExclusionRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DocumentTypeExclusionRestrictionTest.php index 9d267181421dda762c7b3eb2b2103d7b9ed1e5fd..07d9f5f964a208550a44fe4fc6c9f518be4e011f 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DocumentTypeExclusionRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DocumentTypeExclusionRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\DocumentTypeExclusionRestriction; -class DocumentTypeExclusionRestrictionTest extends AbstractRestrictionTestCase +final class DocumentTypeExclusionRestrictionTest extends AbstractRestrictionTestCase { public static function buildRestrictionsAddsDoktypeWhereClauseDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php index ddb487b1dd3eec95f2579968e1fe6e49cd634bcc..d87b28f8424adffee33884a8cee8ab4d74197bd1 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\EndTimeRestriction; -class EndTimeRestrictionTest extends AbstractRestrictionTestCase +final class EndTimeRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php index 7192d4de1bfc4f09964665f05e94bf95d3cc0173..fb22b15f4eeb3b75e9a8439b3a550c936b7d8d59 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\FrontendGroupRestriction; -class FrontendGroupRestrictionTest extends AbstractRestrictionTestCase +final class FrontendGroupRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php index d07f2b0ddc8ff5de0c987cb998d9930c031b9401..fa13e5bf724aaf28ae2f23e7927d920a334710af 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Database\Query\Restriction\FrontendRestrictionContainer; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; -class FrontendRestrictionContainerTest extends AbstractRestrictionTestCase +final class FrontendRestrictionContainerTest extends AbstractRestrictionTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php index 65bb7d35d467e00240bab822b4eb249129d3bbac..fbf773f59879de2a610c917476cb28c3d44fe890 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction; -class HiddenRestrictionTest extends AbstractRestrictionTestCase +final class HiddenRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/LimitToTablesRestrictionContainerTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/LimitToTablesRestrictionContainerTest.php index 8fa38d06663e1f948ab6c1455094e7fb0ae57214..246486f2f60c5e367e23b00ee464fd3ec65415df 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/LimitToTablesRestrictionContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/LimitToTablesRestrictionContainerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction; use TYPO3\CMS\Core\Database\Query\Restriction\LimitToTablesRestrictionContainer; use TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface; -class LimitToTablesRestrictionContainerTest extends AbstractRestrictionTestCase +final class LimitToTablesRestrictionContainerTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PageIdListRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PageIdListRestrictionTest.php index c5bf4846c97f068c8ef24309452580a01d89c3ec..3e2962022939299d4b35a9b4654d32e93972c62d 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PageIdListRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PageIdListRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\PageIdListRestriction; -class PageIdListRestrictionTest extends AbstractRestrictionTestCase +final class PageIdListRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PagePermissionRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PagePermissionRestrictionTest.php index 2db27c6f448e65d842934fc1815f2fdecf15fd37..dec15deb31c3ee722cf458ba7f77cb1ccf12c1d7 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PagePermissionRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/PagePermissionRestrictionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Context\UserAspect; use TYPO3\CMS\Core\Database\Query\Restriction\PagePermissionRestriction; use TYPO3\CMS\Core\Type\Bitmask\Permission; -class PagePermissionRestrictionTest extends AbstractRestrictionTestCase +final class PagePermissionRestrictionTest extends AbstractRestrictionTestCase { /** * Builds a shell for the user aspect object which returns the checked values in the Restriction. diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/RootLevelRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/RootLevelRestrictionTest.php index b2fbb335403683e0a39e003271f9a06343f9f3f4..65259467549e0a41610dd282ed2e04f053c4aec8 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/RootLevelRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/RootLevelRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\RootLevelRestriction; -class RootLevelRestrictionTest extends AbstractRestrictionTestCase +final class RootLevelRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php index 8556a0c64338da918c3bd4cf532edd5138e7a246..97e1b55d0807aac9bcad5057d4dcd18d58b02904 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\StartTimeRestriction; -class StartTimeRestrictionTest extends AbstractRestrictionTestCase +final class StartTimeRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/WorkspaceRestrictionTest.php b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/WorkspaceRestrictionTest.php index 3df2568b1d2fd32ad8d1e6760cd34aa69fe4f498..75790da9f183e898ba2103e0067172cfc0910009 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/WorkspaceRestrictionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Query/Restriction/WorkspaceRestrictionTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\WorkspaceRestriction; -class WorkspaceRestrictionTest extends AbstractRestrictionTestCase +final class WorkspaceRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php b/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php index a4e4a4525f7a052b8012a1f6d1587daf94291847..140883dcd2415bef7d2d812ec48b9fc6c4545fd2 100644 --- a/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\MockObject\MockObject; use TYPO3\CMS\Core\Database\RelationHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RelationHandlerTest extends UnitTestCase +final class RelationHandlerTest extends UnitTestCase { protected RelationHandler&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php index 705493acb6b3c0f7d5f158f56688b5a82272becc..70a210b1c3697b1e96a4b35b1aaeb5dedd022dff 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Database\Schema\ConnectionMigrator; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConnectionMigratorTest extends UnitTestCase +final class ConnectionMigratorTest extends UnitTestCase { protected MySQLPlatform $platform; protected AccessibleObjectInterface&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php index 69b21efba467f4aad8eeb6f4b122147d74383708..dca809a1421ea244c5e85c0621b703c11603d18a 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/DefaultTcaSchemaTest.php @@ -27,7 +27,7 @@ use Doctrine\DBAL\Types\Type; use TYPO3\CMS\Core\Database\Schema\DefaultTcaSchema; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DefaultTcaSchemaTest extends UnitTestCase +final class DefaultTcaSchemaTest extends UnitTestCase { protected ?DefaultTcaSchema $subject; protected ?Table $defaultTable; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php index 199a46fb2455785e241947747e519464c69c14a1..0a2891476eb952444e18f83e446f37d2398fca4c 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Database\Schema\Types\SetType; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SchemaColumnDefinitionListenerTest extends UnitTestCase +final class SchemaColumnDefinitionListenerTest extends UnitTestCase { protected SchemaColumnDefinitionListener $subject; protected Connection&MockObject $connectionMock; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionAttributesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionAttributesTest.php index 91d2283148f77faf8e7cb1778089c33087390dd9..bae59261946db9e783e075cc84c1e1a17feabb70 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionAttributesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionAttributesTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateColumnDefinitionItem attributes */ -class ColumnDefinitionAttributesTest extends UnitTestCase +final class ColumnDefinitionAttributesTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionItemTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionItemTest.php index 6798888e34e4d6e0f939e89c942dbb036afcc01f..e34ee142a487a96b0fb67a4c5ec5c1991f04036f 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionItemTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ColumnDefinitionItemTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateColumnDefinitionItem */ -class ColumnDefinitionItemTest extends UnitTestCase +final class ColumnDefinitionItemTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/CreateTableFragmentTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/CreateTableFragmentTest.php index c37a5af2664a5b63de8d168c3fed6eb25c0b4a9a..01a886c2ae931c9bd198c78b59bda1129bdc8bfa 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/CreateTableFragmentTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/CreateTableFragmentTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateTableStatement */ -class CreateTableFragmentTest extends UnitTestCase +final class CreateTableFragmentTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/CharacterTypeAttributesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/CharacterTypeAttributesTest.php index a4198da5f0a4b1d07b3c1904279b6b42f652dd65..7c63b22325f38616f146be42ed32fbeab839137b 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/CharacterTypeAttributesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/CharacterTypeAttributesTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas * MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. * As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. */ -class CharacterTypeAttributesTest extends AbstractDataTypeBaseTestCase +final class CharacterTypeAttributesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseCharacterDataTypeAttributes() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/EnumerationTypeAttributesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/EnumerationTypeAttributesTest.php index 7474c6507b6ce51cd502ddc4c306e04ce95a4039..04695abcd9c7f3d18e79d5565cbb384a77bbd35f 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/EnumerationTypeAttributesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/EnumerationTypeAttributesTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas * MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. * As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. */ -class EnumerationTypeAttributesTest extends AbstractDataTypeBaseTestCase +final class EnumerationTypeAttributesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseEnumerationDataTypeAttributes() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/NumericTypeAttributesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/NumericTypeAttributesTest.php index 4e272ec7e0192e302690f5f04411c09b750e9555..9253d8da5f0c83ea0969a4201d189aedbbad600b 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/NumericTypeAttributesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypeAttributes/NumericTypeAttributesTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas * MySQL supports the SQL standard integer types INTEGER (or INT) and SMALLINT. * As an extension to the standard, MySQL also supports the integer types TINYINT, MEDIUMINT, and BIGINT. */ -class NumericTypeAttributesTest extends AbstractDataTypeBaseTestCase +final class NumericTypeAttributesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseNumericDataTypeAttributes() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BinaryDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BinaryDataTypeTest.php index 32850419c6ebd5be5678676f3614e0a0f8a3dc76..16bec2b980859ae029a982d282bfe07611a331bd 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BinaryDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BinaryDataTypeTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing BINARY/VARBINARY SQL data types */ -class BinaryDataTypeTest extends AbstractDataTypeBaseTestCase +final class BinaryDataTypeTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseBinaryDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BitDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BitDataTypeTest.php index d19be3398e5460158daf3c2129a3f385cd6bc56c..5715ea5e12659c02171d0e0f470a171e41eb3236 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BitDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BitDataTypeTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing BIT SQL data type */ -class BitDataTypeTest extends AbstractDataTypeBaseTestCase +final class BitDataTypeTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseBitDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BlobTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BlobTypesTest.php index 72356643a84c61ac304f56c13e6687062ec2fdc1..2613211ce68ef8e21f63c16e4c29e5a05afabeed 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BlobTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/BlobTypesTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing BLOB SQL data types */ -class BlobTypesTest extends AbstractDataTypeBaseTestCase +final class BlobTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseBlobDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/CharDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/CharDataTypeTest.php index 2aea621cf43cc9e6ed8c6cb36e6768b0e2f0e3f8..ad0e93f86839a875e29b4797fa8985e77f1df389 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/CharDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/CharDataTypeTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing CHAR/VARCHAR SQL data types */ -class CharDataTypeTest extends AbstractDataTypeBaseTestCase +final class CharDataTypeTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseBinaryDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php index 6bb6c5393123a33156a64d70cfe5aa929355d90d..8e8727be37c15bbd44fef51516751a50c4570cef 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/DateTimeTypesTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing DATE/TIME related SQL data types */ -class DateTimeTypesTest extends AbstractDataTypeBaseTestCase +final class DateTimeTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseDateTimeType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/EnumDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/EnumDataTypeTest.php index f7c13f7ea5112205c0b61ca24b2d3677945c1563..7aa41fd395eb5c19b18377a0fecb201ec2ca1c7a 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/EnumDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/EnumDataTypeTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing ENUM SQL data type */ -class EnumDataTypeTest extends AbstractDataTypeBaseTestCase +final class EnumDataTypeTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseEnumDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FixedPointTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FixedPointTypesTest.php index 35656eeb0bc7340b69ebbf35dabb3e68305d0141..7a76ec1b147e534bc87a953813250a400e4783b6 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FixedPointTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FixedPointTypesTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing DECIMAL/NUMERIC SQL data types */ -class FixedPointTypesTest extends AbstractDataTypeBaseTestCase +final class FixedPointTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseFixedPointTypes() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FloatingPointTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FloatingPointTypesTest.php index c141bd85310881356380a06f13453759734c4e01..4b12ccaf149831107438f7c5e33b250336264d79 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FloatingPointTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/FloatingPointTypesTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing FLOAT/REAL/DOUBLE SQL data types */ -class FloatingPointTypesTest extends AbstractDataTypeBaseTestCase +final class FloatingPointTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseFloatingPointTypes() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/IntegerTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/IntegerTypesTest.php index 3986021e85731ce3c30f0d503e45dfbb9a35a909..0acfc5370d49c1fe7a31c43cef3940b9e9eedcfe 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/IntegerTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/IntegerTypesTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing INTEGER SQL data types */ -class IntegerTypesTest extends AbstractDataTypeBaseTestCase +final class IntegerTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseIntegerDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/JsonDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/JsonDataTypeTest.php index 2953c54dcee8bc799b56309945c5d4791135faca..2d6a473683a7420ee5ac1d637fadfb8c5335f922 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/JsonDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/JsonDataTypeTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing JSON SQL data type */ -class JsonDataTypeTest extends AbstractDataTypeBaseTestCase +final class JsonDataTypeTest extends AbstractDataTypeBaseTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/SetDataTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/SetDataTypeTest.php index 42568f89ece5d1627078a8e19204b7c8902facaa..eee09bc09b7d35e1081957eca6f50cbd0003a610 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/SetDataTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/SetDataTypeTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing SET SQL data type */ -class SetDataTypeTest extends AbstractDataTypeBaseTestCase +final class SetDataTypeTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseSetDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/TextTypesTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/TextTypesTest.php index 7cf7045cd049053ab074fcd45ecf3e97cb5c3154..99ef918dd4fd9c851639c29fe2f25368de3f9661 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/TextTypesTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/DataTypes/TextTypesTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tests\Unit\Database\Schema\Parser\AbstractDataTypeBaseTestCas /** * Tests for parsing TEXT SQL data types */ -class TextTypesTest extends AbstractDataTypeBaseTestCase +final class TextTypesTest extends AbstractDataTypeBaseTestCase { /** * Data provider for canParseTextDataType() diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ForeignKeyDefinitionTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ForeignKeyDefinitionTest.php index 15649ffa57720073603da17a47f3315aa0424237..68a54cfa49673c69d6b76be2457497a4c78519ae 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ForeignKeyDefinitionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ForeignKeyDefinitionTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateForeignKeyDefinitionItem */ -class ForeignKeyDefinitionTest extends UnitTestCase +final class ForeignKeyDefinitionTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/IndexDefinitionTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/IndexDefinitionTest.php index 7be0423390dd50a7b2fe886de4a9e745765af6d7..07a985ecd3727202c4e872a653862662ebd4b03d 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/IndexDefinitionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/IndexDefinitionTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateIndexDefinitionItem */ -class IndexDefinitionTest extends UnitTestCase +final class IndexDefinitionTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ReferenceDefinitionTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ReferenceDefinitionTest.php index 26e96e66a04d3ef146a055a615f4fb54fb05ec69..d9bf92db056c37bc9161fae43c7c79937381089f 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ReferenceDefinitionTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/ReferenceDefinitionTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for ReferenceDefinition */ -class ReferenceDefinitionTest extends UnitTestCase +final class ReferenceDefinitionTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php index a9ac50068ff4f2eb037d651bb8985123866265f5..c62634716edc7a276a6af0276edb40f3bfedc3c2 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TableBuilderTest extends UnitTestCase +final class TableBuilderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableOptionsTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableOptionsTest.php index 5cfc022b03bab54d49bd13b8e53066d580ccebea..670877a75262e471eae6330011e1576597467195 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableOptionsTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableOptionsTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Tests for CreateTableStatement table options */ -class TableOptionsTest extends UnitTestCase +final class TableOptionsTest extends UnitTestCase { /** * Each parameter array consists of the following values: diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php index a77f14f88924c87d06b294bef732f4ea07a67d05..23426d7dbecd3382bad86f3da925c5c1ebb39c83 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SqlReaderTest extends UnitTestCase +final class SqlReaderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php index c9748d5050dbd46afe7d15c48a8263bfd96d59eb..30f16e23317e06db353c62b39c5fc465d0507fc1 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php @@ -22,7 +22,7 @@ use Doctrine\DBAL\Types\Type; use TYPO3\CMS\Core\Database\Schema\Types\EnumType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EnumTypeTest extends UnitTestCase +final class EnumTypeTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php b/typo3/sysext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php index e9d70d59a3c1626d0dba230f7597b8d088c70a47..6cc9cb66baf650a0af04bd47a66ed40b03e3a78f 100644 --- a/typo3/sysext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php @@ -22,7 +22,7 @@ use Doctrine\DBAL\Types\Type; use TYPO3\CMS\Core\Database\Schema\Types\SetType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SetTypeTest extends UnitTestCase +final class SetTypeTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/DependencyInjection/FailsafeContainerTest.php b/typo3/sysext/core/Tests/Unit/DependencyInjection/FailsafeContainerTest.php index 4a7680ffa36e5d2c1572bdb93b57c77386ee40c9..027648d2b6f07db1cef3e942afe950613dbb38d7 100644 --- a/typo3/sysext/core/Tests/Unit/DependencyInjection/FailsafeContainerTest.php +++ b/typo3/sysext/core/Tests/Unit/DependencyInjection/FailsafeContainerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\DependencyInjection\FailsafeContainer as Container; use TYPO3\CMS\Core\DependencyInjection\ServiceProviderInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FailsafeContainerTest extends UnitTestCase +final class FailsafeContainerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/DependencyInjection/ListenerProviderPassTest.php b/typo3/sysext/core/Tests/Unit/DependencyInjection/ListenerProviderPassTest.php index 31c5f1921cca0a1ff6e56d51873ffb01e8955237..1e749df8d9a5a06a3c46109006a70135832dd373 100644 --- a/typo3/sysext/core/Tests/Unit/DependencyInjection/ListenerProviderPassTest.php +++ b/typo3/sysext/core/Tests/Unit/DependencyInjection/ListenerProviderPassTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\DependencyInjection\ListenerProviderPass; use TYPO3\CMS\Core\EventDispatcher\ListenerProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ListenerProviderPassTest extends UnitTestCase +final class ListenerProviderPassTest extends UnitTestCase { protected function getContainerWithListenerProvider(array $packages = []): ContainerBuilder { diff --git a/typo3/sysext/core/Tests/Unit/DependencyInjection/ServiceProviderCompilationPassTest.php b/typo3/sysext/core/Tests/Unit/DependencyInjection/ServiceProviderCompilationPassTest.php index 8eeb1f66fc4a009ec4301419d1710f2168578a73..8fb4a1b17f00c6095ee7ea43b91f8fda830336fe 100644 --- a/typo3/sysext/core/Tests/Unit/DependencyInjection/ServiceProviderCompilationPassTest.php +++ b/typo3/sysext/core/Tests/Unit/DependencyInjection/ServiceProviderCompilationPassTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Tests\Unit\DependencyInjection\Fixtures\TestServiceProviderOv use TYPO3\CMS\Core\Tests\Unit\DependencyInjection\Fixtures\TestServiceProviderOverride2; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ServiceProviderCompilationPassTest extends UnitTestCase +final class ServiceProviderCompilationPassTest extends UnitTestCase { protected function getContainer(array $serviceProviders, callable $configure = null): ContainerBuilder { diff --git a/typo3/sysext/core/Tests/Unit/Error/DebugExceptionHandlerTest.php b/typo3/sysext/core/Tests/Unit/Error/DebugExceptionHandlerTest.php index cec04b6060c85491129a66e520e3e9c50513be9c..391b016d76b9965f4e20786af187f5e971a33b97 100644 --- a/typo3/sysext/core/Tests/Unit/Error/DebugExceptionHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/Error/DebugExceptionHandlerTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * testcase for the DebugExceptionHandler class. */ -class DebugExceptionHandlerTest extends UnitTestCase +final class DebugExceptionHandlerTest extends UnitTestCase { protected DebugExceptionHandler&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Error/ErrorHandlerTest.php b/typo3/sysext/core/Tests/Unit/Error/ErrorHandlerTest.php index d350d8dfeb4671e9e2471969021e038e3fd08280..63f1deed5cd02e961a9c175046c9dff13e3032c1 100644 --- a/typo3/sysext/core/Tests/Unit/Error/ErrorHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/Error/ErrorHandlerTest.php @@ -30,7 +30,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the ErrorHandler class. */ -class ErrorHandlerTest extends UnitTestCase +final class ErrorHandlerTest extends UnitTestCase { protected ErrorHandlerInterface $subject; diff --git a/typo3/sysext/core/Tests/Unit/Error/ProductionExceptionHandlerTest.php b/typo3/sysext/core/Tests/Unit/Error/ProductionExceptionHandlerTest.php index 57f87ca4f57f2111c3573bd370114f0b79ecf301..6f058be113ae3d24d472299164da28c40df94028 100644 --- a/typo3/sysext/core/Tests/Unit/Error/ProductionExceptionHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/Error/ProductionExceptionHandlerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Information\Typo3Information; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ProductionExceptionHandlerTest extends UnitTestCase +final class ProductionExceptionHandlerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected ProductionExceptionHandler&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/EventDispatcher/EventDispatcherTest.php b/typo3/sysext/core/Tests/Unit/EventDispatcher/EventDispatcherTest.php index 427c77029489ca405219bf8503bafb8899cc6ed9..1f6f767a0a6ea6cd4ee9c73efd803251cf7a2529 100644 --- a/typo3/sysext/core/Tests/Unit/EventDispatcher/EventDispatcherTest.php +++ b/typo3/sysext/core/Tests/Unit/EventDispatcher/EventDispatcherTest.php @@ -24,7 +24,7 @@ use Psr\EventDispatcher\StoppableEventInterface; use TYPO3\CMS\Core\EventDispatcher\EventDispatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EventDispatcherTest extends UnitTestCase +final class EventDispatcherTest extends UnitTestCase { protected ListenerProviderInterface&MockObject $listenerProviderMock; protected EventDispatcher $eventDispatcher; diff --git a/typo3/sysext/core/Tests/Unit/EventDispatcher/ListenerProviderTest.php b/typo3/sysext/core/Tests/Unit/EventDispatcher/ListenerProviderTest.php index 92cf33fda2aab0d53b084260862f75201a081f66..9ed8683f02c96b1d58b0cdf791d8ec3d7921b8ab 100644 --- a/typo3/sysext/core/Tests/Unit/EventDispatcher/ListenerProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/EventDispatcher/ListenerProviderTest.php @@ -23,7 +23,7 @@ use Psr\EventDispatcher\ListenerProviderInterface; use TYPO3\CMS\Core\EventDispatcher\ListenerProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ListenerProviderTest extends UnitTestCase +final class ListenerProviderTest extends UnitTestCase { protected ContainerInterface&MockObject $containerMock; protected ?ListenerProvider $listenerProvider; diff --git a/typo3/sysext/core/Tests/Unit/EventDispatcher/NoopEventDispatcherTest.php b/typo3/sysext/core/Tests/Unit/EventDispatcher/NoopEventDispatcherTest.php index 8db72d3f8c9d8dd829588e61ea7149a99913eaf3..adbfd2505de9e46d874b468c6c1a0b6d6f49e1f5 100644 --- a/typo3/sysext/core/Tests/Unit/EventDispatcher/NoopEventDispatcherTest.php +++ b/typo3/sysext/core/Tests/Unit/EventDispatcher/NoopEventDispatcherTest.php @@ -21,7 +21,7 @@ use Psr\EventDispatcher\EventDispatcherInterface; use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NoopEventDispatcherTest extends UnitTestCase +final class NoopEventDispatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php b/typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php index 475f3695ff91578dea2ff1a089307facd984ea1e..e8a8ab9b05d576d5d921204fff39b97f2bb7ed48 100644 --- a/typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php +++ b/typo3/sysext/core/Tests/Unit/ExpressionLanguage/ResolverTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Tests\Unit\Utility\AccessibleProxies\ExtensionManagementUtili use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ResolverTest extends UnitTestCase +final class ResolverTest extends UnitTestCase { public function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php b/typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php index ade5d35b1450a959f5201db0bfefd52de9016523..d05ab6a73c2768a96b0fa875c489b5c7807a0f83 100644 --- a/typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php +++ b/typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase */ -class AbstractFormProtectionTest extends UnitTestCase +final class AbstractFormProtectionTest extends UnitTestCase { protected ?FormProtectionTesting $subject; diff --git a/typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php b/typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php index 87e0ef9a39b6716c189534e5df49011e599faa10..2d9a7d348736880ee572c6db59e5d080745ca28d 100644 --- a/typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php +++ b/typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Registry; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendFormProtectionTest extends UnitTestCase +final class BackendFormProtectionTest extends UnitTestCase { protected BackendFormProtection $subject; protected BackendUserAuthentication&MockObject $backendUserMock; diff --git a/typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php b/typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php index afb4e698e9e3dfb93dc0cb1d8fd60f08e27331a4..7763a20d6342360179d2368b642710079f79481d 100644 --- a/typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\CMS\Core\Registry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormProtectionFactoryTest extends UnitTestCase +final class FormProtectionFactoryTest extends UnitTestCase { protected FormProtectionFactory $subject; protected FrontendInterface $runtimeCacheMock; diff --git a/typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php b/typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php index c82dd47f56deae35e4c6ecc8dd81f269eae98a07..3dcf3167565c111614e5b03da55a920cdc03e5dc 100644 --- a/typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php +++ b/typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\FormProtection\InstallToolFormProtection; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InstallToolFormProtectionTest extends UnitTestCase +final class InstallToolFormProtectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Hooks/TcaItemsProcessorFunctionsTest.php b/typo3/sysext/core/Tests/Unit/Hooks/TcaItemsProcessorFunctionsTest.php index 0e6b4e9004cb325766026e9619ef6e77efb5a4f7..fc1f7c8bc249ac89aed7fc0f0245900550f8a417 100644 --- a/typo3/sysext/core/Tests/Unit/Hooks/TcaItemsProcessorFunctionsTest.php +++ b/typo3/sysext/core/Tests/Unit/Hooks/TcaItemsProcessorFunctionsTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Core\Tests\Unit\Fixtures\EventDispatcher\MockEventDispatcher; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaItemsProcessorFunctionsTest extends UnitTestCase +final class TcaItemsProcessorFunctionsTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Html/HtmlCropperTest.php b/typo3/sysext/core/Tests/Unit/Html/HtmlCropperTest.php index 12a2b97db2833be9754575ad5f8e2410a51533c0..58b97ebaadd05fd655b34c30b5bc39e020ee15a0 100644 --- a/typo3/sysext/core/Tests/Unit/Html/HtmlCropperTest.php +++ b/typo3/sysext/core/Tests/Unit/Html/HtmlCropperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Html; use TYPO3\CMS\Core\Html\HtmlCropper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class HtmlCropperTest extends UnitTestCase +final class HtmlCropperTest extends UnitTestCase { private HtmlCropper $subject; diff --git a/typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php b/typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php index ade7ed2c849f14c9a0098ca944bc0769ca209664..90e6a36e3f9a160440fc54bf378d3fe8fe683dae 100644 --- a/typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php +++ b/typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Html\HtmlParser */ -class HtmlParserTest extends UnitTestCase +final class HtmlParserTest extends UnitTestCase { protected ?HtmlParser $subject; diff --git a/typo3/sysext/core/Tests/Unit/Html/Parser/ParserTest.php b/typo3/sysext/core/Tests/Unit/Html/Parser/ParserTest.php index 5396fb1a1ed6cb841507572cb8217df9c601fbcc..e13a0f13520dedfc13de3e069a390d755f122a97 100644 --- a/typo3/sysext/core/Tests/Unit/Html/Parser/ParserTest.php +++ b/typo3/sysext/core/Tests/Unit/Html/Parser/ParserTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Html\Parser; use TYPO3\CMS\Core\Html\SimpleNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ParserTest extends UnitTestCase +final class ParserTest extends UnitTestCase { private const TYPES = [ SimpleNode::TYPE_ELEMENT => 'ELEMENT', diff --git a/typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php b/typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php index ce173ffaa84c8f13fab556cf22936c2076b8f5bb..f7ea24b92b27f8f339bfdf69ead48960473c8d89 100644 --- a/typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php +++ b/typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php @@ -21,7 +21,7 @@ use Psr\EventDispatcher\EventDispatcherInterface; use TYPO3\CMS\Core\Html\RteHtmlParser; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RteHtmlParserTest extends UnitTestCase +final class RteHtmlParserTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Http/ApplicationTypeTest.php b/typo3/sysext/core/Tests/Unit/Http/ApplicationTypeTest.php index bc945e3d22938388559aa02743823c07b30d8dc0..68131252a45d195d7ea6678a02b76230457b90a7 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ApplicationTypeTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ApplicationTypeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Http\ApplicationType; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ApplicationTypeTest extends UnitTestCase +final class ApplicationTypeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/ClientTest.php b/typo3/sysext/core/Tests/Unit/Http/ClientTest.php index c1b3c5a87262c8fbfaf602abf51cd45b66fb507c..e1e39b367997a1fdd93b99514b51ed66a1153d75 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ClientTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ClientTest.php @@ -35,7 +35,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \GuzzleHTTP\Client compatibility with TYPO3 PSR-7 Stack */ -class ClientTest extends UnitTestCase +final class ClientTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/MessageTest.php b/typo3/sysext/core/Tests/Unit/Http/MessageTest.php index bf4a77d63bc49548d68afa8deffd764f74b048ea..f41c0d1a2b24c84ec33ce57983bf22316486d960 100644 --- a/typo3/sysext/core/Tests/Unit/Http/MessageTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/MessageTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class MessageTest extends UnitTestCase +final class MessageTest extends UnitTestCase { protected ?Stream $stream; protected ?Message $message; diff --git a/typo3/sysext/core/Tests/Unit/Http/MiddlewareDispatcherTest.php b/typo3/sysext/core/Tests/Unit/Http/MiddlewareDispatcherTest.php index 9adfeb41a55d4924d2d682af18d3e14c59c191e6..5b59e20630e48338e37d6e47e2a4fefa6d0df234 100644 --- a/typo3/sysext/core/Tests/Unit/Http/MiddlewareDispatcherTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/MiddlewareDispatcherTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Tests\Unit\Http\Fixtures\MiddlewareFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MiddlewareDispatcherTest extends UnitTestCase +final class MiddlewareDispatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/MiddlewareStackResolverTest.php b/typo3/sysext/core/Tests/Unit/Http/MiddlewareStackResolverTest.php index 3e4dbb712ddd2d3b17aaeca48ad82cc0fb79ed6c..269eb8e09155ca0ac1c37c09a1ce2425d5bb62c5 100644 --- a/typo3/sysext/core/Tests/Unit/Http/MiddlewareStackResolverTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/MiddlewareStackResolverTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Http\MiddlewareStackResolver; use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MiddlewareStackResolverTest extends UnitTestCase +final class MiddlewareStackResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php b/typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php index af08f8785ad1de8e747a9b550b7a40a43dc5fb80..b0fa6f10d8660ca73e52049b8e13832cf2663dd3 100644 --- a/typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/NormalizedParamsTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Http; use TYPO3\CMS\Core\Http\NormalizedParams; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NormalizedParamsTest extends UnitTestCase +final class NormalizedParamsTest extends UnitTestCase { /** * @return array[] diff --git a/typo3/sysext/core/Tests/Unit/Http/RedirectResponseTest.php b/typo3/sysext/core/Tests/Unit/Http/RedirectResponseTest.php index a27a06a0307d285b0c572ff7b8fc552daa080596..480350e20ab7b55eceeecad56d2319a9865ba4f3 100644 --- a/typo3/sysext/core/Tests/Unit/Http/RedirectResponseTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/RedirectResponseTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Http; use TYPO3\CMS\Core\Http\RedirectResponse; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectResponseTest extends UnitTestCase +final class RedirectResponseTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/RequestFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/RequestFactoryTest.php index 53cdf46eedbebbc283b5725f33cd533f6e324890..052d31f59c064258d639d7c6a700c5146066fa22 100644 --- a/typo3/sysext/core/Tests/Unit/Http/RequestFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/RequestFactoryTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Http\RequestFactory */ -class RequestFactoryTest extends UnitTestCase +final class RequestFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/RequestTest.php b/typo3/sysext/core/Tests/Unit/Http/RequestTest.php index 02d9fade8ec47f2316330a25e82f5560692f90f8..15cf1063236adc71f2bd89a9b64df4b0b4b09e1f 100644 --- a/typo3/sysext/core/Tests/Unit/Http/RequestTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/RequestTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class RequestTest extends UnitTestCase +final class RequestTest extends UnitTestCase { protected ?Request $request; diff --git a/typo3/sysext/core/Tests/Unit/Http/ResponseFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/ResponseFactoryTest.php index 319b8c57c3afa51e679651a089cd67f43c9d4086..c9720637f75102bdd6f71f29340ad5d917ca2280 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ResponseFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ResponseFactoryTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Http\ResponseFactory */ -class ResponseFactoryTest extends UnitTestCase +final class ResponseFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/ResponseTest.php b/typo3/sysext/core/Tests/Unit/Http/ResponseTest.php index 60f2df816301ea9659023380b9a23ded2dd1e78d..5d4bf9ae8135950ed5d73aa23b85780a3cf5a571 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ResponseTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ResponseTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class ResponseTest extends UnitTestCase +final class ResponseTest extends UnitTestCase { protected ?Response $response; diff --git a/typo3/sysext/core/Tests/Unit/Http/Security/ReferrerEnforcerTest.php b/typo3/sysext/core/Tests/Unit/Http/Security/ReferrerEnforcerTest.php index f529d27bc009c19bc9b3e1c02a192d69670b2e4f..c588aaa8353c8c6edcac42f178c4806cf137853a 100644 --- a/typo3/sysext/core/Tests/Unit/Http/Security/ReferrerEnforcerTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/Security/ReferrerEnforcerTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Core\Security\Nonce; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ReferrerEnforcerTest extends UnitTestCase +final class ReferrerEnforcerTest extends UnitTestCase { private static function buildRefreshContentPattern(string $uri): string { diff --git a/typo3/sysext/core/Tests/Unit/Http/ServerRequestFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/ServerRequestFactoryTest.php index 139bf1e8d7001354ab4889d86856afc938d11d31..b214406ee238ab78c4724d13339ff4dee305afe0 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ServerRequestFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ServerRequestFactoryTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Http\ServerRequestFactory */ -class ServerRequestFactoryTest extends UnitTestCase +final class ServerRequestFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/ServerRequestTest.php b/typo3/sysext/core/Tests/Unit/Http/ServerRequestTest.php index 895548b395d1873aebd7316fd4efa548d056a747..668c893b0d6284967faada2584c017498323ebce 100644 --- a/typo3/sysext/core/Tests/Unit/Http/ServerRequestTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/ServerRequestTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class ServerRequestTest extends UnitTestCase +final class ServerRequestTest extends UnitTestCase { protected ?ServerRequest $request; diff --git a/typo3/sysext/core/Tests/Unit/Http/StreamFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/StreamFactoryTest.php index 6982878d101bae47fa83169bcbd6fe1e36668c55..7a838d5cd09908055b4dea10b67097473410a02f 100644 --- a/typo3/sysext/core/Tests/Unit/Http/StreamFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/StreamFactoryTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Http\StreamFactory */ -class StreamFactoryTest extends UnitTestCase +final class StreamFactoryTest extends UnitTestCase { /** * Helper method to create a random directory and return the path. diff --git a/typo3/sysext/core/Tests/Unit/Http/UploadedFileFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/UploadedFileFactoryTest.php index cdc2a2c253e18b87286a4fe77be9c45fd9184dc0..297400466e3f7abe227644c660384f8423324e84 100644 --- a/typo3/sysext/core/Tests/Unit/Http/UploadedFileFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/UploadedFileFactoryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Http\Stream; use TYPO3\CMS\Core\Http\UploadedFileFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UploadedFileFactoryTest extends UnitTestCase +final class UploadedFileFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/UploadedFileTest.php b/typo3/sysext/core/Tests/Unit/Http/UploadedFileTest.php index a65bc1219c2cad95ccfc4ca7e59266560d952bba..cce95194b5ed36a58f3f56880969b3bd9e9fabac 100644 --- a/typo3/sysext/core/Tests/Unit/Http/UploadedFileTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/UploadedFileTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class UploadedFileTest extends UnitTestCase +final class UploadedFileTest extends UnitTestCase { protected $tmpFile; diff --git a/typo3/sysext/core/Tests/Unit/Http/UriFactoryTest.php b/typo3/sysext/core/Tests/Unit/Http/UriFactoryTest.php index a84a583437913c1aaf492eeceb7315708d54c115..7db7f86812123b86f14875fc736e1b77cb310bad 100644 --- a/typo3/sysext/core/Tests/Unit/Http/UriFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/UriFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Http\UriFactory */ -class UriFactoryTest extends UnitTestCase +final class UriFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Http/UriTest.php b/typo3/sysext/core/Tests/Unit/Http/UriTest.php index 2004726efde4a05cfba3b1bc4a7934a5d9a58fd3..6d9b526a599afeb80547e15c9a58d96dd78440f4 100644 --- a/typo3/sysext/core/Tests/Unit/Http/UriTest.php +++ b/typo3/sysext/core/Tests/Unit/Http/UriTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Adapted from https://github.com/phly/http/ */ -class UriTest extends UnitTestCase +final class UriTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php b/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php index 415755de231fab890d64ffbab7db040fdae2a9e4..b1be384dfa9b33d49ff97f8ebc5eaaae118c27af 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/DimensionTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Imaging\Dimension */ -class DimensionTest extends UnitTestCase +final class DimensionTest extends UnitTestCase { protected ?Dimension $subject; protected int $width = 32; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php b/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php index 0191cbdb7c47289755251b73fe96090101c93e7b..1eeb9631db97b8f61aa983df3596362fafc35915 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Imaging; use TYPO3\CMS\Core\Imaging\GraphicalFunctions; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GraphicalFunctionsTest extends UnitTestCase +final class GraphicalFunctionsTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php index aa6fc1ed7dd969a5353dff9ad9a78057b80b9c22..948397631ac1288a5ee835016846adb89b3adc80 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/BitmapIconProviderTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider */ -class BitmapIconProviderTest extends UnitTestCase +final class BitmapIconProviderTest extends UnitTestCase { protected ?BitmapIconProvider $subject; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php index 5425b4800318526518b8fe46ff7e355ca42062a9..7128474511f401f8370ad48edd12e4a9cafabfe5 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgIconProviderTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider */ -class SvgIconProviderTest extends UnitTestCase +final class SvgIconProviderTest extends UnitTestCase { protected ?SvgIconProvider $subject; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgSpriteIconProviderTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgSpriteIconProviderTest.php index c90840f3857c20a09b27fdb166d6eee962f5814c..227e6ac5311ac677592de528bf571f2f9eb2f426 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgSpriteIconProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconProvider/SvgSpriteIconProviderTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Imaging\IconProvider\SvgSpriteIconProvider */ -class SvgSpriteIconProviderTest extends UnitTestCase +final class SvgSpriteIconProviderTest extends UnitTestCase { protected ?SvgSpriteIconProvider $subject; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php index ac51c291ebe1ce85d8c00fbe9833ae0441b6a6be..ea88bf6528c36189aeb4919f91cd5ca898c29a31 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconRegistryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Imaging\IconRegistry; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IconRegistryTest extends UnitTestCase +final class IconRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php b/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php index c369b29707b3effe32ad72f6c9ac780b6c9d1ff9..eed3427dc906acad47d2699ef4f6f67897975db9 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/IconTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Imaging\IconRegistry; use TYPO3\CMS\Core\Type\Icon\IconState; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IconTest extends UnitTestCase +final class IconTest extends UnitTestCase { protected ?Icon $subject; protected string $iconIdentifier = 'actions-close'; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/ImageDimensionTest.php b/typo3/sysext/core/Tests/Unit/Imaging/ImageDimensionTest.php index 1c4d4ea261dc621ea59d0f3aeee7ca2f1c3db66e..e93d54d1a945ae6c8fcb29c0c87e5a1afb1bab93 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/ImageDimensionTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/ImageDimensionTest.php @@ -30,7 +30,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * Representing an image dimension (width and height) * and calculating the dimension from a source with a given processing instruction */ -class ImageDimensionTest extends UnitTestCase +final class ImageDimensionTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/AreaTest.php b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/AreaTest.php index b1762ed140a205698abab578ec622f6ce1b2438b..e1861d92f3746b0c51020c8f4fd52449d2928377 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/AreaTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/AreaTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\File; use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AreaTest extends UnitTestCase +final class AreaTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantCollectionTest.php b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantCollectionTest.php index 7c6596dab2ced03748311144d26fb32cb090cdb9..399908fba1f604666522067e1c3f6f82fc724af2 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantCollectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantCollectionTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariantCollection; use TYPO3\CMS\Core\Imaging\ImageManipulation\InvalidConfigurationException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CropVariantCollectionTest extends UnitTestCase +final class CropVariantCollectionTest extends UnitTestCase { private static array $tca = [ 'title' => 'LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.crop_variant.default', diff --git a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantTest.php b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantTest.php index d981d4db42e5e90dff32a440e001123003ea5188..89486d949123fd4af7e86c5d1b1b5614fee40b8f 100644 --- a/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantTest.php +++ b/typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/CropVariantTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Imaging\ImageManipulation\CropVariant; use TYPO3\CMS\Core\Imaging\ImageManipulation\InvalidConfigurationException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CropVariantTest extends UnitTestCase +final class CropVariantTest extends UnitTestCase { private static array $tca = [ 'title' => 'LLL:EXT:core/Resources/Private/Language/locallang_wizards.xlf:imwizard.crop_variant.default', diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php index 45a9d0451d5c2c338746afc21ba2bddd5fb25441..b6a64440a2cf825ce016b55b3fe91ebc695e1451 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/EmailLinkHandlerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\LinkHandling; use TYPO3\CMS\Core\LinkHandling\EmailLinkHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EmailLinkHandlerTest extends UnitTestCase +final class EmailLinkHandlerTest extends UnitTestCase { /** * Data to resolve strings to arrays and vice versa, external, mail, page diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php index 1a01772b9bcf9917e8385173d5c60757513b006a..66a3e9f9e8e1b20b4898fd57d15518bc6962a9f9 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\MathUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileLinkHandlerTest extends UnitTestCase +final class FileLinkHandlerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php index 3289fc72a55b57406853ab0be7e06eb0dc7b758a..319d226a1d8e2d0d94c386a6b4ac870d39abedee 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\MathUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LegacyLinkNotationConverterTest extends UnitTestCase +final class LegacyLinkNotationConverterTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php index c0eaaf9c91b518be8f2b9ac0ac9ee807980a047e..ed223edfd6c5df4950e2a7a4c74021652930afdd 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\LinkHandling; use TYPO3\CMS\Core\LinkHandling\LinkService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LinkServiceTest extends UnitTestCase +final class LinkServiceTest extends UnitTestCase { /** * Data to resolve strings to arrays and vice versa, external, mail, page diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php index c223d48f4299e411396548803d1d8266ef4c131e..39d98ec51ba2ff75be040e4464cd9cae27be6066 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/PageLinkHandlerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\LinkHandling; use TYPO3\CMS\Core\LinkHandling\PageLinkHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageLinkHandlerTest extends UnitTestCase +final class PageLinkHandlerTest extends UnitTestCase { /** * Data to resolve strings to arrays and vice versa, external, mail, page diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/RecordLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/RecordLinkHandlerTest.php index 6da5862eb4b0ea3965574810d3957b02fdd4662c..d3182820dbe60cc2331569b29ccc0098e4869b1c 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/RecordLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/RecordLinkHandlerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\LinkHandling; use TYPO3\CMS\Core\LinkHandling\RecordLinkHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RecordLinkHandlerTest extends UnitTestCase +final class RecordLinkHandlerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/TelephoneLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/TelephoneLinkHandlerTest.php index 4d772ac2ad9fc9194ca8bb75f0e2cb4bb9c71c1d..7b568b6ac8508f9e21026d9b07f563aee44fd321 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/TelephoneLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/TelephoneLinkHandlerTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TelephoneLinkHandlerTest */ -class TelephoneLinkHandlerTest extends UnitTestCase +final class TelephoneLinkHandlerTest extends UnitTestCase { /** * Data to resolve strings to arrays and vice versa, external, mail, page diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/TypoLinkCodecServiceTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/TypoLinkCodecServiceTest.php index 7faf96c9222a64b3bc914a02bdf548ff2c11a372..7c590f26ca436a88437cd59ab502f541a2bced33 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/TypoLinkCodecServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/TypoLinkCodecServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\LinkHandling; use TYPO3\CMS\Core\LinkHandling\TypoLinkCodecService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypoLinkCodecServiceTest extends UnitTestCase +final class TypoLinkCodecServiceTest extends UnitTestCase { protected TypoLinkCodecService $subject; diff --git a/typo3/sysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php b/typo3/sysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php index 73d51034c095feecb548137e9f0ee1adedceaf64..35ccefce4b758a468b4484020cf9f43748b80ee6 100644 --- a/typo3/sysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php +++ b/typo3/sysext/core/Tests/Unit/LinkHandling/UrlLinkHandlerTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\LinkHandling\LinkHandlingInterface; use TYPO3\CMS\Core\LinkHandling\UrlLinkHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UrlLinkHandlerTest extends UnitTestCase +final class UrlLinkHandlerTest extends UnitTestCase { /** * Data to resolve strings to arrays and vice versa, external, mail, page diff --git a/typo3/sysext/core/Tests/Unit/Localization/LocaleTest.php b/typo3/sysext/core/Tests/Unit/Localization/LocaleTest.php index 5309c9012bc48a5c68860b6b2a3ae51d318b77a7..5d13a3b773e752a5e1c24bb102217a92ce80ac4c 100644 --- a/typo3/sysext/core/Tests/Unit/Localization/LocaleTest.php +++ b/typo3/sysext/core/Tests/Unit/Localization/LocaleTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Localization; use TYPO3\CMS\Core\Localization\Locale; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LocaleTest extends UnitTestCase +final class LocaleTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php b/typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php index 98c76647a36cd5748e0fe29f4e9b8b3f8bb87fd5..69fd2cb2686dcbe59dbcb7dfa651a224a183bda5 100644 --- a/typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php +++ b/typo3/sysext/core/Tests/Unit/Localization/LocalesTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Localization\Locales; use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LocalesTest extends UnitTestCase +final class LocalesTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php b/typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php index 6d94416e06c8b25030fef360322f3cb414f275b9..23ecfe0c3d94fd4fee4533e6171bf0074a5b8991 100644 --- a/typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Localization\LocalizationFactory; use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LocalizationFactoryTest extends UnitTestCase +final class LocalizationFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php b/typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php index 99beb6b75d81088f0c9015a512cefc29a79db439..14fc689e655d98abe4940099c6a5b5701299c22f 100644 --- a/typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php +++ b/typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Localization\Parser; use TYPO3\CMS\Core\Localization\Parser\XliffParser; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class XliffParserTest extends UnitTestCase +final class XliffParserTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Locking/FileLockStrategyTest.php b/typo3/sysext/core/Tests/Unit/Locking/FileLockStrategyTest.php index 90cacd191f92aed6f53fcd2c953b65bf81a30a59..02c7f6ef5a7af5eb16b3c4968436f9ffbec7a461 100644 --- a/typo3/sysext/core/Tests/Unit/Locking/FileLockStrategyTest.php +++ b/typo3/sysext/core/Tests/Unit/Locking/FileLockStrategyTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Locking\FileLockStrategy */ -class FileLockStrategyTest extends UnitTestCase +final class FileLockStrategyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Locking/LockFactoryTest.php b/typo3/sysext/core/Tests/Unit/Locking/LockFactoryTest.php index ab922106405f6e7699e5fd7682a1cf5e501c4fc0..a2bb9df22d4464085fe8fccc2629db9237406696 100644 --- a/typo3/sysext/core/Tests/Unit/Locking/LockFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Locking/LockFactoryTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Locking\LockFactory */ -class LockFactoryTest extends UnitTestCase +final class LockFactoryTest extends UnitTestCase { protected LockFactory&MockObject&AccessibleObjectInterface $mockFactory; diff --git a/typo3/sysext/core/Tests/Unit/Locking/SemaphoreLockStrategyTest.php b/typo3/sysext/core/Tests/Unit/Locking/SemaphoreLockStrategyTest.php index 556fe8a7821b368c7fec57b23afcdeb433df2916..f7f798da5b2a2c78402c567fc50a71c2c854323f 100644 --- a/typo3/sysext/core/Tests/Unit/Locking/SemaphoreLockStrategyTest.php +++ b/typo3/sysext/core/Tests/Unit/Locking/SemaphoreLockStrategyTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * @requires function sem_get */ -class SemaphoreLockStrategyTest extends UnitTestCase +final class SemaphoreLockStrategyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Locking/SimpleLockStrategyTest.php b/typo3/sysext/core/Tests/Unit/Locking/SimpleLockStrategyTest.php index daf29db1047013faf168aaf91d6706480f267920..8412f4e3911f134b0efc26c7f86325a46b62371b 100644 --- a/typo3/sysext/core/Tests/Unit/Locking/SimpleLockStrategyTest.php +++ b/typo3/sysext/core/Tests/Unit/Locking/SimpleLockStrategyTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Locking\SimpleLockStrategy; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SimpleLockStrategyTest extends UnitTestCase +final class SimpleLockStrategyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/LogLevelTest.php b/typo3/sysext/core/Tests/Unit/Log/LogLevelTest.php index f0b81eeae5c2f81fedaa3392cf38693132883263..37ce53de281a6e9c63dbeabdc3f572bef1f170ee 100644 --- a/typo3/sysext/core/Tests/Unit/Log/LogLevelTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/LogLevelTest.php @@ -21,7 +21,7 @@ use Psr\Log\InvalidArgumentException; use TYPO3\CMS\Core\Log\LogLevel; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LogLevelTest extends UnitTestCase +final class LogLevelTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php b/typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php index 5f2b6abe1b2ab4f9351db89bf457506732884f02..057dc15edce740931ca2b334a789733c810cb2fe 100644 --- a/typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Log\Writer\NullWriter; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LogManagerTest extends UnitTestCase +final class LogManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php b/typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php index 293e0cce01d4c7616a11e11668221883511a46e0..852f1c6007c3c6fce3fc252435e0372ddd7cecb1 100644 --- a/typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php @@ -22,7 +22,7 @@ use Psr\Log\LogLevel; use TYPO3\CMS\Core\Log\LogRecord; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LogRecordTest extends UnitTestCase +final class LogRecordTest extends UnitTestCase { /** * Returns a LogRecord diff --git a/typo3/sysext/core/Tests/Unit/Log/LoggerTest.php b/typo3/sysext/core/Tests/Unit/Log/LoggerTest.php index 049803ee7bb26fa83af20bd75503ec35d51a1685..26396d010a8a1aec1b80c02ee4063a021d52171b 100644 --- a/typo3/sysext/core/Tests/Unit/Log/LoggerTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/LoggerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Log\Writer\NullWriter; use TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LoggerTest extends UnitTestCase +final class LoggerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractMemoryTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractMemoryTest.php index c08931cb034125a0fa7448c88e3a49ca352b447c..3bc22f4f14a0b4aa294e3edaeab845de2c271136 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractMemoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractMemoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Log\Processor; use TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractMemoryTest extends UnitTestCase +final class AbstractMemoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractProcessorTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractProcessorTest.php index 21a88a9821b88d2a7837bee3b125476a43b503be..2ed4ea9e55885d61dbc2368d3cd82f3b972f55a1 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractProcessorTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/AbstractProcessorTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\ProcessorFixture; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractProcessorTest extends UnitTestCase +final class AbstractProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/IntrospectionProcessorTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/IntrospectionProcessorTest.php index ff1ab7e9b8c9eadbfd16a09dad3009b0209b17f5..519e63559dec3a8a5b952f1544ecf80b1c155bb9 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/IntrospectionProcessorTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/IntrospectionProcessorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Log\LogRecord; use TYPO3\CMS\Core\Log\Processor\IntrospectionProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IntrospectionProcessorTest extends UnitTestCase +final class IntrospectionProcessorTest extends UnitTestCase { protected IntrospectionProcessor&MockObject $processor; diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryPeakUsageProcessorTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryPeakUsageProcessorTest.php index 8ccc5cfaef7e7c8457e1b3d8de07a3f2c8286e47..d7aaa0e3e4251acb111b9fb9e4fba4a5e2aef7df 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryPeakUsageProcessorTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryPeakUsageProcessorTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Log\LogRecord; use TYPO3\CMS\Core\Log\Processor\MemoryPeakUsageProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MemoryPeakUsageProcessorTest extends UnitTestCase +final class MemoryPeakUsageProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryUsageProcessorTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryUsageProcessorTest.php index e8d422b6267adfc36bd71f137e557786e5f6d172..e92d2e07c4f1dd42f5fd8699170114c91888714a 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryUsageProcessorTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/MemoryUsageProcessorTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Log\LogRecord; use TYPO3\CMS\Core\Log\Processor\MemoryUsageProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MemoryUsageProcessorTest extends UnitTestCase +final class MemoryUsageProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/WebProcessorTest.php b/typo3/sysext/core/Tests/Unit/Log/Processor/WebProcessorTest.php index a386fa784b278547406350b3edaa6e39e7b3e8cf..03aa0782911603611a738369f2790e1a1810862b 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Processor/WebProcessorTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Processor/WebProcessorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Log\Processor\WebProcessor; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class WebProcessorTest extends UnitTestCase +final class WebProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Writer/AbstractWriterTest.php b/typo3/sysext/core/Tests/Unit/Log/Writer/AbstractWriterTest.php index d523bc139ca1b91e3edb1dea3d176ee21af2bca3..59068c5ef9d9fd1de4eb3216e54964b4709edb0e 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Writer/AbstractWriterTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Writer/AbstractWriterTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Log\Exception\InvalidLogWriterConfigurationException; use TYPO3\CMS\Core\Tests\Unit\Log\Fixtures\WriterFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractWriterTest extends UnitTestCase +final class AbstractWriterTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseWriterTest.php b/typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseWriterTest.php index 69f85efe429d7bbcb9401fa142a63b2211bfb7eb..5a1f3d40c05670bcb47e282b7e7dee0d5fde2e36 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseWriterTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Writer/DatabaseWriterTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Log\Writer\DatabaseWriter; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseWriterTest extends UnitTestCase +final class DatabaseWriterTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php b/typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php index 832470326de8425c34a37e5a65e4b295baca2ce5..bee01e3d8d5f7cdc8b13058b64aa9b65758a022b 100644 --- a/typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php +++ b/typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileWriterTest extends UnitTestCase +final class FileWriterTest extends UnitTestCase { protected string $logFileDirectory = 'Log'; protected string $logFileName = 'test.log'; diff --git a/typo3/sysext/core/Tests/Unit/Mail/Event/AfterMailerSentMessageEventTest.php b/typo3/sysext/core/Tests/Unit/Mail/Event/AfterMailerSentMessageEventTest.php index e2e06e4d31ccdd8ba738c382e192944bf702ba21..946e62860b2a962e027a24e68d24af996434ab26 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/Event/AfterMailerSentMessageEventTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/Event/AfterMailerSentMessageEventTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Mail\TransportFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AfterMailerSentMessageEventTest extends UnitTestCase +final class AfterMailerSentMessageEventTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Mail/Event/BeforeMailerSentMessageEventTest.php b/typo3/sysext/core/Tests/Unit/Mail/Event/BeforeMailerSentMessageEventTest.php index d64139c27773e1c54cfe62858c7019fda75ae735..d5cef191f338c494429e9f5d59f3b8eb40281b59 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/Event/BeforeMailerSentMessageEventTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/Event/BeforeMailerSentMessageEventTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Mail\TransportFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BeforeMailerSentMessageEventTest extends UnitTestCase +final class BeforeMailerSentMessageEventTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Mail/FileSpoolTest.php b/typo3/sysext/core/Tests/Unit/Mail/FileSpoolTest.php index 01e230cc142e2ba6e60407be8bfccf0cd7a5dcb9..dc535cbabd5c1e823a220a094f3f5aacdbc1c830 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/FileSpoolTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/FileSpoolTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Core\Mail\FileSpool; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileSpoolTest extends UnitTestCase +final class FileSpoolTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php b/typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php index 8ad1351819e6c459fdd90da79a0f6df839f08e9f..6a13b83ccdd6817c45a3f9bf0251719f94b4a91b 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/MailMessageTest.php @@ -21,7 +21,7 @@ use Symfony\Component\Mime\Address; use TYPO3\CMS\Core\Mail\MailMessage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MailMessageTest extends UnitTestCase +final class MailMessageTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Mail/MailerTest.php b/typo3/sysext/core/Tests/Unit/Mail/MailerTest.php index b49cc7939c33180cdf65fa069edc98616cabfa63..ef82148c1c762f2371840eebc36f9c7a4298b82d 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/MailerTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/MailerTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Core\Mail\TransportFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MailerTest extends UnitTestCase +final class MailerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php b/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php index 2e4549d946b1c8d77909926f4d1b9810f13b6e34..6fed6dbc4f9ddfff4cf9cdde76cbb2e29e89657a 100644 --- a/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php @@ -36,7 +36,7 @@ use TYPO3\CMS\Core\Tests\Unit\Mail\Fixtures\FakeMemorySpoolFixture; use TYPO3\CMS\Core\Tests\Unit\Mail\Fixtures\FakeValidSpoolFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TransportFactoryTest extends UnitTestCase +final class TransportFactoryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php index f0a1b150bedee260c91caace22c8a0016ceaeb63..1be0ea44e036290fd1e01af7e3cbe27d2f4e4f00 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageRendererResolverTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Messaging\Renderer\FlashMessageRendererInterface; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlashMessageRendererResolverTest extends UnitTestCase +final class FlashMessageRendererResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php index 70a209fe6f2e2e3dafd39aaed2e9866ca386694e..4e70a8374dcf77099b8cc2ec395efaed739fd1a9 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Messaging; use TYPO3\CMS\Core\Messaging\FlashMessageService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlashMessageServiceTest extends UnitTestCase +final class FlashMessageServiceTest extends UnitTestCase { protected FlashMessageService $flashMessageService; diff --git a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageTest.php b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageTest.php index b1cd185d65ea90598f92177c66ab8e55691370f7..b1c57db6b81ee5d97911f51985d95202a4610ddf 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/FlashMessageTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessage; use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlashMessageTest extends UnitTestCase +final class FlashMessageTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php index 5c7944e5dc3d79504c7ce99d82078299885e2109..e4f7bd5d1825865441aef7a3f3876c14888ae108 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/BootstrapRendererTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BootstrapRendererTest extends UnitTestCase +final class BootstrapRendererTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php index 323426d9fd65bb462927e0b336581cf61ff42137..d8f8693232895bade240d3673c119fe5489991a7 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/ListRendererTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ListRendererTest extends UnitTestCase +final class ListRendererTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php index f9df51c1b188735ddc0126cd89d39c922fa34b72..1e299eef9a6cc4e6048a4d00f267f6b5647f1dcf 100644 --- a/typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Messaging/Renderer/PlaintextRendererTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PlaintextRendererTest extends UnitTestCase +final class PlaintextRendererTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/MetaTag/GenericMetaTagManagerTest.php b/typo3/sysext/core/Tests/Unit/MetaTag/GenericMetaTagManagerTest.php index 7e66291a0a1a359b3d894f5a4b7944c6dc49a23a..a6bf266762dd75248b89ae91f410740b0b2641aa 100644 --- a/typo3/sysext/core/Tests/Unit/MetaTag/GenericMetaTagManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/MetaTag/GenericMetaTagManagerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\MetaTag; use TYPO3\CMS\Core\MetaTag\GenericMetaTagManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GenericMetaTagManagerTest extends UnitTestCase +final class GenericMetaTagManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/MetaTag/MetaTagManagerRegistryTest.php b/typo3/sysext/core/Tests/Unit/MetaTag/MetaTagManagerRegistryTest.php index 78e3023d295051f3c150b2325561203171b2f06d..cd28dba7ddbea0bf0b9a87cb55300febf05dd634 100644 --- a/typo3/sysext/core/Tests/Unit/MetaTag/MetaTagManagerRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/MetaTag/MetaTagManagerRegistryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager; use TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MetaTagManagerRegistryTest extends UnitTestCase +final class MetaTagManagerRegistryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Middleware/VerifyHostHeaderTest.php b/typo3/sysext/core/Tests/Unit/Middleware/VerifyHostHeaderTest.php index 3e1d2220e4fa55d4a2164b25e33d414550f9a620..2d835a886de3bb2ea93d83cba193f559642ed425 100644 --- a/typo3/sysext/core/Tests/Unit/Middleware/VerifyHostHeaderTest.php +++ b/typo3/sysext/core/Tests/Unit/Middleware/VerifyHostHeaderTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Core\Middleware\VerifyHostHeader; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class VerifyHostHeaderTest extends UnitTestCase +final class VerifyHostHeaderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php b/typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php index bcd463a043411622d580a6bd44d93c9307d8a568..79b687ea0325fad95c16a43ec6e79ca506dea284 100644 --- a/typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php +++ b/typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Migrations\TcaMigration; use TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaMigrationTest extends UnitTestCase +final class TcaMigrationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Package/AbstractServiceProviderTest.php b/typo3/sysext/core/Tests/Unit/Package/AbstractServiceProviderTest.php index f131bea5b682bedc47f5ace8e219772c8ebd172b..0110f94e11b4ec8e8c2b2e42adc241770d8d8836 100644 --- a/typo3/sysext/core/Tests/Unit/Package/AbstractServiceProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/AbstractServiceProviderTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Tests\Unit\Package\Mocks\Package2ServiceProviderMock; use TYPO3\CMS\Core\Tests\Unit\Utility\Fixtures\GeneralUtilityMakeInstanceInjectLoggerFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractServiceProviderTest extends UnitTestCase +final class AbstractServiceProviderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Package/MetaDataTest.php b/typo3/sysext/core/Tests/Unit/Package/MetaDataTest.php index 6a07674a0bc74a2a17e3118cc4c34af48de5b90a..54e06e7ac7711814c267a586e6f15ad1eeb609a5 100644 --- a/typo3/sysext/core/Tests/Unit/Package/MetaDataTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/MetaDataTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Package; use TYPO3\CMS\Core\Package\MetaData; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MetaDataTest extends UnitTestCase +final class MetaDataTest extends UnitTestCase { public static function typeIsCorrectlyResolvedDataProvider(): \Generator { diff --git a/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php b/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php index ff0ad29d2be17d9da12fe1c0fa48303ca20abf63..7b7f4885ed265646d4024408358aa8a12da358f0 100644 --- a/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php @@ -38,7 +38,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the default package manager */ -class PackageManagerTest extends UnitTestCase +final class PackageManagerTest extends UnitTestCase { protected PackageManager&MockObject&AccessibleObjectInterface $packageManager; diff --git a/typo3/sysext/core/Tests/Unit/Package/PackageTest.php b/typo3/sysext/core/Tests/Unit/Package/PackageTest.php index 8a062c141b74ee40612932f5eb1121730cb16174..d3ca8884f271a7e85bbe91512f1f10eba773ad92 100644 --- a/typo3/sysext/core/Tests/Unit/Package/PackageTest.php +++ b/typo3/sysext/core/Tests/Unit/Package/PackageTest.php @@ -28,7 +28,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the package class */ -class PackageTest extends UnitTestCase +final class PackageTest extends UnitTestCase { protected string $testRoot; diff --git a/typo3/sysext/core/Tests/Unit/Page/AssetCollectorTest.php b/typo3/sysext/core/Tests/Unit/Page/AssetCollectorTest.php index 08e20a5da2723c2f9b614957fc9b806216ae0587..c413b217576d9b51e556208eada6dd1165162df0 100644 --- a/typo3/sysext/core/Tests/Unit/Page/AssetCollectorTest.php +++ b/typo3/sysext/core/Tests/Unit/Page/AssetCollectorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Page\AssetCollector; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AssetCollectorTest extends UnitTestCase +final class AssetCollectorTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected ?AssetCollector $assetCollector; diff --git a/typo3/sysext/core/Tests/Unit/Page/AssetRendererTest.php b/typo3/sysext/core/Tests/Unit/Page/AssetRendererTest.php index e8b99d48690952fa2937066bb7f287d41498dadc..0661badab37804a9136e54a8dc230efac4d9de25 100644 --- a/typo3/sysext/core/Tests/Unit/Page/AssetRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Page/AssetRendererTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Page\AssetRenderer; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AssetRendererTest extends UnitTestCase +final class AssetRendererTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected ?AssetRenderer $assetRenderer; diff --git a/typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php b/typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php index 6044e8c5e8d9d68c2d3478f364341eda2373aa13..f3caacbd749219436dc648b3035b1529658b65d7 100644 --- a/typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php +++ b/typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Page\ImportMap; use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImportMapTest extends UnitTestCase +final class ImportMapTest extends UnitTestCase { protected array $packages = []; diff --git a/typo3/sysext/core/Tests/Unit/Page/JavaScriptModuleInstructionTest.php b/typo3/sysext/core/Tests/Unit/Page/JavaScriptModuleInstructionTest.php index eeb2fe029ddb0dba7d8c27d68e935033aed8a1d4..5d81399ee2ac2f7a7d1f489ed764957ff498ac2f 100644 --- a/typo3/sysext/core/Tests/Unit/Page/JavaScriptModuleInstructionTest.php +++ b/typo3/sysext/core/Tests/Unit/Page/JavaScriptModuleInstructionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Page; use TYPO3\CMS\Core\Page\JavaScriptModuleInstruction; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class JavaScriptModuleInstructionTest extends UnitTestCase +final class JavaScriptModuleInstructionTest extends UnitTestCase { public static function flagsAreAssignedDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Page/PageRendererTest.php b/typo3/sysext/core/Tests/Unit/Page/PageRendererTest.php index bce74c33d3737be539b121e7a42caf81ec7fb75b..f89b818a42a66db56aa1c5f31c5a5ae301cd878a 100644 --- a/typo3/sysext/core/Tests/Unit/Page/PageRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Page/PageRendererTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageRendererTest extends UnitTestCase +final class PageRendererTest extends UnitTestCase { use PageRendererFactoryTrait; diff --git a/typo3/sysext/core/Tests/Unit/Pagination/ArrayPaginatorTest.php b/typo3/sysext/core/Tests/Unit/Pagination/ArrayPaginatorTest.php index 5764d0ff7801f9659112361bccde9300d90934e0..284a818ceb1b10958b5fcee9175a1975ea2df98e 100644 --- a/typo3/sysext/core/Tests/Unit/Pagination/ArrayPaginatorTest.php +++ b/typo3/sysext/core/Tests/Unit/Pagination/ArrayPaginatorTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Pagination; use TYPO3\CMS\Core\Pagination\ArrayPaginator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArrayPaginatorTest extends UnitTestCase +final class ArrayPaginatorTest extends UnitTestCase { protected array $fixture = []; diff --git a/typo3/sysext/core/Tests/Unit/Pagination/SimplePaginationTest.php b/typo3/sysext/core/Tests/Unit/Pagination/SimplePaginationTest.php index 51465d729c2d453f3984120f19716a8a8d911fe2..6fb605f87303efe6c79a4c72c656ae9a7967727b 100644 --- a/typo3/sysext/core/Tests/Unit/Pagination/SimplePaginationTest.php +++ b/typo3/sysext/core/Tests/Unit/Pagination/SimplePaginationTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Pagination\ArrayPaginator; use TYPO3\CMS\Core\Pagination\SimplePagination; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SimplePaginationTest extends UnitTestCase +final class SimplePaginationTest extends UnitTestCase { /** * @var array diff --git a/typo3/sysext/core/Tests/Unit/Pagination/SlidingWindowPaginationTest.php b/typo3/sysext/core/Tests/Unit/Pagination/SlidingWindowPaginationTest.php index 535467a1571918b3237eb2576e5fe3608f6f86ff..db6d893dad2bc7477f55216714b22e9dcd366164 100644 --- a/typo3/sysext/core/Tests/Unit/Pagination/SlidingWindowPaginationTest.php +++ b/typo3/sysext/core/Tests/Unit/Pagination/SlidingWindowPaginationTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Pagination\ArrayPaginator; use TYPO3\CMS\Core\Pagination\SlidingWindowPagination; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SlidingWindowPaginationTest extends UnitTestCase +final class SlidingWindowPaginationTest extends UnitTestCase { protected $paginator = []; diff --git a/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/CorePasswordValidatorTest.php b/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/CorePasswordValidatorTest.php index f6cab262582499adb8d7b000f1bd91a2cf6aea44..0bd38bc171149791dc07e19f703c14d056f2ff4e 100644 --- a/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/CorePasswordValidatorTest.php +++ b/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/CorePasswordValidatorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Localization\LanguageService; use TYPO3\CMS\Core\PasswordPolicy\Validator\CorePasswordValidator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CorePasswordValidatorTest extends UnitTestCase +final class CorePasswordValidatorTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/Dto/ContextDataTest.php b/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/Dto/ContextDataTest.php index 6d807bebda226def47c44cf41aeedc77955c9180..44173273a264b80a54cc042f160121dc60dca661 100644 --- a/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/Dto/ContextDataTest.php +++ b/typo3/sysext/core/Tests/Unit/PasswordPolicy/Validator/Dto/ContextDataTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\PasswordPolicy\Validator\Dto; use TYPO3\CMS\Core\PasswordPolicy\Validator\Dto\ContextData; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ContextDataTest extends UnitTestCase +final class ContextDataTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Preparations/TcaPreparationTest.php b/typo3/sysext/core/Tests/Unit/Preparations/TcaPreparationTest.php index 2acb5d49143f970418ed8dd08558460bb409198c..b53733bfeec449b4bcfb27d34bc677740475bdd2 100644 --- a/typo3/sysext/core/Tests/Unit/Preparations/TcaPreparationTest.php +++ b/typo3/sysext/core/Tests/Unit/Preparations/TcaPreparationTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Preparations; use TYPO3\CMS\Core\Preparations\TcaPreparation; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TcaPreparationTest extends UnitTestCase +final class TcaPreparationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/RegistryTest.php b/typo3/sysext/core/Tests/Unit/RegistryTest.php index f9270ff7dd74b77a6531bcc89852d9e7ad24eee8..b29214edd91bda44cac58692bd5feaf14862919d 100644 --- a/typo3/sysext/core/Tests/Unit/RegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/RegistryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit; use TYPO3\CMS\Core\Registry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RegistryTest extends UnitTestCase +final class RegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php b/typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php index 20865de7cb2ffd454d787525ad6080734d0764b3..9123f2407b688205fe6121e4eaae1c018e6a6eea 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the abstract file class of the TYPO3 FAL */ -class AbstractFileTest extends UnitTestCase +final class AbstractFileTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php index 66e9a232e63c99339631d7913c635d4450f3dea6..7075686e5ccd7690f82d646d427ac16c043bc8df 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\Collection\StaticFileCollection; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileCollectionRegistryTest extends UnitTestCase +final class FileCollectionRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php index c4fccba7d40d132ed1b80ab77c4259674e8286f0..0a8a1508941c7e9de9ed98912796d98c1d971862 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Driver; use TYPO3\CMS\Core\Resource\Driver\AbstractDriver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractDriverTest extends UnitTestCase +final class AbstractDriverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php index c66326a2e177839f3b078037e181cb78d8a70186..d8ebf3316d70d8fb272e06f693856026cbdc218a 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractHierarchicalFilesystemDriverTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Driver; use TYPO3\CMS\Core\Resource\Driver\AbstractHierarchicalFilesystemDriver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractHierarchicalFilesystemDriverTest extends UnitTestCase +final class AbstractHierarchicalFilesystemDriverTest extends UnitTestCase { public static function canonicalizeAndCheckFileIdentifierCanonicalizesPathDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php index 0b7832754c35af4eb09aec40ae3b7ad65d8ac9bd..14903be917ca8c836302cb0d7d2e055e3280870c 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\Driver\DriverRegistry; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DriverRegistryTest extends UnitTestCase +final class DriverRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php b/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php index 9378c2d98d00ed5e84c0c2d69c9510f07b199216..4045c1f356ec8f431a7aa5d7ccf6248941d8051b 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/FileReferenceTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileReferenceTest extends UnitTestCase +final class FileReferenceTest extends UnitTestCase { protected function prepareFixture(array $fileReferenceProperties, array $originalFileProperties): FileReference&MockObject&AccessibleObjectInterface { diff --git a/typo3/sysext/core/Tests/Unit/Resource/FileTest.php b/typo3/sysext/core/Tests/Unit/Resource/FileTest.php index c426e6fb6a52ba259cfd8c476ae6e87107c04b16..9e27a77ca7805a1a355232867e2e3e055aa51baf 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/FileTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/FileTest.php @@ -30,7 +30,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the file class of the TYPO3 FAL */ -class FileTest extends UnitTestCase +final class FileTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Filter/FileNameFilterTest.php b/typo3/sysext/core/Tests/Unit/Resource/Filter/FileNameFilterTest.php index bd7ea94570800eb82406c08df2e11ad91c38e942..aef49fcbacb546e23353e5b6ea954d4d2edbb7a2 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Filter/FileNameFilterTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Filter/FileNameFilterTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the filename filter of the TYPO3 VFS */ -class FileNameFilterTest extends UnitTestCase +final class FileNameFilterTest extends UnitTestCase { /** * Return combinations of files and paths to test against. diff --git a/typo3/sysext/core/Tests/Unit/Resource/FolderTest.php b/typo3/sysext/core/Tests/Unit/Resource/FolderTest.php index 5e5f6a2662618d419805e8a268bf309f8270d096..36676b8c5262154ac45278ad788aa1e4872ae798 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/FolderTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/FolderTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FolderTest extends UnitTestCase +final class FolderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php index c052f711e43a9ddc70e45a0f67cb286936281281..9280aff569ebd545478bfefb8375652088ba9840 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Index/ExtractorRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Index\ExtractorInterface; use TYPO3\CMS\Core\Resource\Index\ExtractorRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtractorRegistryTest extends UnitTestCase +final class ExtractorRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Index/IndexerTest.php b/typo3/sysext/core/Tests/Unit/Resource/Index/IndexerTest.php index 70709ff00065dc65d715baf11981dc8d9383b45b..3400eb8d8f70b785d8b74ac66d09070f0a00e7e7 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Index/IndexerTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Index/IndexerTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class IndexerTest */ -class IndexerTest extends UnitTestCase +final class IndexerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/MetaDataAspectTest.php b/typo3/sysext/core/Tests/Unit/Resource/MetaDataAspectTest.php index 8ad12005d35a38de5d27e7624bb7c0b53fe6c74b..f992b3e10022d09cf2d6622df305f5acee34fbca 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/MetaDataAspectTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/MetaDataAspectTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MetaDataAspectTest extends UnitTestCase +final class MetaDataAspectTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected ResourceStorage&MockObject $storageMock; diff --git a/typo3/sysext/core/Tests/Unit/Resource/OnlineMedia/Event/AfterVideoPreviewFetchedEventTest.php b/typo3/sysext/core/Tests/Unit/Resource/OnlineMedia/Event/AfterVideoPreviewFetchedEventTest.php index b61c15cce4cf8bb652b19bd83a527eaa8527cd08..750cf83f8b4bb9c71734cbfb6a5a9b34f179ef06 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/OnlineMedia/Event/AfterVideoPreviewFetchedEventTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/OnlineMedia/Event/AfterVideoPreviewFetchedEventTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\YouTubeHelper; use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AfterVideoPreviewFetchedEventTest extends UnitTestCase +final class AfterVideoPreviewFetchedEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php b/typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php index 497d3468e515c556ce07d9431f3a04d8ac8f4818..c012b21b724aa136382cb6a7ad5a10d7f06500c0 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php @@ -29,7 +29,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the ProcessedFile class of the TYPO3 FAL */ -class ProcessedFileTest extends UnitTestCase +final class ProcessedFileTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Processing/LocalPreviewHelperTest.php b/typo3/sysext/core/Tests/Unit/Resource/Processing/LocalPreviewHelperTest.php index be3f30f14d318de042b264769778a863738c3981..bb2a230c1d219bab8db883dfb4144c070d437e27 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Processing/LocalPreviewHelperTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Processing/LocalPreviewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for \TYPO3\CMS\Core\Resource\Processing\LocalPreviewHelper */ -class LocalPreviewHelperTest extends UnitTestCase +final class LocalPreviewHelperTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Processing/ProcessorRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Processing/ProcessorRegistryTest.php index cc4ce0f3e1280819a47d838306547b1ffee451ab..34e789d0c44a3fe25288fa49745ba7654205461a 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Processing/ProcessorRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Processing/ProcessorRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Processing\LocalImageProcessor; use TYPO3\CMS\Core\Resource\Processing\ProcessorRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ProcessorRegistryTest extends UnitTestCase +final class ProcessorRegistryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/RelativeCssPathFixerTest.php b/typo3/sysext/core/Tests/Unit/Resource/RelativeCssPathFixerTest.php index 26e34cd37410e5ce4db5e562723b4270cc55a515..501c71710238d1668c6cb13bbd3ce802c4fd0d72 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/RelativeCssPathFixerTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/RelativeCssPathFixerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource; use TYPO3\CMS\Core\Resource\RelativeCssPathFixer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RelativeCssPathFixerTest extends UnitTestCase +final class RelativeCssPathFixerTest extends UnitTestCase { public static function fixRelativeUrlPathsDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php b/typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php index 04cbc2d68d0701c50cd99050d55fc1686a31d635..b66a9d428a9756a64d116a2eff63caf71ddf0d33 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class AudioTagRendererTest */ -class AudioTagRendererTest extends UnitTestCase +final class AudioTagRendererTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Rendering/RendererRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Rendering/RendererRegistryTest.php index 7ae57028506be5293df8baa52aa89fe99a461630..434600f9d8b413a2c922c14dc0f9965a787ccb2a 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Rendering/RendererRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Rendering/RendererRegistryTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RendererRegistryTest extends UnitTestCase +final class RendererRegistryTest extends UnitTestCase { /** * Initialize a RendererRegistry and mock createRendererInstance() diff --git a/typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php b/typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php index 6b776dead3cd6276a8ce97d05b5d03092d7dab9a..da856f6563c8bad280b970c48f298e7d021a85c8 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class VideoTagRendererTest */ -class VideoTagRendererTest extends UnitTestCase +final class VideoTagRendererTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php b/typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php index 6d335f454233d204523223479d6abc86644ad68e..c4fa7e93c30a4d0c365a19966f3ffa3e078530c2 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class VimeoRendererTest */ -class VimeoRendererTest extends UnitTestCase +final class VimeoRendererTest extends UnitTestCase { protected VimeoRenderer&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php b/typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php index b125853c4f66e43ec077a29266dbca1a7326ca0b..453c3a429f1fed9d63396a72356b721d9d51f36b 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class YouTubeRendererTest */ -class YouTubeRendererTest extends UnitTestCase +final class YouTubeRendererTest extends UnitTestCase { protected YouTubeRenderer&MockObject $subject; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Repository/AbstractRepositoryTest.php b/typo3/sysext/core/Tests/Unit/Resource/Repository/AbstractRepositoryTest.php index be1cc2612c427c63dbe998265dff8e14ab66b4d9..e102bb21f1242c8dbd7b816c86ef52bbffd3c9fc 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Repository/AbstractRepositoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Repository/AbstractRepositoryTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Resource\AbstractRepository; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractRepositoryTest extends UnitTestCase +final class AbstractRepositoryTest extends UnitTestCase { protected function createDatabaseMock(): QueryBuilder&MockObject { diff --git a/typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php b/typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php index c422af4e7406d44b2d6d2b90b5e71e6f333b030a..88ab6b19ab73395f535f5f13099810d22e2dcb56 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource; use TYPO3\CMS\Core\Resource\ResourceCompressor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ResourceCompressorTest extends UnitTestCase +final class ResourceCompressorTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/ResourceFactoryTest.php b/typo3/sysext/core/Tests/Unit/Resource/ResourceFactoryTest.php index b98a7d2c33275d2e746d0e74640caee2193aa650..cc06b65b88c606f067033f60379e5afcacf08edb 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/ResourceFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/ResourceFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ResourceFactoryTest extends UnitTestCase +final class ResourceFactoryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Resource/Security/FileNameValidatorTest.php b/typo3/sysext/core/Tests/Unit/Resource/Security/FileNameValidatorTest.php index 996c73d0188908aeb4694dba73ffb59ee76d6059..2a7b156ab34cf0231cec4533ba24692aeddcedb5 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Security/FileNameValidatorTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Security/FileNameValidatorTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\TestCase; use TYPO3\CMS\Core\Resource\Security\FileNameValidator; use TYPO3\CMS\Core\Utility\StringUtility; -class FileNameValidatorTest extends TestCase +final class FileNameValidatorTest extends TestCase { public static function deniedFilesWithoutDenyPatternDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Resource/Service/ConfigurationServiceTest.php b/typo3/sysext/core/Tests/Unit/Resource/Service/ConfigurationServiceTest.php index e25f1bf3372b1e44b1dcdb5092cdbd2874ceaf39..96d4a07f2c22709da1e03a6cbb69bbfcd68163de 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Service/ConfigurationServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Service/ConfigurationServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Resource\ProcessedFile; use TYPO3\CMS\Core\Resource\Service\ConfigurationService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConfigurationServiceTest extends UnitTestCase +final class ConfigurationServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php b/typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php index f0e9458cb954b5f1c3276f1269520aa0bd88d8ac..cd4e50796e8b07843dcf1f5d053b867edbd1423a 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Resource\LocalPath; use TYPO3\CMS\Core\Resource\StorageRepository; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StorageRepositoryTest extends UnitTestCase +final class StorageRepositoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/PlainTextExtractorTest.php b/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/PlainTextExtractorTest.php index 93078b33175e3dd6a606e43336aa9da5a525dc06..86faf6e4e3d841b1874f104ac544d6acd0932755 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/PlainTextExtractorTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/PlainTextExtractorTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class PlainTextExtractorTest */ -class PlainTextExtractorTest extends UnitTestCase +final class PlainTextExtractorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/TextExtractorRegistryTest.php b/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/TextExtractorRegistryTest.php index b73eb3ee2daaa8c9a961aea19ecb2101ad00c59a..ee9ddd705cf5d7b22b89cb73e85f656cd32e8043 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/TextExtractorRegistryTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/TextExtraction/TextExtractorRegistryTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Test cases for TextExtractorRegistry */ -class TextExtractorRegistryTest extends UnitTestCase +final class TextExtractorRegistryTest extends UnitTestCase { /** * Initialize a TextExtractorRegistry and mock createTextExtractorInstance() diff --git a/typo3/sysext/core/Tests/Unit/Resource/Utility/FileExtensionFilterTest.php b/typo3/sysext/core/Tests/Unit/Resource/Utility/FileExtensionFilterTest.php index c438f7e207de74ae3bd202abd1799acc0992780f..39f51ba05f24a981335358e20de02fb60e5d1251 100644 --- a/typo3/sysext/core/Tests/Unit/Resource/Utility/FileExtensionFilterTest.php +++ b/typo3/sysext/core/Tests/Unit/Resource/Utility/FileExtensionFilterTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileExtensionFilterTest extends UnitTestCase +final class FileExtensionFilterTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php b/typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php index 05b268d55f663111f151ae074f665ee88a2f2f36..f917f24728a609bfdb99f947116a514aff6dbdc4 100644 --- a/typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AspectFactoryTest extends UnitTestCase +final class AspectFactoryTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php b/typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php index 661b1b5fb9fc26862ed8cac1f9841d378bcc4014..85c63359d3a7c6670423f57ece929a5feec3b525 100644 --- a/typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php +++ b/typo3/sysext/core/Tests/Unit/Routing/PageRouterTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageRouterTest extends UnitTestCase +final class PageRouterTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php b/typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php index d559e8092449c3df3617497c6ca7a70c36f61b7e..0de4cc6f99065e101a3a019dca0872dc5bdd1208 100644 --- a/typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php +++ b/typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteMatcherTest extends UnitTestCase +final class SiteMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Schema/Struct/SelectItemTest.php b/typo3/sysext/core/Tests/Unit/Schema/Struct/SelectItemTest.php index 4188473d1322f66ddd04e73e8c8ee997d169260b..e464f9fb6669841be6c55b708a5a6a69aa18a5e1 100644 --- a/typo3/sysext/core/Tests/Unit/Schema/Struct/SelectItemTest.php +++ b/typo3/sysext/core/Tests/Unit/Schema/Struct/SelectItemTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Schema\Struct; use TYPO3\CMS\Core\Schema\Struct\SelectItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SelectItemTest extends UnitTestCase +final class SelectItemTest extends UnitTestCase { public static function selectionItemCanBeConstructedFromTcaItemDataProvider(): iterable { diff --git a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/PolicyTest.php b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/PolicyTest.php index 1bdb4b2d5ae70179a70d1cbb0fb19e1f218e5958..b8660545c6ab9c9b2ad70c07badcc6ca1524d862 100644 --- a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/PolicyTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/PolicyTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Security\ContentSecurityPolicy\UriValue; use TYPO3\CMS\Core\Security\Nonce; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PolicyTest extends UnitTestCase +final class PolicyTest extends UnitTestCase { private Nonce $nonce; diff --git a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/ScopeTest.php b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/ScopeTest.php index 7a108851f64f30f911827917e4b6d6278f5c582a..5eab7f36399d1db3edb7cdda550a5ae63c650ca3 100644 --- a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/ScopeTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/ScopeTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\Entity\SiteInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ScopeTest extends UnitTestCase +final class ScopeTest extends UnitTestCase { protected function tearDown(): void { diff --git a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/UriValueTest.php b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/UriValueTest.php index 82440db6bbc2a54b5df1bbb99c367224f175517c..5a6063a99946a47969d800af9b208749c1e5e8af 100644 --- a/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/UriValueTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/UriValueTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Security\ContentSecurityPolicy; use TYPO3\CMS\Core\Security\ContentSecurityPolicy\UriValue; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UriValueTest extends UnitTestCase +final class UriValueTest extends UnitTestCase { public static function uriIsParsedAndSerializedDataProvider(): \Generator { diff --git a/typo3/sysext/core/Tests/Unit/Security/NoncePoolTest.php b/typo3/sysext/core/Tests/Unit/Security/NoncePoolTest.php index 5435fb6eee34024220962ebcc7d65e7d9294eba7..cb98690fdea4385b491bb4bdf2ff9320baee1a8e 100644 --- a/typo3/sysext/core/Tests/Unit/Security/NoncePoolTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/NoncePoolTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Security\Nonce; use TYPO3\CMS\Core\Security\NoncePool; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NoncePoolTest extends UnitTestCase +final class NoncePoolTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Security/NonceTest.php b/typo3/sysext/core/Tests/Unit/Security/NonceTest.php index 18949c941ae7d534180da2f82b1653bb30fc080b..dffe56eb61221a337c54915352169e835b13f5df 100644 --- a/typo3/sysext/core/Tests/Unit/Security/NonceTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/NonceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Security\NonceException; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NonceTest extends UnitTestCase +final class NonceTest extends UnitTestCase { public static function nonceIsCreatedDataProvider(): \Generator { diff --git a/typo3/sysext/core/Tests/Unit/Security/RequestTokenTest.php b/typo3/sysext/core/Tests/Unit/Security/RequestTokenTest.php index 67aaceb8f7a486f4c9b734329043abf4d4da67ce..79aa82c36001eaa5ff6932b7624b0a134158aa92 100644 --- a/typo3/sysext/core/Tests/Unit/Security/RequestTokenTest.php +++ b/typo3/sysext/core/Tests/Unit/Security/RequestTokenTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Security\SigningSecretInterface; use TYPO3\CMS\Core\Security\SigningSecretResolver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RequestTokenTest extends UnitTestCase +final class RequestTokenTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlParserTest.php b/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlParserTest.php index 2b4d17bed1f477f83e5c2be7eda28bef8738276f..460f8ce513b1c0fd2b20d491a8ab781360da5124 100644 --- a/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlParserTest.php +++ b/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlParserTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Serializer\Typo3XmlSerializer; use TYPO3\CMS\Core\Serializer\Typo3XmlSerializerOptions; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Typo3XmlParserTest extends UnitTestCase +final class Typo3XmlParserTest extends UnitTestCase { public static function decodeReturnsStringOrArrayDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlSerializerTest.php b/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlSerializerTest.php index 6bf6d1251b63f56d9f6ad0e59db5ae7d82c83646..7b47838f3b404fb533e2431e42a9cef33c1a3c74 100644 --- a/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlSerializerTest.php +++ b/typo3/sysext/core/Tests/Unit/Serializer/Typo3XmlSerializerTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Serializer\Typo3XmlParserOptions; use TYPO3\CMS\Core\Serializer\Typo3XmlSerializer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Typo3XmlSerializerTest extends UnitTestCase +final class Typo3XmlSerializerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Service/DependencyOrderingServiceTest.php b/typo3/sysext/core/Tests/Unit/Service/DependencyOrderingServiceTest.php index 119a38eb75213cbbbd4a036c4efafe8e010582d1..29b43f32ff6c3da3769793fc80cab4fd35d31aab 100644 --- a/typo3/sysext/core/Tests/Unit/Service/DependencyOrderingServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Service/DependencyOrderingServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Service; use TYPO3\CMS\Core\Service\DependencyOrderingService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DependencyOrderingServiceTest extends UnitTestCase +final class DependencyOrderingServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Service/FlexFormServiceTest.php b/typo3/sysext/core/Tests/Unit/Service/FlexFormServiceTest.php index d237930252fed2d67fe77a9e9106fd91e3026879..ba3e0f5b8f79e92578739a48df5387b931de3e30 100644 --- a/typo3/sysext/core/Tests/Unit/Service/FlexFormServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Service/FlexFormServiceTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Service\FlexFormService; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlexFormServiceTest extends UnitTestCase +final class FlexFormServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Service/MarkerBasedTemplateServiceTest.php b/typo3/sysext/core/Tests/Unit/Service/MarkerBasedTemplateServiceTest.php index 26a28d1dd41d1abfe887dcf6ae6d6c6794689740..700300ea0a8eef976a53fdf8165c7a27bda21f63 100644 --- a/typo3/sysext/core/Tests/Unit/Service/MarkerBasedTemplateServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/Service/MarkerBasedTemplateServiceTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Unit test for marker utility */ -class MarkerBasedTemplateServiceTest extends UnitTestCase +final class MarkerBasedTemplateServiceTest extends UnitTestCase { protected ?MarkerBasedTemplateService $templateService; diff --git a/typo3/sysext/core/Tests/Unit/Session/Backend/DatabaseSessionBackendTest.php b/typo3/sysext/core/Tests/Unit/Session/Backend/DatabaseSessionBackendTest.php index c63fbedc94b4432dc131360c7be23398828cbb5c..fe5504a3892cfc6aad3e275a443e2a2053d7ddb4 100644 --- a/typo3/sysext/core/Tests/Unit/Session/Backend/DatabaseSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/Backend/DatabaseSessionBackendTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Session\Backend; use TYPO3\CMS\Core\Session\Backend\DatabaseSessionBackend; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseSessionBackendTest extends UnitTestCase +final class DatabaseSessionBackendTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php b/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php index 05877cce109914dcce940c3e708bcdb9a3966277..3d677e176f809817dd080563a413ab6250ace14c 100644 --- a/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Session\Backend; use TYPO3\CMS\Core\Session\Backend\RedisSessionBackend; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedisSessionBackendTest extends UnitTestCase +final class RedisSessionBackendTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Session/SessionManagerTest.php b/typo3/sysext/core/Tests/Unit/Session/SessionManagerTest.php index c9e8a81aec1517a80d02857ad3a5aa3fbe86206c..46e569857aa74ddfecee8d8511f8304edd215278 100644 --- a/typo3/sysext/core/Tests/Unit/Session/SessionManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/SessionManagerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Session\SessionManager; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SessionManagerTest extends UnitTestCase +final class SessionManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Session/UserSessionManagerTest.php b/typo3/sysext/core/Tests/Unit/Session/UserSessionManagerTest.php index 3d758e003562d7d8f4b685e50b32ff62020f80dc..16f3fb2cd93961c187e364db1198668426d820c9 100644 --- a/typo3/sysext/core/Tests/Unit/Session/UserSessionManagerTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/UserSessionManagerTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Session\UserSession; use TYPO3\CMS\Core\Session\UserSessionManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UserSessionManagerTest extends UnitTestCase +final class UserSessionManagerTest extends UnitTestCase { use JwtTrait; diff --git a/typo3/sysext/core/Tests/Unit/Session/UserSessionTest.php b/typo3/sysext/core/Tests/Unit/Session/UserSessionTest.php index 24f8f1a10ad9f99cbe4cffbee4d6f94e325c275a..82223c7be7440103aee687df7c8baad2e7dfaf1f 100644 --- a/typo3/sysext/core/Tests/Unit/Session/UserSessionTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/UserSessionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Security\JwtTrait; use TYPO3\CMS\Core\Session\UserSession; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UserSessionTest extends UnitTestCase +final class UserSessionTest extends UnitTestCase { use JwtTrait; diff --git a/typo3/sysext/core/Tests/Unit/Site/Entity/SiteLanguageTest.php b/typo3/sysext/core/Tests/Unit/Site/Entity/SiteLanguageTest.php index 1e249c2ed3d4749f63da94806acec991e374f36e..fc45e9812029121b2cb11d9b7571020e420166c5 100644 --- a/typo3/sysext/core/Tests/Unit/Site/Entity/SiteLanguageTest.php +++ b/typo3/sysext/core/Tests/Unit/Site/Entity/SiteLanguageTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteLanguageTest extends UnitTestCase +final class SiteLanguageTest extends UnitTestCase { public static function languageFallbackIdConversionDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Site/Entity/SiteTest.php b/typo3/sysext/core/Tests/Unit/Site/Entity/SiteTest.php index 4080a0f149da8a5d619a7ed149160cf618d049b7..9c51bf3aaefc2dab0f0f628ad7366f5f5384fd32 100644 --- a/typo3/sysext/core/Tests/Unit/Site/Entity/SiteTest.php +++ b/typo3/sysext/core/Tests/Unit/Site/Entity/SiteTest.php @@ -39,7 +39,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Frontend\Http\Application; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteTest extends UnitTestCase +final class SiteTest extends UnitTestCase { public function tearDown(): void { diff --git a/typo3/sysext/core/Tests/Unit/Text/TextCropperTest.php b/typo3/sysext/core/Tests/Unit/Text/TextCropperTest.php index 0c55d8e4ef7513d7ab5c9df50789fd66b6fb76a3..3faf22c8ba1ac7c5a7b64dad6ede1fa7dcf775b3 100644 --- a/typo3/sysext/core/Tests/Unit/Text/TextCropperTest.php +++ b/typo3/sysext/core/Tests/Unit/Text/TextCropperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Text; use TYPO3\CMS\Core\Text\TextCropper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TextCropperTest extends UnitTestCase +final class TextCropperTest extends UnitTestCase { private TextCropper $subject; diff --git a/typo3/sysext/core/Tests/Unit/TimeTracker/TimeTrackerTest.php b/typo3/sysext/core/Tests/Unit/TimeTracker/TimeTrackerTest.php index f56295282baae08faa092385690112478a2cf2a7..4d34f197e5361ab698505adf1242310c2f72e761 100644 --- a/typo3/sysext/core/Tests/Unit/TimeTracker/TimeTrackerTest.php +++ b/typo3/sysext/core/Tests/Unit/TimeTracker/TimeTrackerTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TimeTrackerTest */ -class TimeTrackerTest extends UnitTestCase +final class TimeTrackerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php index fa3d9a6b5017941993da51ebfa136d61e3b4f365..e657fbd58582f64c5b91bac70f9787ab5ea376e2 100644 --- a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php +++ b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/DatabaseTreeDataProviderTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Tree\TreeNode; use TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseTreeDataProviderTest extends UnitTestCase +final class DatabaseTreeDataProviderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php index f1f944eaf9757f21d26a737286f3b8a00ac83122..771cff47863f6bde9c1fc8b80d0053a297451c59 100644 --- a/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php +++ b/typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Tree\TableConfiguration\TreeDataProviderFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TreeDataProviderFactoryTest extends UnitTestCase +final class TreeDataProviderFactoryTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Unit/Type/BitSetTest.php b/typo3/sysext/core/Tests/Unit/Type/BitSetTest.php index 58b4623cf478e80cda2d3e85e0e79d60f4a8f6ed..51b82cb0586ab2ca090ea8e5e571f0f789e59306 100644 --- a/typo3/sysext/core/Tests/Unit/Type/BitSetTest.php +++ b/typo3/sysext/core/Tests/Unit/Type/BitSetTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Type; use TYPO3\CMS\Core\Type\BitSet; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BitSetTest extends UnitTestCase +final class BitSetTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php b/typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php index 813b77a1d5b6fd191e55118211fc945308c4bf6f..8d7e9182562b71ddb8d9c5831c09f3c0d9213219 100644 --- a/typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php +++ b/typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Type\Exception\InvalidEnumerationDefinitionException; use TYPO3\CMS\Core\Type\Exception\InvalidEnumerationValueException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EnumerationTest extends UnitTestCase +final class EnumerationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Type/File/ImageInfoTest.php b/typo3/sysext/core/Tests/Unit/Type/File/ImageInfoTest.php index 569250fb8947aea00c9bb6ecce219febb1ca2d70..3b151124ffe49245c28a05e080d3b477aab07a9e 100644 --- a/typo3/sysext/core/Tests/Unit/Type/File/ImageInfoTest.php +++ b/typo3/sysext/core/Tests/Unit/Type/File/ImageInfoTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Type\File\ImageInfo; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImageInfoTest extends UnitTestCase +final class ImageInfoTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Type/MapTest.php b/typo3/sysext/core/Tests/Unit/Type/MapTest.php index 83aaa9cde76c3cf24a2493d606c141151b6b07b5..468a670f692dcab199b8b76d549e2d0e0d06e198 100644 --- a/typo3/sysext/core/Tests/Unit/Type/MapTest.php +++ b/typo3/sysext/core/Tests/Unit/Type/MapTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Type; use TYPO3\CMS\Core\Type\Map; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MapTest extends UnitTestCase +final class MapTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php index c4212b85b421ff8b7973ad1a8572f3b35dd98ba6..caf84bbfa3a4033a0ac6b5a4129f6fbe79c7aca8 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/AstBuilderInterfaceTest.php @@ -35,7 +35,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * This tests AstBuilder and CommentAwareAstBuilder */ -class AstBuilderInterfaceTest extends UnitTestCase +final class AstBuilderInterfaceTest extends UnitTestCase { public static function buildDataProvider(): \Generator { diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/CurrentObjectPath/CurrentObjectPathTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/CurrentObjectPath/CurrentObjectPathTest.php index 25d57565256dec4152a8648ef654f08bb81810d1..a140702411188c0d179042b289cca4f1d56c159a 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/CurrentObjectPath/CurrentObjectPathTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/CurrentObjectPath/CurrentObjectPathTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\AST\Node\ChildNode; use TYPO3\CMS\Core\TypoScript\AST\Node\RootNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CurrentObjectPathTest extends UnitTestCase +final class CurrentObjectPathTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php index db578e2745e07cee5b37d3653dda17e16168581c..559953a68938394a071c277d908f8af6b0dc6fe4 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ChildNodeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\AST\Node\ReferenceChildNode; use TYPO3\CMS\Core\TypoScript\AST\Node\RootNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ChildNodeTest extends UnitTestCase +final class ChildNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ReferenceChildNodeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ReferenceChildNodeTest.php index a9be5cd0e8289211d30bbd289a58acb8a6555b5a..ff99e3b60285ab30543cdf11e7f3edb66ed01285 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ReferenceChildNodeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/ReferenceChildNodeTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\AST\Node\ChildNode; use TYPO3\CMS\Core\TypoScript\AST\Node\ReferenceChildNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ReferenceChildNodeTest extends UnitTestCase +final class ReferenceChildNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/RootNodeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/RootNodeTest.php index c0b2b0bd80c87977543a71e6e7ea49f3c56a17d2..560c754248424d4bfeda5bd1f869d97d21f9d4cc 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/RootNodeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/AST/Node/RootNodeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\AST\Node\ReferenceChildNode; use TYPO3\CMS\Core\TypoScript\AST\Node\RootNode; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RootNodeTest extends UnitTestCase +final class RootNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionElseIncludeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionElseIncludeTest.php index 5280462d95b85f35c0a8c1ce94f4e1336c7acda2..92eca592fd4753379f44fdcee80b33eed808121a 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionElseIncludeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionElseIncludeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConditionElseIncludeTest extends UnitTestCase +final class ConditionElseIncludeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTest.php index be74885df070344349a69342f6a21a3808892022..566dc6e3adbbae40460962d39fd346182a5d27af 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConditionIncludeTest extends UnitTestCase +final class ConditionIncludeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTyposcriptIncludeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTyposcriptIncludeTest.php index a954185bf7c28cca9e4debeca035e317f4f236f7..475b6adda2b760bd2861782076480978dce61947 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTyposcriptIncludeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/ConditionIncludeTyposcriptIncludeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConditionIncludeTyposcriptIncludeTest extends UnitTestCase +final class ConditionIncludeTyposcriptIncludeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/RootNodeTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/RootNodeTest.php index 546f3709784057adfad1811fd93bd6b3f2f74a73..fda3be99d563aad9d006737633b590fbf1e53319 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/RootNodeTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/IncludeTree/IncludeNode/RootNodeTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\IncludeTree\IncludeNode\RootInclude; use TYPO3\CMS\Core\TypoScript\IncludeTree\IncludeNode\StringInclude; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RootNodeTest extends UnitTestCase +final class RootNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ConditionLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ConditionLineTest.php index b2bcc383ec499e027bd48488c8510150489c7c54..27e3f88e672ad24fe5237f5e3765446f4b066d37 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ConditionLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ConditionLineTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConditionLineTest extends UnitTestCase +final class ConditionLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierAssignmentLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierAssignmentLineTest.php index ad675a310026cfdf0fa23eef5d43996535dcbba8..8e3ade9dd6392f15ced7221b609fdd8c5c02cabd 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierAssignmentLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierAssignmentLineTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierAssignmentLine; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierAssignmentLineTest extends UnitTestCase +final class IdentifierAssignmentLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierBlockOpenLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierBlockOpenLineTest.php index ba31795ee572f73c2a162faf90aa1f54ee562b91..9d154faf0f24e641d1833b24989c5f9adb17eed5 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierBlockOpenLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierBlockOpenLineTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierBlockOpenLine; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierBlockOpenLineTest extends UnitTestCase +final class IdentifierBlockOpenLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierCopyLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierCopyLineTest.php index f3e2b42b9eccf69d4000a92337b2a9cc1ca2b59e..29db4c1b8ce19fa1016df3cca3622f2463417d20 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierCopyLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierCopyLineTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierCopyLine; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierCopyLineTest extends UnitTestCase +final class IdentifierCopyLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierFunctionLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierFunctionLineTest.php index e1fa305ddbee572332b6c6f5428645f9faced227..8a30c16754ceb087f8fba597a3776820695c1084 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierFunctionLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierFunctionLineTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierFunctionLineTest extends UnitTestCase +final class IdentifierFunctionLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierReferenceLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierReferenceLineTest.php index 4ae3930e48075bd7f897d4063ecc3eb065e4fb10..1ce800ec29fdcd77e70d41f01c3fb37d00a9248d 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierReferenceLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierReferenceLineTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierReferenceLine; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierReferenceLineTest extends UnitTestCase +final class IdentifierReferenceLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierUnsetLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierUnsetLineTest.php index 2931ab6e9189d2fffd8f9dc893642d262eaa4708..1509f4ab0bdbe1ab1fb765e15b96f796e29847a5 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierUnsetLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/IdentifierUnsetLineTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Line\IdentifierUnsetLine; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\IdentifierTokenStream; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierUnsetLineTest extends UnitTestCase +final class IdentifierUnsetLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportLineTest.php index b55497354592ba8e8ee95598ead0b54e5f346f6b..c7fec6a9c824a75407f3b72a93aa22382f36dafc 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportLineTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImportLineTest extends UnitTestCase +final class ImportLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportOldLineTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportOldLineTest.php index 46119710f515c67bd8849b5c98dba372f9d479dc..6044fb84429db0ce1b00ab24a6b31dee53002ca9 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportOldLineTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Line/ImportOldLineTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImportOldLineTest extends UnitTestCase +final class ImportOldLineTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/IdentifierTokenStreamTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/IdentifierTokenStreamTest.php index 6edf58552dccd50a47fdeaca7f30693b64072cf1..041514c0766d50ccccbb4c431c971741a1337ea0 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/IdentifierTokenStreamTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/IdentifierTokenStreamTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IdentifierTokenStreamTest extends UnitTestCase +final class IdentifierTokenStreamTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenStreamTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenStreamTest.php index 7b2dd571dff1f75fdc981b00e6cb8b13e8cffa73..640d7c38f970326b7eae6eee031273d777546758 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenStreamTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenStreamTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenStream; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TokenStreamTest extends UnitTestCase +final class TokenStreamTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenTest.php index 2d4e5334a126117796887fc8b8f572e050bc2f26..0858314e9ee8988ed8a73c8e4be27ebf7b32a808 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/Token/TokenTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\Token; use TYPO3\CMS\Core\TypoScript\Tokenizer\Token\TokenType; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TokenTest extends UnitTestCase +final class TokenTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/TokenizerInterfaceTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/TokenizerInterfaceTest.php index d2f7c6b838550c7c8e4476f20aac1fa54cea8e8e..9c86ee9aab6495c3faae3d06726389e4ecddaceb 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/TokenizerInterfaceTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/Tokenizer/TokenizerInterfaceTest.php @@ -46,7 +46,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * This tests LosslessTokenizer, LossyTokenizer and LosslessTokenizer->__toString() */ -class TokenizerInterfaceTest extends UnitTestCase +final class TokenizerInterfaceTest extends UnitTestCase { public static function tokenizeStringDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php b/typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php index f83ff232e9cedbb7e58bf9647e3418bd1249405d..8793a68518c1cedcc6e996f4443df937db69f00b 100644 --- a/typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php +++ b/typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\TypoScript; use TYPO3\CMS\Core\TypoScript\TypoScriptService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypoScriptServiceTest extends UnitTestCase +final class TypoScriptServiceTest extends UnitTestCase { /** * data provider for convertTypoScriptArrayToPlainArray diff --git a/typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php index b06959d7f74e28154674925d7ae0b83e0f3a01c3..34f49d81b2a7b871e60903427f77a52463534d29 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * @todo When further defining the method parameter types test bench errors occur */ -class ArrayUtilityTest extends UnitTestCase +final class ArrayUtilityTest extends UnitTestCase { /////////////////////// // Tests concerning filterByValueRecursive diff --git a/typo3/sysext/core/Tests/Unit/Utility/ClassNamingUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/ClassNamingUtilityTest.php index 0ee5294cb14be5f09f84c7a461befa23dbf4bfcc..8b362a27b2b4518f1d984d3ca997ddbe83e445be 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/ClassNamingUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/ClassNamingUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\ClassNamingUtility */ -class ClassNamingUtilityTest extends UnitTestCase +final class ClassNamingUtilityTest extends UnitTestCase { /** * DataProvider for translateModelNameToRepositoryName diff --git a/typo3/sysext/core/Tests/Unit/Utility/CommandUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/CommandUtilityTest.php index 65d5664f5488fc7d7427830335f2f6ef6bc7f18f..be8d6c840362d5738751230023bce636a76bd173 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/CommandUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/CommandUtilityTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Utility; use TYPO3\CMS\Core\Utility\CommandUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CommandUtilityTest extends UnitTestCase +final class CommandUtilityTest extends UnitTestCase { /** * Data provider for getConfiguredApps diff --git a/typo3/sysext/core/Tests/Unit/Utility/CsvUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/CsvUtilityTest.php index 5f787982ce197b47bc0375c0f550aab53a261a19..8d82b2628ac90ac5139aa5428c07cd0c0c7b38c2 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/CsvUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/CsvUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Test cases of CsvUtility */ -class CsvUtilityTest extends UnitTestCase +final class CsvUtilityTest extends UnitTestCase { public static function csvToArrayDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Utility/DebugUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/DebugUtilityTest.php index 6550244a083ff004f8ec237a5dda01cbcf8d66a8..c749f866acc7d92182ecff5de76519661a317a54 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/DebugUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/DebugUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\DebugUtility */ -class DebugUtilityTest extends UnitTestCase +final class DebugUtilityTest extends UnitTestCase { protected function tearDown(): void { diff --git a/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php index 48e0c2d86bea4dcda641d18391dff8a2f550f025..1847264e56c87ac6a0100d5ca1e4c5a3cf7f67a0 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionManagementUtilityTest extends UnitTestCase +final class ExtensionManagementUtilityTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected ?PackageManager $backUpPackageManager; diff --git a/typo3/sysext/core/Tests/Unit/Utility/HttpUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/HttpUtilityTest.php index 00852c6c12fe233efae4737a28c50dde57041841..7dffb1c9251671b37873a540a452afb3d3b42d27 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/HttpUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/HttpUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\HttpUtility */ -class HttpUtilityTest extends UnitTestCase +final class HttpUtilityTest extends UnitTestCase { /** * @dataProvider isUrlBuiltCorrectlyDataProvider diff --git a/typo3/sysext/core/Tests/Unit/Utility/IpAnonymizationUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/IpAnonymizationUtilityTest.php index 2bdfd75c41635dcdb5cfa572d73a6efdac4b3cbd..594efb2583be91ccdf02a382be9e8906e2ec36fd 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/IpAnonymizationUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/IpAnonymizationUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\IpAnonymizationUtility */ -class IpAnonymizationUtilityTest extends UnitTestCase +final class IpAnonymizationUtilityTest extends UnitTestCase { /** * Data provider for anonymizeIpReturnsCorrectValue diff --git a/typo3/sysext/core/Tests/Unit/Utility/MailUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/MailUtilityTest.php index 5228e4087b446b65bf9b36520b26816d93532d52..d2af33d33034cd43a5b3d380a1884e9a4325a7b5 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/MailUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/MailUtilityTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Utility; use TYPO3\CMS\Core\Utility\MailUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MailUtilityTest extends UnitTestCase +final class MailUtilityTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/Unit/Utility/PathUtilityPublicPathsTest.php b/typo3/sysext/core/Tests/Unit/Utility/PathUtilityPublicPathsTest.php index e4424fe8b4634abcde0bbfea5105e54c002d8843..12ac4bbb23a3f3b94a299c5cdb2d062860a3fc22 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/PathUtilityPublicPathsTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/PathUtilityPublicPathsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Exception\InvalidFileException; use TYPO3\CMS\Core\Utility\PathUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PathUtilityPublicPathsTest extends UnitTestCase +final class PathUtilityPublicPathsTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/core/Tests/Unit/Utility/PathUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/PathUtilityTest.php index c151d5f5375c0add86f41002bd30cb12d0ddb2e2..8eb78ff01070286ed171f05207b66b67ff709cdb 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/PathUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/PathUtilityTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * @todo Defining the method parameter types further leads to test bench errors */ -class PathUtilityTest extends UnitTestCase +final class PathUtilityTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/core/Tests/Unit/Utility/PermutationUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/PermutationUtilityTest.php index a7bd9d4f896f6b8e6671fbefff751c4d026f2614..830f53344148e996c70be07397e59dbf6c91620e 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/PermutationUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/PermutationUtilityTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Unit\Utility\Fixtures\StringValue; use TYPO3\CMS\Core\Utility\PermutationUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PermutationUtilityTest extends UnitTestCase +final class PermutationUtilityTest extends UnitTestCase { public static function meltStringItemsDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php index ad3624e76b9eaef70e7fb68ebffd16fb29f0ca2a..a83077d1df2279301a4d1f4b09b400477317026e 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Core\Utility\RootlineUtility; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RootlineUtilityTest extends UnitTestCase +final class RootlineUtilityTest extends UnitTestCase { protected RootlineUtility&MockObject&AccessibleObjectInterface $subject; diff --git a/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentCollectionTest.php b/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentCollectionTest.php index 0c052755985c995cfc2306433abf8efc7d8946a2..f9df1919513dd75fbf3c0bbbe8d7616131e4d70b 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentCollectionTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentCollectionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Utility\String\StringFragment; use TYPO3\CMS\Core\Utility\String\StringFragmentCollection; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StringFragmentCollectionTest extends UnitTestCase +final class StringFragmentCollectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentSplitterTest.php b/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentSplitterTest.php index 5a5b0cc9cbf723aec280692b3b4b3035611f05e6..c54f148de3b038f7d680bb18845f6b6112a81a28 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentSplitterTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/String/StringFragmentSplitterTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\String\StringFragmentPattern; use TYPO3\CMS\Core\Utility\String\StringFragmentSplitter; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StringFragmentSplitterTest extends UnitTestCase +final class StringFragmentSplitterTest extends UnitTestCase { public static function stringIsSplitDataProvider(): \Generator { diff --git a/typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php index 42f529b2ce781786ab7d69e9c27f8813364a8447..d3c77f1465244a358a0bf00ac54ee4d5178442e8 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\StringUtility */ -class StringUtilityTest extends UnitTestCase +final class StringUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php b/typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php index 44caee84fa328f2437caa2b9bb5be494de8a084f..0684d0c3edbad60672c86fb846e6cb069524b9ed 100644 --- a/typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php +++ b/typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\VersionNumberUtility */ -class VersionNumberUtilityTest extends UnitTestCase +final class VersionNumberUtilityTest extends UnitTestCase { public static function getNumericTypo3VersionNumberDataProvider(): array { diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicMethodDeprecationTraitTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicMethodDeprecationTraitTest.php index dc0fc5c460c346648a23a93ba330f4874c3356be..07582c6c7825f7df547f27e072ad77027027b1a4 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicMethodDeprecationTraitTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicMethodDeprecationTraitTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility; use TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility\Fixtures\PublicMethodDeprecationTraitTextFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PublicMethodDeprecationTraitTest extends UnitTestCase +final class PublicMethodDeprecationTraitTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php index 66fc5d49b22eb7a8f99509d4f6878ac03ee2238c..4c1f2de6538a1fd1fc061dcab01d1a6c0c3d76c0 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Compatibility/PublicPropertyDeprecationTraitTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Compatibility; use TYPO3\CMS\Core\Compatibility\PublicPropertyDeprecationTrait; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PublicPropertyDeprecationTraitTest extends UnitTestCase +final class PublicPropertyDeprecationTraitTest extends UnitTestCase { /** * @var object Test fixture (anonymous class) diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/FlexForm/FlexFormToolsTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/FlexForm/FlexFormToolsTest.php index 911d724f0d7b4f2ff4b1a535d9a6b23dedf2ed8e..9ff6b6615223d14cfde507bcde54a5ca4e170c14 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/FlexForm/FlexFormToolsTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/FlexForm/FlexFormToolsTest.php @@ -8,7 +8,7 @@ use Psr\EventDispatcher\EventDispatcherInterface; use TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlexFormToolsTest extends UnitTestCase +final class FlexFormToolsTest extends UnitTestCase { public static function tceFormsRemovedInMigrationDataProvider(): iterable { diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Loader/PageTsConfigLoaderTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Loader/PageTsConfigLoaderTest.php index 39fc0f64fb92f4e1317515bd2f6083e28b18564a..74fad1e1a25aa008bebbe3d0dba54dde57436cbb 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Loader/PageTsConfigLoaderTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Loader/PageTsConfigLoaderTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Configuration\Loader\PageTsConfigLoader; use TYPO3\CMS\Core\EventDispatcher\NoopEventDispatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageTsConfigLoaderTest extends UnitTestCase +final class PageTsConfigLoaderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Parser/PageTsConfigParserTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Parser/PageTsConfigParserTest.php index 0328443c858c0254adacfb7502b3a700330cd8a5..2efedd678bcca38e66d879bf3074f1d9fa8e8d66 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Parser/PageTsConfigParserTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/Parser/PageTsConfigParserTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Core\Site\Entity\SiteSettings; use TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageTsConfigParserTest extends UnitTestCase +final class PageTsConfigParserTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php index 435de129dbb75fb87f8b77eb0d900f66363989f0..ef769856a7aef0a781a9fed0097798bbfc282234 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php @@ -40,7 +40,7 @@ use TYPO3\CMS\Core\Package\PackageManager; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractConditionMatcherTest extends UnitTestCase +final class AbstractConditionMatcherTest extends UnitTestCase { protected bool $backupEnvironment = true; protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php index 2c465753a315958c3a1b5cf369c21e6d4147f426..97b896cb308ad49ded013f70b34b7b771ba24307 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\BackendWorkspaceRestriction; use TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase; -class BackendWorkspaceRestrictionTest extends AbstractRestrictionTestCase +final class BackendWorkspaceRestrictionTest extends AbstractRestrictionTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php index 1cbc08ccf906237c28aa2ba2ca8d4934fd870f98..321bbccce572a96709bc15ccf7d92fbc33d449f5 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Database\Query\Restriction; use TYPO3\CMS\Core\Database\Query\Restriction\FrontendWorkspaceRestriction; use TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase; -class FrontendWorkspaceRestrictionTest extends AbstractRestrictionTestCase +final class FrontendWorkspaceRestrictionTest extends AbstractRestrictionTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Domain/Repository/PageRepositoryTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Domain/Repository/PageRepositoryTest.php index 488f90f4c956488c1472d2f6c060b53a28407589..11a3fc81c366dc0752835661c72def4e88217acc 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Domain/Repository/PageRepositoryTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Domain/Repository/PageRepositoryTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageRepositoryTest extends UnitTestCase +final class PageRepositoryTest extends UnitTestCase { protected PageRepository&MockObject&AccessibleObjectInterface $pageSelectObject; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/FormProtection/FormProtectionFactoryTest.php b/typo3/sysext/core/Tests/UnitDeprecated/FormProtection/FormProtectionFactoryTest.php index 16a16889755fb6846e337c9ebcaf097d956b26ad..c87306a86a5caf202f09d5cb5f7cd699829639d2 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/FormProtection/FormProtectionFactoryTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/FormProtection/FormProtectionFactoryTest.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Core\Registry; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormProtectionFactoryTest extends UnitTestCase +final class FormProtectionFactoryTest extends UnitTestCase { protected FormProtectionFactory $subject; protected FrontendInterface $runtimeCacheMock; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Resource/Utility/FileExtensionFilterTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Resource/Utility/FileExtensionFilterTest.php index d5cc7193a390f5961cc0b9f5e00e9df7b9485238..0d34511a54e00ef8eba8e99bd77d416f833b2027 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Resource/Utility/FileExtensionFilterTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Resource/Utility/FileExtensionFilterTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Test suite for filtering files by their extensions. */ -class FileExtensionFilterTest extends UnitTestCase +final class FileExtensionFilterTest extends UnitTestCase { /** * Cleans up this test suite. diff --git a/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php b/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php index 95c75f74184207a982a7248e2baa26a4eb5e4e13..0911003ba1c36ad22ad1c23ca2b9a10da0d3862a 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/Parser/TypoScriptParserTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypoScriptParserTest extends UnitTestCase +final class TypoScriptParserTest extends UnitTestCase { protected TypoScriptParser&MockObject&AccessibleObjectInterface $typoScriptParser; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/TemplateServiceTest.php b/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/TemplateServiceTest.php index fa2e771fd5c9c565d0fe5d1a68992c251f246dcc..39d97a4cee01f356ed48f1a2371db714684746c1 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/TemplateServiceTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/TypoScript/TemplateServiceTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TemplateServiceTest extends UnitTestCase +final class TemplateServiceTest extends UnitTestCase { protected ?TemplateService $templateService; protected MockObject&AccessibleObjectInterface&TemplateService $templateServiceMock; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php index 465b526e5fb13a056606b763a853eb3ed786790e..d16fe4292f6f1550cb356cfa8b0b21306e5a9a20 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Utility/GeneralUtilityTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\UnitDeprecated\Utility; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GeneralUtilityTest extends UnitTestCase +final class GeneralUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Utility/PathUtilityPublicPathsTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Utility/PathUtilityPublicPathsTest.php index a16f06080d7e7301fd58dae59da486056bd5a741..815337918cbdc3d00cace8e4818357c511ff87b9 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Utility/PathUtilityPublicPathsTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Utility/PathUtilityPublicPathsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\Exception\InvalidFileException; use TYPO3\CMS\Core\Utility\PathUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PathUtilityPublicPathsTest extends UnitTestCase +final class PathUtilityPublicPathsTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php b/typo3/sysext/core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php index f834048a205a047cba7079489bd7876f4f9ddec4..3ec11a76e72ef58efe501b36abe2e91888b0cd64 100644 --- a/typo3/sysext/core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php +++ b/typo3/sysext/core/Tests/UnitDeprecated/Utility/ResourceUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for class \TYPO3\CMS\Core\Utility\ResourceUtility */ -class ResourceUtilityTest extends UnitTestCase +final class ResourceUtilityTest extends UnitTestCase { public static function recursiveFileListSortingHelperTestDataProvider(): array { diff --git a/typo3/sysext/dashboard/Tests/Functional/WidgetRegistryTest.php b/typo3/sysext/dashboard/Tests/Functional/WidgetRegistryTest.php index fd0ec4bf24751abd92fb83cefafad33e4f883d9c..788d8d921b511d8f20d5e39dfdc90ed10d2f102f 100644 --- a/typo3/sysext/dashboard/Tests/Functional/WidgetRegistryTest.php +++ b/typo3/sysext/dashboard/Tests/Functional/WidgetRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Dashboard\WidgetRegistry; use TYPO3\CMS\Dashboard\Widgets\WidgetConfiguration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WidgetRegistryTest extends FunctionalTestCase +final class WidgetRegistryTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['dashboard']; protected WidgetRegistry $subject; diff --git a/typo3/sysext/dashboard/Tests/Unit/DashboardPresetRegistryTest.php b/typo3/sysext/dashboard/Tests/Unit/DashboardPresetRegistryTest.php index cca5badb12d35b5b4902f17b96aa6426d8a8b91d..919869e94069cf8a3aa1a6cdfc18663b93a9c867 100644 --- a/typo3/sysext/dashboard/Tests/Unit/DashboardPresetRegistryTest.php +++ b/typo3/sysext/dashboard/Tests/Unit/DashboardPresetRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Dashboard\DashboardPreset; use TYPO3\CMS\Dashboard\DashboardPresetRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DashboardPresetRegistryTest extends UnitTestCase +final class DashboardPresetRegistryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected DashboardPresetRegistry $subject; diff --git a/typo3/sysext/dashboard/Tests/Unit/DependencyInjection/DashboardWidgetPassTest.php b/typo3/sysext/dashboard/Tests/Unit/DependencyInjection/DashboardWidgetPassTest.php index 27a01cab9079947e843b100e537bda24d3e4c6eb..989d57eaf53454063448a277289590a21a0c2b23 100644 --- a/typo3/sysext/dashboard/Tests/Unit/DependencyInjection/DashboardWidgetPassTest.php +++ b/typo3/sysext/dashboard/Tests/Unit/DependencyInjection/DashboardWidgetPassTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Dashboard\WidgetRegistry; use TYPO3\CMS\Dashboard\Widgets\WidgetConfiguration; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DashboardWidgetPassTest extends UnitTestCase +final class DashboardWidgetPassTest extends UnitTestCase { protected DashboardWidgetPass $subject; protected ContainerBuilder&MockObject $container; diff --git a/typo3/sysext/dashboard/Tests/Unit/WidgetGroupRegistryTest.php b/typo3/sysext/dashboard/Tests/Unit/WidgetGroupRegistryTest.php index 7147863ee0d01f7cc1a339363f0cb19e08a4c726..f599dea70a14b1fea62f9adc718a5432fe51e7e9 100644 --- a/typo3/sysext/dashboard/Tests/Unit/WidgetGroupRegistryTest.php +++ b/typo3/sysext/dashboard/Tests/Unit/WidgetGroupRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Dashboard\WidgetGroup; use TYPO3\CMS\Dashboard\WidgetGroupRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class WidgetGroupRegistryTest extends UnitTestCase +final class WidgetGroupRegistryTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected WidgetGroupRegistry $subject; diff --git a/typo3/sysext/extbase/Tests/Functional/Configuration/BackendConfigurationManagerTest.php b/typo3/sysext/extbase/Tests/Functional/Configuration/BackendConfigurationManagerTest.php index f4653f6f870a2d58a202f1d8ab51883b202290d3..74597fc110decbe76d504af3212c665056f25397 100644 --- a/typo3/sysext/extbase/Tests/Functional/Configuration/BackendConfigurationManagerTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Configuration/BackendConfigurationManagerTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendConfigurationManagerTest extends FunctionalTestCase +final class BackendConfigurationManagerTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Configuration/FrontendConfigurationManagerTest.php b/typo3/sysext/extbase/Tests/Functional/Configuration/FrontendConfigurationManagerTest.php index 4fb89cb6bcdeb076cfea47c14cc785a09f638ecb..f619549e33fab16397217f75b63b25cfa20bd8a9 100644 --- a/typo3/sysext/extbase/Tests/Functional/Configuration/FrontendConfigurationManagerTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Configuration/FrontendConfigurationManagerTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Extbase\Event\Configuration\BeforeFlexFormConfigurationOverrideEve use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendConfigurationManagerTest extends FunctionalTestCase +final class FrontendConfigurationManagerTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php index 1c6f4dc13acec333121865d894b2983bd1fa1dfb..4146bc319ed62f5f48093bb276bf350e89b3ea09 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Extbase\Mvc\Request; use TYPO3\CMS\Extbase\Mvc\RequestInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ActionControllerArgumentTest extends FunctionalTestCase +final class ActionControllerArgumentTest extends FunctionalTestCase { private string $pluginName = 'Pi1'; private string $extensionName = 'ActionControllerArgumentTest'; diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php index 48367d3a77ac5208da43b9252b6e09054346b103..48487911ab9e32b671661898cf50666afb6a1011 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Extbase\Mvc\ExtbaseRequestParameters; use TYPO3\CMS\Extbase\Mvc\Request; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ControllerArgumentsMappingTest extends FunctionalTestCase +final class ControllerArgumentsMappingTest extends FunctionalTestCase { /** * @var \TYPO3\CMS\Extbase\Mvc\Request diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php index 29b177eb6d45dc7132a09f0f905f4a96ad8164b2..4adaa623628d6d9fc93cb6404b4c917ab0c5914e 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php @@ -35,7 +35,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Tests for the validation logic of the Extbase ActionController. */ -class ActionControllerValidationTest extends FunctionalTestCase +final class ActionControllerValidationTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Web/RequestBuilderTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Web/RequestBuilderTest.php index 8a329660fb1a49243ed56f5946c3ece7a48816ba..b2122939068c5bd0d94227bab2fecb05acaa9ae5 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Web/RequestBuilderTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Web/RequestBuilderTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder; use TYPO3\TestingFramework\Core\Functional\Framework\FrameworkState; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RequestBuilderTest extends FunctionalTestCase +final class RequestBuilderTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php b/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php index ab63b1b1f61f3e4a2771d0f196d8c66e9522847c..246f115602b016f3833a7796acfb5b38758f8a2f 100644 --- a/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Extbase\Pagination\QueryResultPaginator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class QueryResultPaginatorTest extends FunctionalTestCase +final class QueryResultPaginatorTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php index 2658f9c70259aa04705e62dfdbe04963f563d078..89faff0ccffb18c8eba11f0fce6216fafc164f0f 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject; use TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AddTest extends FunctionalTestCase +final class AddTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php index 22bbed310f619621f6479239650aff60e375aa3e..b1036c19946f511f671cbd0debe71c2969b8ce3b 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CountTest extends FunctionalTestCase +final class CountTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php index c8415b6c1554f7b411c133886ce3ac99eed2ce8a..ed99112568a3ce3c7b186bf6dee9eed3827eca90 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; -class EnableFieldsTest extends AbstractDataHandlerActionTestCase +final class EnableFieldsTest extends AbstractDataHandlerActionTestCase { public const TABLE_Blog = 'tx_blogexample_domain_model_blog'; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/ColumnMapFactoryTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/ColumnMapFactoryTest.php index a084d69e75129dce5a2d44bbd76f4a931f3826c3..cae390a9b4753053a8c07398b8f4b61b996b9ad1 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/ColumnMapFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/ColumnMapFactoryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap\Relation; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMapFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ColumnMapFactoryTest extends FunctionalTestCase +final class ColumnMapFactoryTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php index 42d35af82300ca493397ad2d3b7fcaaf7fe62145..09c47754052620bf100800549676776403d087ac 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap; use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DataMapFactoryTest extends FunctionalTestCase +final class DataMapFactoryTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php index 50c70d608dea745f830960751f475a5425ea0705..bee08afa306844c993853ccbb25f928c766de4bd 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php @@ -36,7 +36,7 @@ use TYPO3Tests\TestDataMapper\Domain\Model\CustomDateTime; use TYPO3Tests\TestDataMapper\Domain\Model\Example; use TYPO3Tests\TestDataMapper\Domain\Model\TraversableDomainObjectExample; -class DataMapperTest extends FunctionalTestCase +final class DataMapperTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbBackendTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbBackendTest.php index c75cceee9178b2c475f5833cb3fef38885559b30..83fe5b1a6a8e27c5e1173596d2a1b0de8d6cb08c 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbBackendTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbBackendTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class Typo3DbBackendTest extends FunctionalTestCase +final class Typo3DbBackendTest extends FunctionalTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbQueryParserTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbQueryParserTest.php index 0f88cb56b91cd7de79f2529721ccfb3d33a58423..869fe855bfaceb04b4bbf29292dd46e792f73945 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbQueryParserTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Storage/Typo3DbQueryParserTest.php @@ -37,7 +37,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class Typo3DbQueryParserTest extends FunctionalTestCase +final class Typo3DbQueryParserTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php index 2e207e445447ee085cd2ed8baee40da389f6956c..c085ed7f190e743e5c6691bb9ccfb7bc32c770f1 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage; use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class InTest extends FunctionalTestCase +final class InTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php index cf2bb60822452cb7935c86bf14d3593bad98de3c..a55ff4a2abf329732398514d6e48c9ac4820cb09 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IsDirtyTest extends FunctionalTestCase +final class IsDirtyTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/LazyLoadingProxyTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/LazyLoadingProxyTest.php index 13ff42fcdad8c44b94e4c710f9b6d215ffba75c5..9f19babcb05c58be620da3f232dc06fba20e9851 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/LazyLoadingProxyTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/LazyLoadingProxyTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Extbase\Persistence\Generic\LazyLoadingProxy; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LazyLoadingProxyTest extends FunctionalTestCase +final class LazyLoadingProxyTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['extbase']; protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/LazyObjectStorageTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/LazyObjectStorageTest.php index 06af207b3b98759ef23d3e0f0813ca0dd36b7dcb..392bcace23601b2d7370690bf372076852dc407a 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/LazyObjectStorageTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/LazyObjectStorageTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorage; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LazyObjectStorageTest extends FunctionalTestCase +final class LazyObjectStorageTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['extbase']; protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php index f1f74921e85dc9793e3cd0245e1edb696b05ca20..857f32704bd2a3474d1279e1f1b882b00be47b75 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class OperatorTest extends FunctionalTestCase +final class OperatorTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php index 1bd2042e65be920f1ba53580c95da4e3bb487a5b..e579226d8e9fef0b336bb4336ff96b5dd5bfc007 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Extbase\Reflection\Exception\PropertyNotAccessibleException; use TYPO3\CMS\Extbase\Reflection\ObjectAccess; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class QueryLocalizedDataTest extends FunctionalTestCase +final class QueryLocalizedDataTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php index 0abb59a3aec597ec50ba14d7ef8193fc65628ea8..1f8bfaeed6a6c31aa6195bd05bb09309537b3e88 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder; use TYPO3\CMS\Core\Http\ServerRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class QueryParserTest extends FunctionalTestCase +final class QueryParserTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php index 8b4f430ee55268ddd56f4069c4a63c70142c5594..ef017e71076c1538c7640117e1caef5b599d5532 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php @@ -37,7 +37,7 @@ use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RelationTest extends FunctionalTestCase +final class RelationTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/RepositoryTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/RepositoryTest.php index fd134209b46ae14dfc4556dbf9532609c957927f..bc98769943237066d748b1c3c1bdd38233f06c9a 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/RepositoryTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/RepositoryTest.php @@ -22,7 +22,7 @@ use ExtbaseTeam\BlogExample\Domain\Repository\PostRepository; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RepositoryTest extends FunctionalTestCase +final class RepositoryTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php index 6e35d480ddfd82c6a2868fdb466e7fafd58d17a3..416c8a80a7f8332ced9f93a37a9f2c21e537f4dc 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php @@ -29,7 +29,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; * This test has the same scenarios as in the TypoScript version: * @see \TYPO3\CMS\Frontend\Tests\Functional\Rendering\LocalizedSiteContentRenderingTest */ -class TranslatedSiteContentTest extends AbstractDataHandlerActionTestCase +final class TranslatedSiteContentTest extends AbstractDataHandlerActionTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php index 4938dd58770e1dde304247ec5268d32ef2d593ce..2df3f2e218ead199d7b2347f35757f9a3cdabe3e 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TranslationTest extends FunctionalTestCase +final class TranslationTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php index feb55ca14ab6221157afa90268966ec818fd852e..a40198f28be3d2e3a326a1dd1afbee4cadeda7c4 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WorkspaceTest extends FunctionalTestCase +final class WorkspaceTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', diff --git a/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php b/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php index 1735233de7ab1b6a6618743b09eebd12b65911fa..5a8caa2e9907fcc708c808b157dd7b0f37ae11d2 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface; use TYPO3\CMS\Extbase\Property\TypeConverter\IntegerConverter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PropertyMapperTest extends FunctionalTestCase +final class PropertyMapperTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['extbase']; protected array $testExtensionsToLoad = [ diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php index eff2955cba514862c4ac6bef4e9eb60a18251e2b..2881d912f1059fc979778324d1367e9837f42cf0 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ArrayConverterTest extends FunctionalTestCase +final class ArrayConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php index bda176094e618c1ddc8276cbee0c5c64961bf168..59c279d2ba8799b0b7c901b4b66fd5da4e4163fd 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BooleanConverterTest extends FunctionalTestCase +final class BooleanConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php index 9225decd0d7bc327edf3f60521b6f0a8f00f94f3..c96ed78261089a1372aa2d1e2adc4138619ee02f 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration; use TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DateTimeConverterTest extends FunctionalTestCase +final class DateTimeConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/EnumConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/EnumConverterTest.php index 8824d69a98a285e31876f99342aad855027f272d..bd3a27a3402354ca314bf4af487976c391833203 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/EnumConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/EnumConverterTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Tests\Fixture\StringBackedEnum; use TYPO3\CMS\Extbase\Tests\Fixture\UnbackedEnum; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EnumConverterTest extends FunctionalTestCase +final class EnumConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FileConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FileConverterTest.php index 7de3b4b5e3584380ac7b2b1ec1020e55f8810239..9a7a75ed2f7a68f6d90c79633a5b00ba8b15f1ca 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FileConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FileConverterTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Domain\Model\File; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileConverterTest extends FunctionalTestCase +final class FileConverterTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php index 4c4c3cbf7163befb4bef4b1875ac6076de9296d8..e8688d38dd86de41c4b15d6e54d85ded79808017 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FloatConverterTest extends FunctionalTestCase +final class FloatConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php index 5518dd9613ba437a11bbfb6264dbc05c7bdb8d7d..2e2575d0db48291236e6835adb25050c9b4afe67 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IntegerConverterTest extends FunctionalTestCase +final class IntegerConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php index 882721c53b9a5f8b3ba4c20d8560840680875cd9..c964aa6e6f2ae216603347fb36a980a08a699e2e 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration; use TYPO3\CMS\Extbase\Property\TypeConverter\ObjectConverter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ObjectConverterTest extends FunctionalTestCase +final class ObjectConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php index 2993972b6d797503a9b774533df4ba85b938d4c8..0ea8edc2ccd0a9fc5387522963233e4dd169bec2 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ObjectStorageConverterTest extends FunctionalTestCase +final class ObjectStorageConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php index c637521a4753c374a5d4966d7666c39ba6ca5101..80b5070feb4d45d428f879148f8bd378028bb3fd 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration; use TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PersistentObjectConverterTest extends FunctionalTestCase +final class PersistentObjectConverterTest extends FunctionalTestCase { // @todo: Switch to a simple test extension that contains a test model, instead. protected array $coreExtensionsToLoad = ['beuser']; diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php index 5f6d9ff34af9b09f0eb8ac636d095a77478816d5..ae85a536cf9b14464275a97e0798a5069d042174 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Functional\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\PropertyMapper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class StringConverterTest extends FunctionalTestCase +final class StringConverterTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php b/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php index 5cdfb536b9200c58f60a69cc8f95c560cb2ec510..41c6d7c18f93dd66608b848e4bc4d2e5853fb1f6 100644 --- a/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Extbase\Exception; use TYPO3\CMS\Extbase\Service\ExtensionService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ExtensionServiceTest extends FunctionalTestCase +final class ExtensionServiceTest extends FunctionalTestCase { protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; diff --git a/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php b/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php index 4db1031a18b5dde511ec986908963c31f5dbb2b6..bb880ce5c9a2123d2086fb51f582846d2d382555 100644 --- a/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Utility/LocalizationUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Utility\LocalizationUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LocalizationUtilityTest extends FunctionalTestCase +final class LocalizationUtilityTest extends FunctionalTestCase { protected ConfigurationManagerInterface&MockObject $configurationManagerInterfaceMock; diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/AlphanumericValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/AlphanumericValidatorTest.php index 8f44a14f85d840d1b6deb302808b0d5066f7857d..e2b7329cdf328571c002553f3f12d9191f9ba5ff 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/AlphanumericValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/AlphanumericValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\AlphanumericValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AlphanumericValidatorTest extends FunctionalTestCase +final class AlphanumericValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/BooleanValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/BooleanValidatorTest.php index 469822a6b9865d999b16ad731984157e29a66fd3..c259ef2646029c40c0aa5b0d2c11e35a34d9d642 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/BooleanValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/BooleanValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\BooleanValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BooleanValidatorTest extends FunctionalTestCase +final class BooleanValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/CollectionValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/CollectionValidatorTest.php index 6215c976df07d08b0a1526236bd3f84e6fb14119..dc895320b22018c779f3024d5feac5e0c83e2817 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/CollectionValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/CollectionValidatorTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Extbase\Validation\Validator\IntegerValidator; use TYPO3\CMS\Extbase\Validation\ValidatorResolver; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CollectionValidatorTest extends FunctionalTestCase +final class CollectionValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/ConjunctionValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/ConjunctionValidatorTest.php index 8678294ad3f00ce84ec49972417fa2790aaea89e..0af997ea8d3f425cb5950c10139ce1eacac93e65 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/ConjunctionValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/ConjunctionValidatorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extbase\Validation\Validator\ConjunctionValidator; use TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ConjunctionValidatorTest extends FunctionalTestCase +final class ConjunctionValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/DateTimeValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/DateTimeValidatorTest.php index e8c73be3742169b0f620f9bcc66b7e0f41633fb8..b3ca46c029db5d6839ec68a0c7d9fec046605f8b 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/DateTimeValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/DateTimeValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\DateTimeValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DateTimeValidatorTest extends FunctionalTestCase +final class DateTimeValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/EmailAddressValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/EmailAddressValidatorTest.php index 1402384ef9376001cf9053c5cec13997c52fc373..8ffc4b0f5334fb6f03d5aa760d4bd800d510f692 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/EmailAddressValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/EmailAddressValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\EmailAddressValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EmailAddressValidatorTest extends FunctionalTestCase +final class EmailAddressValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/FloatValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/FloatValidatorTest.php index 52b1ccbec7666c61069ac86863c55013e9ca4d0b..d76886ddd3a512b61fdaa02ce146f616c903369f 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/FloatValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/FloatValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\FloatValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FloatValidatorTest extends FunctionalTestCase +final class FloatValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/IntegerValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/IntegerValidatorTest.php index 86e2292cb19a862154b005734b649ef18bd3c93f..7accc4dbba60a378931918221959786a4f9b60c7 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/IntegerValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/IntegerValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\IntegerValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IntegerValidatorTest extends FunctionalTestCase +final class IntegerValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NotEmptyValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NotEmptyValidatorTest.php index c94c18ce11fc639246eac7fe01e5d5b2d0a28f7f..3d3623be85aa69506aa504ecee1e90a4ca3acba7 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NotEmptyValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NotEmptyValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NotEmptyValidatorTest extends FunctionalTestCase +final class NotEmptyValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberRangeValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberRangeValidatorTest.php index f6193d546022aca2c3e989ab1761520090f7221b..1fa7570a730d954b255dbf51382b258bf4ac94ee 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberRangeValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberRangeValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\NumberRangeValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NumberRangeValidatorTest extends FunctionalTestCase +final class NumberRangeValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberValidatorTest.php index 72e465d33647085f183a24ddbed94ea88f5b8b99..757b72058efe3ccec5705f2c05f21facc499a58e 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/NumberValidatorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extbase\Validation\Error; use TYPO3\CMS\Extbase\Validation\Validator\NumberValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NumberValidatorTest extends FunctionalTestCase +final class NumberValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php index cdfbce9998f28f7a642565d08af609dd884d3d72..e7bd02a209336c44fd15f8c64769db9ac3fd890f 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/RegularExpressionValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Validation\Error; use TYPO3\CMS\Extbase\Validation\Validator\RegularExpressionValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RegularExpressionValidatorTest extends FunctionalTestCase +final class RegularExpressionValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringLengthValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringLengthValidatorTest.php index bbce147c342227c7ca079839b9695b021a381914..0abd3cfe74c07acb9314802825db453020ca269b 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringLengthValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringLengthValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException; use TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class StringLengthValidatorTest extends FunctionalTestCase +final class StringLengthValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringValidatorTest.php index 4a3f7b4194341e4c53f96f911601819df5a6d50b..e46e565147a3257dea99851cdce4021123994437 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/StringValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\StringValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class StringValidatorTest extends FunctionalTestCase +final class StringValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/TextValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/TextValidatorTest.php index 478baa7ebb57711b093398de4432114841ad576b..757bc9a3c5dddb2e81ae191961db58012f0c9620 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/TextValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/TextValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Validation\Error; use TYPO3\CMS\Extbase\Validation\Validator\TextValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TextValidatorTest extends FunctionalTestCase +final class TextValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/UrlValidatorTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/UrlValidatorTest.php index 7a88627e652e60c6d7e94c16583b595ae9a08cc6..50bc282adcbcac23c0e6a652eb351fa1666e1e19 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/Validator/UrlValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/Validator/UrlValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Extbase\Validation\Validator\UrlValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class UrlValidatorTest extends FunctionalTestCase +final class UrlValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Unit/Domain/Model/CategoryTest.php b/typo3/sysext/extbase/Tests/Unit/Domain/Model/CategoryTest.php index 74852e49eb748b42c7cde3bf7e55f494c9c5c804..2fbc31ae60e72c43c5a23a5c92b7b94ffd4439cb 100644 --- a/typo3/sysext/extbase/Tests/Unit/Domain/Model/CategoryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Domain/Model/CategoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Domain\Model; use TYPO3\CMS\Extbase\Domain\Model\Category; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CategoryTest extends UnitTestCase +final class CategoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/DomainObject/AbstractEntityTest.php b/typo3/sysext/extbase/Tests/Unit/DomainObject/AbstractEntityTest.php index bade31c4b4051152a17c9d1b4e8b032d5fda8fd1..5054a4a0c14bc5922abdd7c18d5944c5bac4c81d 100644 --- a/typo3/sysext/extbase/Tests/Unit/DomainObject/AbstractEntityTest.php +++ b/typo3/sysext/extbase/Tests/Unit/DomainObject/AbstractEntityTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\DomainObject; use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractEntityTest extends UnitTestCase +final class AbstractEntityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Error/ErrorTest.php b/typo3/sysext/extbase/Tests/Unit/Error/ErrorTest.php index 75e1ccc01ea27d911b06971028033a407eba5011..27b50442a4a73f6f0764c14d218dec30f5af87f2 100644 --- a/typo3/sysext/extbase/Tests/Unit/Error/ErrorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Error/ErrorTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Error; use TYPO3\CMS\Extbase\Error\Error; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ErrorTest extends UnitTestCase +final class ErrorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Error/MessageTest.php b/typo3/sysext/extbase/Tests/Unit/Error/MessageTest.php index 9196a268cfe3f231908b6a62fa36bc48ce74810e..839ff8eebf7c3ee71aa56f49ea27898aa8a261e0 100644 --- a/typo3/sysext/extbase/Tests/Unit/Error/MessageTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Error/MessageTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Error; use TYPO3\CMS\Extbase\Error\Message; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MessageTest extends UnitTestCase +final class MessageTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php b/typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php index 215cb2a295ffccdabf78790ca0d4eb89f07e64c3..4c48a699dbd7eb1166d86c1c52c7cf11daaa3e7e 100644 --- a/typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\MockObject\MockObject; use TYPO3\CMS\Extbase\Error\Result; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ResultTest extends UnitTestCase +final class ResultTest extends UnitTestCase { protected Result $result; diff --git a/typo3/sysext/extbase/Tests/Unit/Event/Configuration/BeforeFlexFormConfigurationOverrideEventTest.php b/typo3/sysext/extbase/Tests/Unit/Event/Configuration/BeforeFlexFormConfigurationOverrideEventTest.php index 3ae6116e36f1f3673cb626fb253990dca25591bb..be3c604e5b89bee9ba3d70b166a0f4bedbfe3720 100644 --- a/typo3/sysext/extbase/Tests/Unit/Event/Configuration/BeforeFlexFormConfigurationOverrideEventTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Event/Configuration/BeforeFlexFormConfigurationOverrideEventTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Event\Configuration; use TYPO3\CMS\Extbase\Event\Configuration\BeforeFlexFormConfigurationOverrideEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BeforeFlexFormConfigurationOverrideEventTest extends UnitTestCase +final class BeforeFlexFormConfigurationOverrideEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php index 3c6c942a09b8b63dd51c3e515b98ca0608c629d9..5ceaf22f4c6101870c78b9a0ecfdd05b20e058ed 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter; use TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArgumentTest extends UnitTestCase +final class ArgumentTest extends UnitTestCase { protected Argument $simpleValueArgument; protected Argument $objectArgument; diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php index fa42f01174ae82ad919013c379c7ed482914e3e9..96b2e70ba3713b786535230f9aceefcf6173ff4d 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Mvc\Controller\Arguments; use TYPO3\CMS\Extbase\Mvc\Exception\NoSuchArgumentException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArgumentsTest extends UnitTestCase +final class ArgumentsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php index ae9ff68ea0ec2672b77f643a18c86c5df98f8502..77d0beef33c99462cf2ab3584155670053e09944 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Extbase\Security\Cryptography\HashService; use TYPO3\CMS\Extbase\Security\Exception\InvalidArgumentForHashGenerationException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MvcPropertyMappingConfigurationServiceTest extends UnitTestCase +final class MvcPropertyMappingConfigurationServiceTest extends UnitTestCase { /** * Data provider for generating the list of trusted properties diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php index d43e43cafd76e24ed056617582cfb7d338265996..89e3b406d7b2dfaa0d48c72c79e609636779d6e0 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/RequestTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Mvc\ExtbaseRequestParameters; use TYPO3\CMS\Extbase\Mvc\Request; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RequestTest extends UnitTestCase +final class RequestTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php index a641e496b7802d1e482d183a6155f9b1d6df3a21..77b8692b7123c3c9cc21cb2b604e70887c2bd624 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php @@ -28,7 +28,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Testcase for the JSON view */ -class JsonViewTest extends UnitTestCase +final class JsonViewTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderDefaultValuesTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderDefaultValuesTest.php index f16db6897964442cf44e798a11800174c84aa1bc..e779b0d74c044fb7deda36fdec676feddbee1dab 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderDefaultValuesTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderDefaultValuesTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Mvc\Controller\ActionController; use TYPO3\CMS\Extbase\Mvc\Web\RequestBuilderDefaultValues; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RequestBuilderDefaultValuesTest extends UnitTestCase +final class RequestBuilderDefaultValuesTest extends UnitTestCase { private const MINIMAL_WORKING_CONFIGURATION = [ 'extensionName' => 'news', diff --git a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php index a25fd362200429e4d6824264ff7e882e60873f5a..a0a70f86f38ef38eecd6d477dc8552a0ed2c4c6a 100644 --- a/typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php @@ -49,7 +49,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UriBuilderTest extends UnitTestCase +final class UriBuilderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationFactoryTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationFactoryTest.php index 8edf8fdbae77b58d3a4cfb8a90c577487644bea0..8193c13a07c3ab96297306318a1ea03ecd030cf6 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationFactoryTest.php @@ -29,7 +29,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Persistence\ClassesConfigurationTest */ -class ClassesConfigurationFactoryTest extends UnitTestCase +final class ClassesConfigurationFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationTest.php index 0c3c2a7bbd2ae47c04efa532c08606d8957cf739..a65d8ffe49bc93f7ca71d3bf8126bb07583f1715 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/ClassesConfigurationTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Persistence\ClassesConfigurationTest */ -class ClassesConfigurationTest extends UnitTestCase +final class ClassesConfigurationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/BackendTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/BackendTest.php index 85a3cf0ec4c5899fc1547f454c9e8bb3bf172da6..8149447c533570798c20e7284891a35f44cf0f82 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/BackendTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/BackendTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory; use TYPO3\CMS\Extbase\Persistence\Generic\Storage\BackendInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BackendTest extends UnitTestCase +final class BackendTest extends UnitTestCase { protected function tearDown(): void { diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php index 695effdc5f181d2c3cc8db8b36b4659dc2c3395e..ac0a4592eef091381f67b018076e5b14df84eb95 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\CMS\Extbase\Reflection\ReflectionService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DataMapperTest extends UnitTestCase +final class DataMapperTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php index c77b61dd53028e350855d41ec5a83f67ff655c02..607c914a8a9d78f73d150c6c5f7ea3a384b95c6e 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Extbase\Persistence\RepositoryInterface; use TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PersistenceManagerTest extends UnitTestCase +final class PersistenceManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php index ffcb91462c4e90e8a5bbdd8218659cd2ec070f25..13fbd4ec434f559d61b9ccb8468b91e6bd7bd195 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class QueryFactoryTest extends UnitTestCase +final class QueryFactoryTest extends UnitTestCase { protected string $className = 'Vendor\\Ext\\Domain\\Model\\ClubMate'; protected QueryFactory $queryFactory; diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php index f77261645a5c5b52c37f16f3ac9522cf94278862..c72c80ac86691304d95607355103475e25c1d8de 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface; use TYPO3\CMS\Extbase\Persistence\QueryInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class QueryResultTest extends UnitTestCase +final class QueryResultTest extends UnitTestCase { /** * @var QueryResult diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php index f44f2393c0fc71b91d5fc2f61c6ce2a6772495bc..a3d61ef55ce99f7a7a67dddcbc1522a33c0d28ed 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Extbase\Persistence\QueryResultInterface; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class QueryTest extends UnitTestCase +final class QueryTest extends UnitTestCase { protected Query&MockObject&AccessibleObjectInterface $query; protected QuerySettingsInterface $querySettings; diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/SessionTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/SessionTest.php index 0097000709ca07e8b4b517e495e2023d6024c6ca..bd192a03ea19a74b4b8e12705c1b3f7f4cab1ec0 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/SessionTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/SessionTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; use TYPO3\CMS\Extbase\Persistence\Generic\Session; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SessionTest extends UnitTestCase +final class SessionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php index b37303782e06661b6944ad1b34d5dc2526054be5..453d86326b58e7a627c07620bb8579182fd6f50e 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface; use TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Typo3QuerySettingsTest extends UnitTestCase +final class Typo3QuerySettingsTest extends UnitTestCase { protected ?Typo3QuerySettings $subject = null; diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php index 06f26d583b1bf06ab14022da39936f0cd31198a9..bc4d11e656ae4df614cafea2b627714f5f6842a3 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/ObjectStorageTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Persistence\ObjectStorage; use TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Domain\Model\Entity; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ObjectStorageTest extends UnitTestCase +final class ObjectStorageTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php b/typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php index 2efe8fa3b666f54e115d538988725dc7a28825f6..9cd391f7e896a0ee4f878c1877d4e96bb33c34b5 100644 --- a/typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Domain\Repository\EntityRep use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RepositoryTest extends UnitTestCase +final class RepositoryTest extends UnitTestCase { protected Repository&MockObject&AccessibleObjectInterface $repository; diff --git a/typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationBuilderTest.php b/typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationBuilderTest.php index 2561a6bd3f4c86fb5856989a53e16a09d50291ff..1bdd2ea02ebc6c0f4c068ef25cc616514be681e1 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationBuilderTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationBuilderTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder; use TYPO3\CMS\Extbase\Property\TypeConverter\PersistentObjectConverter; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyMappingConfigurationBuilderTest extends UnitTestCase +final class PropertyMappingConfigurationBuilderTest extends UnitTestCase { protected PropertyMappingConfigurationBuilder $propertyMappingConfigurationBuilder; diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/BooleanConverterTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/BooleanConverterTest.php index 16dbfed11044be0156674a4aec57101679e832ea..be9fb210542f480226c25adbf9476bcb0da9e4da 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/BooleanConverterTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/BooleanConverterTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter; use TYPO3\CMS\Extbase\Property\TypeConverter\BooleanConverter; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BooleanConverterTest extends UnitTestCase +final class BooleanConverterTest extends UnitTestCase { protected BooleanConverter $converter; diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php index 53cda9d61d7a39dcb303f01cef43721ec25ecdb9..99469c2ab24c09411fa7a749f317063faf6bc708 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter; use TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\Fixtures\DateTimeSubFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DateTimeConverterTest extends UnitTestCase +final class DateTimeConverterTest extends UnitTestCase { protected DateTimeConverter $converter; diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/IntegerConverterTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/IntegerConverterTest.php index e38b643ddbd078d4caaac1fcadcc77562f50b217..3465aa2c4fb0dc2fd3e79edf4273f93669d46cbe 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/IntegerConverterTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/IntegerConverterTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Property\TypeConverter\IntegerConverter; use TYPO3\CMS\Extbase\Property\TypeConverterInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IntegerConverterTest extends UnitTestCase +final class IntegerConverterTest extends UnitTestCase { /** * @var TypeConverterInterface diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/StringConverterTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/StringConverterTest.php index 7b979d431f591a2aeecdccf64cf5261eda14664e..ebdea36e5994aa469375aed095502854044f8eb8 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/StringConverterTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/StringConverterTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Property\TypeConverter\StringConverter; use TYPO3\CMS\Extbase\Property\TypeConverterInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StringConverterTest extends UnitTestCase +final class StringConverterTest extends UnitTestCase { /** * @var TypeConverterInterface diff --git a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php index bd6ce6468045688e7846cad9470e95e4a2f629e6..49baf50e02b8ae90011ba1b12c93ac8b2b7271d4 100644 --- a/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Property/TypeConverterRegistryTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Extbase\Property\TypeConverter\ObjectConverter; use TYPO3\CMS\Extbase\Property\TypeConverterRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypeConverterRegistryTest extends UnitTestCase +final class TypeConverterRegistryTest extends UnitTestCase { private ?TypeConverterRegistry $subject; diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodParameterTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodParameterTest.php index 77c5fb2a5e6f083e2e2840ba1b8810ea71f20896..42a39daf61edb29372a44bd0db0f1f47ac53bf55 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodParameterTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodParameterTest.php @@ -33,7 +33,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Reflection\MethodParameterTest */ -class MethodParameterTest extends UnitTestCase +final class MethodParameterTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodTest.php index d03323cc42b316d3c97402ff6738fd60d12ef47a..c744a68e4f89de517a7c9d98cfbf1ebdf766e319 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/MethodTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Reflection\MethodTest */ -class MethodTest extends UnitTestCase +final class MethodTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithTypeDeclarationsTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithTypeDeclarationsTest.php index 363f5230f7bb5ea2abc4f431ab0b62d4a0933c66..006ffe555b1f045d4fce73fe79ce885ac9bac1a0 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithTypeDeclarationsTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithTypeDeclarationsTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Reflection\ClassSchema; use TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithTypeDeclarations; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyWithTypeDeclarationsTest extends UnitTestCase +final class PropertyWithTypeDeclarationsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithoutTypeDeclarationsTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithoutTypeDeclarationsTest.php index ff8b7530489c9ee69b656dfb5d95ecd6ddb15a52..e9363f9b97b93e0d3bf89462d4f44546d372b364 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithoutTypeDeclarationsTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/Property/PropertyWithoutTypeDeclarationsTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Reflection\ClassSchema; use TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithoutTypeDeclarations; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyWithoutTypeDeclarationsTest extends UnitTestCase +final class PropertyWithoutTypeDeclarationsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/PropertyTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/PropertyTest.php index d2b6f1cce0e24b5ac58e22e38a2153c9930f3b2c..a8e46e92646e89c8a1b15ac41dae281abb4fd5f0 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/PropertyTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchema/PropertyTest.php @@ -30,7 +30,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Reflection\PropertyTest */ -class PropertyTest extends UnitTestCase +final class PropertyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php index e6d4054e80e365927d17077d080cfbce39a7e743..de566a6b1984399c31c0ef2e6f4c25dc63f6f5ea 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ClassSchemaTest.php @@ -36,7 +36,7 @@ use TYPO3\CMS\Extbase\Validation\Exception\InvalidTypeHintException; use TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationConfigurationException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClassSchemaTest extends UnitTestCase +final class ClassSchemaTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php index e58ff3eea5d6a89753fffc5dce899c9bb254ae39..0af67903fee3223b3fe1a9a7e469e843e324f066 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\ArrayAccessClass; use TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyClassWithGettersAndSetters; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ObjectAccessTest extends UnitTestCase +final class ObjectAccessTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php index 8b729f55931092873472850ecee07d05dcaf6a99..f60ad8f7311bb904da2de8d57a153c0e959cca55 100644 --- a/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php @@ -29,7 +29,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * @link second test for reflection * @link second test for reflection with second value */ -class ReflectionServiceTest extends UnitTestCase +final class ReflectionServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Routing/Aspect/StaticRangeMapperTest.php b/typo3/sysext/extbase/Tests/Unit/Routing/Aspect/StaticRangeMapperTest.php index e9c2eacf41fadc11dd18f975dc4dfa64ee1ab521..48ded58d030d24e71c3877fd4c356e213ecae4ce 100644 --- a/typo3/sysext/extbase/Tests/Unit/Routing/Aspect/StaticRangeMapperTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Routing/Aspect/StaticRangeMapperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Routing\Aspect; use PHPUnit\Framework\TestCase; use TYPO3\CMS\Core\Routing\Aspect\StaticRangeMapper; -class StaticRangeMapperTest extends TestCase +final class StaticRangeMapperTest extends TestCase { public static function valueSettingsDataProvider(): array { diff --git a/typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php index 712b2b3c5ff093e9c21ba0886bf6a0ccd0d406ff..e98bae5c0312257cb605048944bb57f2bf397d78 100644 --- a/typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Security\Exception\InvalidArgumentForHashGenerationExcepti use TYPO3\CMS\Extbase\Security\Exception\InvalidHashException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class HashServiceTest extends UnitTestCase +final class HashServiceTest extends UnitTestCase { protected HashService $hashService; diff --git a/typo3/sysext/extbase/Tests/Unit/Service/CacheServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Service/CacheServiceTest.php index a1885dda6c151c54de503cedc38031f38263a1f5..5d9e8e3c9cf53cbd26b037574069447a629cd96b 100644 --- a/typo3/sysext/extbase/Tests/Unit/Service/CacheServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Service/CacheServiceTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Extbase\Service\CacheService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CacheServiceTest extends UnitTestCase +final class CacheServiceTest extends UnitTestCase { protected CacheService $cacheService; protected CacheManager&MockObject $cacheManagerMock; diff --git a/typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php index d400f17c7f388caf3ed3ec1b81353c61bd086350..a9e3ee12d5ea173acc2ef63a7296e84182fa68ca 100644 --- a/typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Extbase\Exception; use TYPO3\CMS\Extbase\Service\ExtensionService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionServiceTest extends UnitTestCase +final class ExtensionServiceTest extends UnitTestCase { protected ConfigurationManagerInterface&MockObject $mockConfigurationManager; protected ExtensionService $extensionService; diff --git a/typo3/sysext/extbase/Tests/Unit/Service/ImageScriptServiceTest.php b/typo3/sysext/extbase/Tests/Unit/Service/ImageScriptServiceTest.php index ef70decd61b97bf3c88e0c2536f7e1a0112bfc13..9ce7a49080066a49d60c723da019a45763282643 100644 --- a/typo3/sysext/extbase/Tests/Unit/Service/ImageScriptServiceTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Service/ImageScriptServiceTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Resource\ResourceFactory; use TYPO3\CMS\Extbase\Service\ImageService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImageScriptServiceTest extends UnitTestCase +final class ImageScriptServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php b/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php index 98c22326176186ddde12fccb3afd2e2325fe3b68..ed33303ae30b7117204238551a6cef7f96947171 100644 --- a/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Utility\Fixtures\DebuggerUtilityAccessibleProxy use TYPO3\CMS\Extbase\Utility\DebuggerUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DebuggerUtilityTest extends UnitTestCase +final class DebuggerUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php b/typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php index c4bc4cb3f0662bc1ebf9816c2aacc648a7ae13da..6115f3d9fb233b4b50502417b918bd7abd281c9b 100644 --- a/typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Utility\Fixtures\MyExtension\Controller\ThirdCo use TYPO3\CMS\Extbase\Utility\ExtensionUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionUtilityTest extends UnitTestCase +final class ExtensionUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractCompositeValidatorTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractCompositeValidatorTest.php index a276a8e28df1686bd8fb75a3ad559a3e15af017f..8855417815099505930ee2ca2dd602b0cbd46960 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractCompositeValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractCompositeValidatorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractCompositeV use TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractCompositeValidatorTest extends UnitTestCase +final class AbstractCompositeValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTest.php index 54f72d1bc59ba403db5260a9d5d010153ad3b316..fe168bf1f2e6df56280bd115d58864e1cfdfac8a 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Tests\Unit\Validation\Validator\Fixture\AbstractValidatorC use TYPO3\CMS\Extbase\Validation\Exception\InvalidValidationOptionsException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractValidatorTest extends UnitTestCase +final class AbstractValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/DisjunctionValidatorTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/DisjunctionValidatorTest.php index c6548d8b3dfa3220f88bd634678121f7fbbcbabe..b7ba998a3d6c5c6e6631686c4706019530e838cc 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/DisjunctionValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/DisjunctionValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Validation\Validator\DisjunctionValidator; use TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DisjunctionValidatorTest extends UnitTestCase +final class DisjunctionValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php index e1937bc16f3e1efcec6c0205efde3ac71136591e..8067d58f100ad4057ed4daed1ea23406218633a1 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator; use TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GenericObjectValidatorTest extends UnitTestCase +final class GenericObjectValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/Unit/Validation/ValidatorClassNameResolverTest.php b/typo3/sysext/extbase/Tests/Unit/Validation/ValidatorClassNameResolverTest.php index f7c0f1d8bff17d41c5848623999858764e5fe410..161d5221a0f3b6dab1d8df067f6e540651895ee8 100644 --- a/typo3/sysext/extbase/Tests/Unit/Validation/ValidatorClassNameResolverTest.php +++ b/typo3/sysext/extbase/Tests/Unit/Validation/ValidatorClassNameResolverTest.php @@ -32,7 +32,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Class TYPO3\CMS\Extbase\Tests\Unit\Validation\ValidatorClassNameResolverTest */ -class ValidatorClassNameResolverTest extends UnitTestCase +final class ValidatorClassNameResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extbase/Tests/UnitDeprecated/Persistence/RepositoryTest.php b/typo3/sysext/extbase/Tests/UnitDeprecated/Persistence/RepositoryTest.php index d9b94ad3224a5aa593e7b4de1edd8c76022d00c4..c1ae789399c376686ed3f9590ba6937598f67adf 100644 --- a/typo3/sysext/extbase/Tests/UnitDeprecated/Persistence/RepositoryTest.php +++ b/typo3/sysext/extbase/Tests/UnitDeprecated/Persistence/RepositoryTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Extbase\Persistence\Repository; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RepositoryTest extends UnitTestCase +final class RepositoryTest extends UnitTestCase { protected Repository&MockObject&AccessibleObjectInterface $repository; diff --git a/typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php b/typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php index cd1bf5c120e1e0b0db4b57a33345d0f2abb55296..db82e98556e5d3066a4813b7f128d518e2ce1c71 100644 --- a/typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php +++ b/typo3/sysext/extbase/Tests/UnitDeprecated/Reflection/ReflectionServiceTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Extbase\Tests\UnitDeprecated\Reflection; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ReflectionServiceTest extends UnitTestCase +final class ReflectionServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/ActionControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/ActionControllerTest.php index 702c5bf6e395c701580864c7b1be20bcd8703e71..c6ac1964a7c366dc0cf142213609c4a8bd00a0ad 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/ActionControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/ActionControllerTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService; use TYPO3\CMS\Extensionmanager\Utility\InstallUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ActionControllerTest extends UnitTestCase +final class ActionControllerTest extends UnitTestCase { /** * Creates a fake extension inside typo3temp/. No configuration is created, diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php index 411befe2fc18b68c24ff636538a38c4b308d5b59..4dfd3c9c88e8ca6e47b5ee130e77105786b1076d 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/DownloadControllerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException; use TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DownloadControllerTest extends UnitTestCase +final class DownloadControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php index 35792e06e9aa14dff099461d56338fe3f562dd8f..2810f5520be44772be6eb00176b444984c594440 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Controller/UploadExtensionFileControllerTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Update from TER controller test */ -class UploadExtensionFileControllerTest extends UnitTestCase +final class UploadExtensionFileControllerTest extends UnitTestCase { /** * @return array The test data for getExtensionFromZipFileExtractsExtensionKey diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DependencyTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DependencyTest.php index 22893a2d87c2a9785eed1123ea7ed86c644dfef6..80f442828c98ed38e9f118468a163226fb3d301f 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DependencyTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DependencyTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model; use TYPO3\CMS\Extensionmanager\Domain\Model\Dependency; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DependencyTest extends UnitTestCase +final class DependencyTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php index 3c6116b4a19b31cf075838cf9e7e4bbb1b93c355..eceefc725e15c209ee366c2a3c1525571a987cba 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Download queue test */ -class DownloadQueueTest extends UnitTestCase +final class DownloadQueueTest extends UnitTestCase { /** * @var \TYPO3\CMS\Extensionmanager\Domain\Model\DownloadQueue diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php index 26264550901d36fc8119e73902255123ca58c053..285c2c83f5dff2eeb7c717814cccb5e1955a7bfd 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/ExtensionTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Extension test */ -class ExtensionTest extends UnitTestCase +final class ExtensionTest extends UnitTestCase { /** * Data provider for getCategoryIndexFromStringOrNumberReturnsIndex diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php index 1c48dff50dc6a178068a6cb7e8381816492feb9d..57ce7d776d89546a796a318d77585126815bd310 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ExtensionRepositoryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extensionmanager\Domain\Model\Extension; use TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionRepositoryTest extends UnitTestCase +final class ExtensionRepositoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Parser/ExtensionXmlParserTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Parser/ExtensionXmlParserTest.php index b424534e7216807e6f6e3ba9ca572dcb29b5bd5f..9294d752ed8c3121a668437500ab7c677ad78a3c 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Parser/ExtensionXmlParserTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Parser/ExtensionXmlParserTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Parser; use TYPO3\CMS\Extensionmanager\Parser\ExtensionXmlParser; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionXmlParserTest extends UnitTestCase +final class ExtensionXmlParserTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php index d5aee27896907885de5175570a28d1541243d883..695d7d6915b778df16fcda96ab6c8279fa829e5c 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Reports\Status; use TYPO3\CMS\Reports\StatusProviderInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionStatusTest extends UnitTestCase +final class ExtensionStatusTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php index 7b5569dfdc3d6259a1445a794e24c1d066908584..ad2fc708cbeb66be0d288bb55dd73b3ae07c6529 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility; use TYPO3\CMS\Extensionmanager\Utility\InstallUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExtensionManagementServiceTest extends UnitTestCase +final class ExtensionManagementServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php index f7a26da82b9c2d1780d31a5594d5178d39257165..9abdf498363b5befa00ed3effff7a699671e500c 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility; use TYPO3\CMS\Extensionmanager\Utility\EmConfUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class EmConfUtilityTest extends UnitTestCase +final class EmConfUtilityTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php index a163616e412caec8b186f5113622aaf7b34ed62e..35706b8e7a54d2ca7d93aae05e26c7bcbb50db70 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Extensionmanager\Utility\EmConfUtility; use TYPO3\CMS\Extensionmanager\Utility\FileHandlingUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FileHandlingUtilityTest extends UnitTestCase +final class FileHandlingUtilityTest extends UnitTestCase { /** * @var array List of created fake extensions diff --git a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php index c489b685862e7e53887b23e18acb2da5e2a27a7e..8c9bd9f33edfeeab04a01c63cea4fcfc40a186ba 100644 --- a/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php +++ b/typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Extensionmanager\Utility\EmConfUtility; use TYPO3\CMS\Extensionmanager\Utility\ListUtility; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ListUtilityTest extends UnitTestCase +final class ListUtilityTest extends UnitTestCase { protected ListUtility $subject; diff --git a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php index 778e12bb7a9585d39e39452cf3ec30d53f06fd75..ec73fd499eec0e782a277cc4770fd2babdb0c138 100644 --- a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\FrontendLogin\Domain\Repository\FrontendUserGroupRepository; use TYPO3\CMS\FrontendLogin\Service\UserService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendUserGroupRepositoryTest extends FunctionalTestCase +final class FrontendUserGroupRepositoryTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['felogin']; protected FrontendUserGroupRepository $repository; diff --git a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php index 3157554457b63124cd69b693bf75564fbb5eed21..632339dd5ac11a1278f22046a99a16f606f944eb 100644 --- a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\FrontendLogin\Domain\Repository\FrontendUserRepository; use TYPO3\CMS\FrontendLogin\Service\UserService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendUserRepositoryTest extends FunctionalTestCase +final class FrontendUserRepositoryTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['felogin']; protected FrontendUserRepository $repository; diff --git a/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php b/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php index 72219923064f47601c7b00b61c4aab148382cf6d..8d81c42caf7ef3dd70585e4cbb9802c990877393 100644 --- a/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ContentVisibleFieldsTest extends FunctionalTestCase +final class ContentVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['felogin']; diff --git a/typo3/sysext/felogin/Tests/Unit/Configuration/RecoveryConfigurationTest.php b/typo3/sysext/felogin/Tests/Unit/Configuration/RecoveryConfigurationTest.php index 04650deb5a5223ed34c2cd0d82193ff941edcc92..2391fa7e4187519412741ea55707507d8b31c923 100644 --- a/typo3/sysext/felogin/Tests/Unit/Configuration/RecoveryConfigurationTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Configuration/RecoveryConfigurationTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\FrontendLogin\Configuration\IncompleteConfigurationException; use TYPO3\CMS\FrontendLogin\Configuration\RecoveryConfiguration; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RecoveryConfigurationTest extends UnitTestCase +final class RecoveryConfigurationTest extends UnitTestCase { protected MockObject&ConfigurationManager $configurationManager; diff --git a/typo3/sysext/felogin/Tests/Unit/Redirect/RedirectHandlerTest.php b/typo3/sysext/felogin/Tests/Unit/Redirect/RedirectHandlerTest.php index 6f669dfb0b2830c34aa816638e71d25db606ac85..78b84240df6d63932d7506d9227ff5f9c67017f9 100644 --- a/typo3/sysext/felogin/Tests/Unit/Redirect/RedirectHandlerTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Redirect/RedirectHandlerTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\FrontendLogin\Redirect\RedirectModeHandler; use TYPO3\CMS\FrontendLogin\Validation\RedirectUrlValidator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectHandlerTest extends UnitTestCase +final class RedirectHandlerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected RedirectHandler $subject; diff --git a/typo3/sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php b/typo3/sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php index dab91aa5debdc292a62057d1cd9609defe4f0428..a6ffaebd05b12810fddec9fb8897abc533eb340a 100644 --- a/typo3/sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Service/RecoveryServiceTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\FrontendLogin\Domain\Repository\FrontendUserRepository; use TYPO3\CMS\FrontendLogin\Service\RecoveryService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RecoveryServiceTest extends UnitTestCase +final class RecoveryServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/felogin/Tests/Unit/Service/ValidatorResolverServiceTest.php b/typo3/sysext/felogin/Tests/Unit/Service/ValidatorResolverServiceTest.php index 02213909c693a1d434b40b64ee67bcdf669fed4e..e9f6371eb7beca8f4fcad1114c277fc982873a4a 100644 --- a/typo3/sysext/felogin/Tests/Unit/Service/ValidatorResolverServiceTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Service/ValidatorResolverServiceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Extbase\Validation\Validator\StringLengthValidator; use TYPO3\CMS\FrontendLogin\Service\ValidatorResolverService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ValidatorResolverServiceTest extends UnitTestCase +final class ValidatorResolverServiceTest extends UnitTestCase { protected ValidatorResolverService $subject; diff --git a/typo3/sysext/felogin/Tests/Unit/Validation/RedirectUrlValidatorTest.php b/typo3/sysext/felogin/Tests/Unit/Validation/RedirectUrlValidatorTest.php index ea96e5d67956629841bf19b13d8472ddbf61b232..4607d7e8b18bfe5c4182a6c8aaaa5560622e8948 100644 --- a/typo3/sysext/felogin/Tests/Unit/Validation/RedirectUrlValidatorTest.php +++ b/typo3/sysext/felogin/Tests/Unit/Validation/RedirectUrlValidatorTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\FrontendLogin\Validation\RedirectUrlValidator; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectUrlValidatorTest extends UnitTestCase +final class RedirectUrlValidatorTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/filelist/Tests/Unit/Event/ModifyEditFileFormDataEventTest.php b/typo3/sysext/filelist/Tests/Unit/Event/ModifyEditFileFormDataEventTest.php index 4972348eb4991237de30f84e0b5a318d0f26ab8f..3a070c91ed1544227f38d2b46ca79fd88f8a22ad 100644 --- a/typo3/sysext/filelist/Tests/Unit/Event/ModifyEditFileFormDataEventTest.php +++ b/typo3/sysext/filelist/Tests/Unit/Event/ModifyEditFileFormDataEventTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Resource\ResourceStorage; use TYPO3\CMS\Filelist\Event\ModifyEditFileFormDataEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModifyEditFileFormDataEventTest extends UnitTestCase +final class ModifyEditFileFormDataEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php b/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php index 52669443efb2f64f6d2b5f9eb126daf0fb0bdc3a..624eeb7f22a174b2db5d20af06005058c3831f00 100644 --- a/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php +++ b/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Resource\File; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileMetadataVisibleFieldsTest extends FunctionalTestCase +final class FileMetadataVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['filemetadata']; diff --git a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php index cdb8615205044af572093616a227911146fa934f..7eeb6c973643313f582f36f81d50b58344373e56 100644 --- a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php +++ b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase +final class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php index fed75f0f20f71df8b2dcb43ba2eed430e2cedc4c..79a2c31fe8439420069319844efa1e4f2d127652 100644 --- a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php +++ b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Fluid\Tests\Functional; use TYPO3\CMS\Fluid\View\TemplateView; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EscapeChildrenRenderingTest extends FunctionalTestCase +final class EscapeChildrenRenderingTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php b/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php index 3b2a8fc6dedcd1f9b2586cb8b4c93f523c7d62ee..7884e63fbb121f04ecb4b2e24ac49b60d8b9f6f0 100644 --- a/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php +++ b/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\FluidTest\Controller\TemplateController; -class TemplatesPathsTest extends FunctionalTestCase +final class TemplatesPathsTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php index 0ed2e3c9eb803796db206dc35fb82f46f6f326f5..244a0aacc406a267d8bff78a9257eaa51e8d9c90 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CssViewHelperTest extends FunctionalTestCase +final class CssViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php index aab6d4484dcceb79729fd084f9c15ae6225e677b..2b39d37780288db87aaae4daac5daa2e1ed310b3 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\CMS\Fluid\View\TemplateView; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ScriptViewHelperTest extends FunctionalTestCase +final class ScriptViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php index 3f7d7dd489037150225b668725346880b2b52f76..7edffdcd5b9bec9d763a2df654d0f225d995957d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class LinkViewHelperTest extends FunctionalTestCase +final class LinkViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Menus/ActionMenuItemViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Menus/ActionMenuItemViewHelperTest.php index c094baaa20c326fc8e693a25bee6e9c9220e6554..83dfa4444ec262a1d195362e7fe2a078426ea81b 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Menus/ActionMenuItemViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Menus/ActionMenuItemViewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class ActionMenuItemViewHelperTest extends FunctionalTestCase +final class ActionMenuItemViewHelperTest extends FunctionalTestCase { public static function isRenderedDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php index 9ae7b4848742737c3dfa4914b90cdeaa1073678b..a50c3da608276cbf08b1d23aa0e89db60ac91584 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IfAuthenticatedViewHelperTest extends FunctionalTestCase +final class IfAuthenticatedViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php index 7f48139fa22c1274d7570bd7ae553f982fe2c628..a7b81e38b7f29bd5d699079f465cb6fdaead804c 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IfHasRoleViewHelperTest extends FunctionalTestCase +final class IfHasRoleViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php index c3c7945969cb81099f6bd1dd8781f4b3a7611455..87540eb4395c5d21fff5e6e1960dc529ee780b7c 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class UriViewHelperTest extends FunctionalTestCase +final class UriViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php index dd803bac31eca1ab52c867080f4b1cba79e091ca..f59587ff757cef70b5ff73cef041faec72b80765 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/CObjectViewHelperTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; -class CObjectViewHelperTest extends FunctionalTestCase +final class CObjectViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FlashMessagesViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FlashMessagesViewHelperTest.php index 66932f9daff3a7dbf38bfbdd18d824b10c173e4c..ade679e36143c9e8d464090fae31d93596d473a2 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FlashMessagesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FlashMessagesViewHelperTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class FlashMessagesViewHelperTest extends FunctionalTestCase +final class FlashMessagesViewHelperTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php index 4e214af6a33e2d4ecda62dbf8bcec730e3efa7b8..eda7a67800421f9ea7eae81b94df395e7da87853 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class ButtonViewHelperTest extends FunctionalTestCase +final class ButtonViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CheckboxViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CheckboxViewHelperTest.php index dc9791f59bff1c96c721042391002c8f276a02fd..f294c7b1fa6de87f6f19aa3e6f421539ff796aa6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CheckboxViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CheckboxViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CheckboxViewHelperTest extends FunctionalTestCase +final class CheckboxViewHelperTest extends FunctionalTestCase { public static function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CountrySelectViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CountrySelectViewHelperTest.php index 6abba44dca2d65f6a56d50086ac0626b960948b3..aa2a0015a4fe90add7320c104e156d8a3e0fa220 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CountrySelectViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/CountrySelectViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CountrySelectViewHelperTest extends FunctionalTestCase +final class CountrySelectViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php index 2af5ca7d8e5e505c9d172e0ca36e37444bc91c88..fe5962de53d879bf59f51dddc30f1385f248c0e6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class HiddenViewHelperTest extends FunctionalTestCase +final class HiddenViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php index 24947e3130f33d7551fcb5a1c1424ef5e3149f6b..9629fc8b2dc67c1687d4bc457ed20560f849848d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class PasswordViewHelperTest extends FunctionalTestCase +final class PasswordViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/RadioViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/RadioViewHelperTest.php index be452ff2225de3971266626ab2985ee517bdcc53..e2a1dc940145d03ccaa7ea220a2f75df58f4ff55 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/RadioViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/RadioViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class RadioViewHelperTest extends FunctionalTestCase +final class RadioViewHelperTest extends FunctionalTestCase { public static function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php index 5f256a4a795d73fe9256b0a29d07de862f4a7b25..79545a81df89e6a21626ec68030921075da4e5d7 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class OptionViewHelperTest extends FunctionalTestCase +final class OptionViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SelectViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SelectViewHelperTest.php index a248098f1f17db50470fd22338d2c1b540724f8d..1634f2d725b0266f953948ab549260cf31f39604 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SelectViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SelectViewHelperTest.php @@ -33,7 +33,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class SelectViewHelperTest extends FunctionalTestCase +final class SelectViewHelperTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php index 74a41dca313c7db313197a00253a47dc6a281a11..7adcf8992a9dedba38dccde99c87f0db2ebfdc24 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class SubmitViewHelperTest extends FunctionalTestCase +final class SubmitViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextareaViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextareaViewHelperTest.php index 351649185cf50d40d7331b761f179f8e8c3ecfac..03e30586fd721b02027bae505a0ae6069bcb239c 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextareaViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextareaViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class TextareaViewHelperTest extends FunctionalTestCase +final class TextareaViewHelperTest extends FunctionalTestCase { public static function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextfieldViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextfieldViewHelperTest.php index f159189406410cb54500bccc1c294f611117bb4e..06f8db4021692f718a39c84977da797b28c242f2 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextfieldViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/TextfieldViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class TextfieldViewHelperTest extends FunctionalTestCase +final class TextfieldViewHelperTest extends FunctionalTestCase { public static function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/UploadViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/UploadViewHelperTest.php index 7d9e85e634cb16eedaea1829eca1ac6277fd5185..55681a4dfb36f466a52185e3a4a9359f20b571f6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/UploadViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/UploadViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class UploadViewHelperTest extends FunctionalTestCase +final class UploadViewHelperTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FormViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FormViewHelperTest.php index ce25d23ea353e4bfec9d96d68f290af70b9aa8f5..c31d92108a171e3bffab60148e3bfd0d2daa4d89 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FormViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/FormViewHelperTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Fluid\Tests\Functional\Fixtures\ViewHelpers\ExtendsAbstractEntity; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class FormViewHelperTest extends FunctionalTestCase +final class FormViewHelperTest extends FunctionalTestCase { public static function isRenderedDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php index 1dd1dac67c948793efba3930749bc7c26afeb6c0..63b301291604c6285b3f45226c9f41815e943f2e 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class BytesViewHelperTest extends FunctionalTestCase +final class BytesViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php index b736bdf36b5e1773d77603cd943afcbdc502dbfc..fe024ee73e05f8cafb622c26b6f9e6d0e66f4987 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class CaseViewHelperTest extends FunctionalTestCase +final class CaseViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php index 7a99c074b930e3f2092df1156954073b3285b0e5..d518e2361597a3e34d1233096be07fb6b891c203 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CropViewHelperTest extends FunctionalTestCase +final class CropViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php index ec41f7fee72f4e8df79c96a22a77b15cd07a974e..620ab1d34f9b89b23151b6ee94096a0d2ead82e0 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CurrencyViewHelperTest extends FunctionalTestCase +final class CurrencyViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php index e5ab0701d23faa5358f8dd5df0aeac62550441a1..ebb958178914d08020ff1fb14cf04d246d87075a 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class DateViewHelperTest extends FunctionalTestCase +final class DateViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlViewHelperTest.php index 0be71b6c6aaef0e5badff0af72bba4db682ac2f8..b908cbc226ed796015b87ccfc9d05e0ca5779e0b 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class HtmlViewHelperTest extends FunctionalTestCase +final class HtmlViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php index 8d4b31d524eec6a1bb94a85adc24a5347a8646df..98b9b60da955ccddd0b2222afec09b5bc9b7cc2f 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class HtmlentitiesDecodeViewHelperTest extends FunctionalTestCase +final class HtmlentitiesDecodeViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php index 66b1ccd6fbc74a5cd67aaae906cd0be309720389..61d6aa9efb66172cd1efe3070fad8a7acae6240d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class HtmlentitiesViewHelperTest extends FunctionalTestCase +final class HtmlentitiesViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php index a82284487390c83bffb87e912f5ef29775ac5acd..539ab01ef624aca172b6082846c6ae207f209875 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class Nl2brViewHelperTest extends FunctionalTestCase +final class Nl2brViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php index 56067ddf5d4e3bffd86e157401743e76ae8263bb..7b19f6e89643d847eeea32b6e5e0cb75344a6e93 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class NumberViewHelperTest extends FunctionalTestCase +final class NumberViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php index ad7ab8a3f56e4a053b95809fcd2a985fd8857125..edb1204180774b27b076f7721a288db1e9ec61d3 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class PaddingViewHelperTest extends FunctionalTestCase +final class PaddingViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php index 4f14baa1fc42ab9e35385d8147f4d06cdbb7573f..29994109478916752f30c16ecad08a3aac210732 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class StripTagsViewHelperTest extends FunctionalTestCase +final class StripTagsViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/TrimViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/TrimViewHelperTest.php index c5d545dfe54093da2728e7c0f9a6758c0c71603e..35be01ce59a0eaeb35917c41268df51c1c7f59af 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/TrimViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/TrimViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class TrimViewHelperTest extends FunctionalTestCase +final class TrimViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php index 6289b8947066411057b32d2aae7e6c16f85f7870..da90333560d5c4840f951b884481d0a0e1216119 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class UrlencodeViewHelperTest extends FunctionalTestCase +final class UrlencodeViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/ImageViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/ImageViewHelperTest.php index 0e224e81b09dab136fdfda3176c034f259920760..fe6da45f956f8c6a7fe1ccc97fa9b18b5b1c763e 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/ImageViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/ImageViewHelperTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class ImageViewHelperTest extends FunctionalTestCase +final class ImageViewHelperTest extends FunctionalTestCase { public static function invalidArgumentsDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php index f8403544be788290f1e95f583f14054c726e0a90..3176837899e9d55f5c1c32de19a8d4630256d766 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/EmailViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class EmailViewHelperTest extends FunctionalTestCase +final class EmailViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php index 00a28083405e70c5edba2b7e1a8623e3e01d8586..8a34ae0efa6741abfd36f99734610530fbde298e 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class ExternalViewHelperTest extends FunctionalTestCase +final class ExternalViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php index 02f0ea8b3bf8d58312f895db4fe4e47978f5210b..bdc63e6333fada4e62ed2aa6bbfaa366b8507547 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class FileViewHelperTest extends FunctionalTestCase +final class FileViewHelperTest extends FunctionalTestCase { private const TEMPLATE_PATH = 'EXT:fluid/Tests/Functional/Fixtures/ViewHelpers/Link/FileViewHelper/Template.html'; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php index a1444778d4175d2c8eb79f9fa6fbfad283026706..397d8852754be4c692dfdcfacce035bb930aded7 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/PageViewHelperTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Fluid\View\StandaloneView; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageViewHelperTest extends FunctionalTestCase +final class PageViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/TypolinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/TypolinkViewHelperTest.php index a715b7360d43a6692aa638db3564b8b4d5d66f86..45661d3236d8f3869f0aefeb97969631c0141a1b 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/TypolinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/TypolinkViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class TypolinkViewHelperTest extends FunctionalTestCase +final class TypolinkViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/PageRendererViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/PageRendererViewHelperTest.php index 157ff67ea04fad17ae59142e066a039a40c1ddf4..376a14ffa76e620ae9894cabfda76deb794baef1 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/PageRendererViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/PageRendererViewHelperTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class PageRendererViewHelperTest extends FunctionalTestCase +final class PageRendererViewHelperTest extends FunctionalTestCase { public static function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php index e28a6b53799bd881962aa8a29365f5ddb46bd8ce..7b7c4ecb63a650831501c1b2c757cd080928f4aa 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Fluid\ViewHelpers\Sanitize\HtmlViewHelper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class HtmlViewHelperTest extends FunctionalTestCase +final class HtmlViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php index 85c92b952034e379a4ca5cfdcd802336e610cfd9..9a32f8285e4a67425d17ed4438865bb84ae3dd0b 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IfAuthenticatedViewHelperTest extends FunctionalTestCase +final class IfAuthenticatedViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php index 61a4193d2895a92f57162136cb3376b6e3438bb8..139f4f93ff0fc30b5b2227ff304aee838a94d234 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class IfHasRoleViewHelperTest extends FunctionalTestCase +final class IfHasRoleViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php index 62a751ca171c53468cf2a0a0f2505016a395f74d..11ff6b59209ee31876c931c4e61b0e0d122db8d6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Transform/HtmlViewHelperTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class HtmlViewHelperTest extends FunctionalTestCase +final class HtmlViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php index 76f652e9f4df8586b46f446c899417391fe59788..7ad9687e902448d094d4cdc2986f07d1f2e3725a 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php @@ -28,7 +28,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\Exception; use TYPO3Fluid\Fluid\View\TemplateView; -class TranslateViewHelperTest extends FunctionalTestCase +final class TranslateViewHelperTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['indexed_search']; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php index ff41b1c1574e51aabe089c4c4ec093f2b7902c30..da5bd77b04c43f2ca35812d0cd2617c008e2dfaf 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class ExternalViewHelperTest extends FunctionalTestCase +final class ExternalViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php index 0ff49feac0e53270633487d424eaa4c80e655dd8..54c04c3d91bbca4d3b7efbcbe965b07422287b48 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/PageViewHelperTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Fluid\View\StandaloneView; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageViewHelperTest extends FunctionalTestCase +final class PageViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php index 532ba3d3b1728d243ec3cdf33962127a56961f12..e4dac65246dc68faecddc1c12f882be51492a07f 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class ResourceViewHelperTest extends FunctionalTestCase +final class ResourceViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/TypolinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/TypolinkViewHelperTest.php index f0f8c354ca45c21ca9343e3f7984e2ff30ff323f..05fa426e13903ec2a860437fd872e0e57f67daa9 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/TypolinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/TypolinkViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TypolinkViewHelperTest extends FunctionalTestCase +final class TypolinkViewHelperTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid/Tests/FunctionalDeprecated/ViewHelpers/Be/Labels/CshViewHelperTest.php b/typo3/sysext/fluid/Tests/FunctionalDeprecated/ViewHelpers/Be/Labels/CshViewHelperTest.php index e911eb081e2ac7a7a986e60df471cd0a6eb9e5ed..6597e28e451571b938e6dbaa58529d0eed6aea87 100644 --- a/typo3/sysext/fluid/Tests/FunctionalDeprecated/ViewHelpers/Be/Labels/CshViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/FunctionalDeprecated/ViewHelpers/Be/Labels/CshViewHelperTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class CshViewHelperTest extends FunctionalTestCase +final class CshViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/fluid/Tests/Unit/Core/Cache/FluidTemplateCacheTest.php b/typo3/sysext/fluid/Tests/Unit/Core/Cache/FluidTemplateCacheTest.php index 2ec532682432ae9fb2cb7c2fe63d80e4fb4cf68f..70c464c42f619b4149d8f9532ef291301e23b3e8 100644 --- a/typo3/sysext/fluid/Tests/Unit/Core/Cache/FluidTemplateCacheTest.php +++ b/typo3/sysext/fluid/Tests/Unit/Core/Cache/FluidTemplateCacheTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface; use TYPO3\CMS\Fluid\Core\Cache\FluidTemplateCache; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FluidTemplateCacheTest extends UnitTestCase +final class FluidTemplateCacheTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php b/typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php index 7844f0a008d1af801470cff9bbe09a7ae8e0d57d..9181e67ec38b26423280b7164081e174442a9876 100644 --- a/typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php +++ b/typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; use TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider; use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer; -class RenderingContextTest extends UnitTestCase +final class RenderingContextTest extends UnitTestCase { /** * Parsing state diff --git a/typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperResolverTest.php b/typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperResolverTest.php index 78943efbe7f4467a7fa55ee28a34ee86796320ac..7dac7dc7cd6e80e1489b49df608a23063f4d2147 100644 --- a/typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperResolverTest.php +++ b/typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ViewHelperResolverTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlentitiesViewHelper; use TYPO3\CMS\Fluid\ViewHelpers\RenderViewHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ViewHelperResolverTest extends UnitTestCase +final class ViewHelperResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php b/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php index cee6f9e1395e11516aea3924bbe7e135acab9191..d9103d5b43d2af8eb1dbb6e3d3750908c628fa2a 100644 --- a/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php +++ b/typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer; -class AbstractTemplateViewTest extends UnitTestCase +final class AbstractTemplateViewTest extends UnitTestCase { protected AbstractTemplateView&MockObject&AccessibleObjectInterface $view; diff --git a/typo3/sysext/fluid/Tests/Unit/View/TemplatePathsTest.php b/typo3/sysext/fluid/Tests/Unit/View/TemplatePathsTest.php index 51261324f57da5a892b3c3eba5ed409df53d00f3..511d18a61ff69e519bdd3d4e4f6db24ab4370968 100644 --- a/typo3/sysext/fluid/Tests/Unit/View/TemplatePathsTest.php +++ b/typo3/sysext/fluid/Tests/Unit/View/TemplatePathsTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Fluid\View\TemplatePaths; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TemplatePathsTest extends UnitTestCase +final class TemplatePathsTest extends UnitTestCase { public static function getPathSetterMethodTestValues(): array { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php index 32e7c3862c5019691b0ca1e31020d2b90a57a0ed..5ddbd0342f06d7c57b16dd9606c75ddac6ca8c29 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Link; use TYPO3\CMS\Fluid\ViewHelpers\Link\TypolinkViewHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypolinkViewHelperTest extends UnitTestCase +final class TypolinkViewHelperTest extends UnitTestCase { public static function decodedConfigurationAndFluidArgumentDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/TypolinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/TypolinkViewHelperTest.php index 6e84ceee9f9ccf3d49ef17772887efd931c5eef4..67116bb17049bbdfbaf09b073f5a1074cbc039ac 100644 --- a/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/TypolinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/TypolinkViewHelperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Uri; use TYPO3\CMS\Fluid\ViewHelpers\Uri\TypolinkViewHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypolinkViewHelperTest extends UnitTestCase +final class TypolinkViewHelperTest extends UnitTestCase { public static function plainDecodedConfigurationDataProvider(): array { diff --git a/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php b/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php index c100282c032253078b82558c9ed36c6f9a2fe8d9..1d0444ec2b486296134e0122f4601a312d3ce296 100644 --- a/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Internal\TypoScrip use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SecureHtmlRenderingTest extends FunctionalTestCase +final class SecureHtmlRenderingTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php b/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php index 4ba9ba7e95136ef9f37e247b58a21dd28603bdc9..e40ddfb5d6a6acffd60cc568d32281aafd17b260 100644 --- a/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ContentVisibleFieldsTest extends FunctionalTestCase +final class ContentVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['fluid_styled_content']; diff --git a/typo3/sysext/form/Tests/Functional/Domain/Runtime/FormRuntimeTest.php b/typo3/sysext/form/Tests/Functional/Domain/Runtime/FormRuntimeTest.php index 58be1248303b2d5a6ad5fb4f056d93be976df875..a23e368c59d2320b8e5e51a45f5f0d8946e77969 100644 --- a/typo3/sysext/form/Tests/Functional/Domain/Runtime/FormRuntimeTest.php +++ b/typo3/sysext/form/Tests/Functional/Domain/Runtime/FormRuntimeTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FormRuntimeTest extends FunctionalTestCase +final class FormRuntimeTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'form', diff --git a/typo3/sysext/form/Tests/Functional/Mvc/Validation/CountValidatorTest.php b/typo3/sysext/form/Tests/Functional/Mvc/Validation/CountValidatorTest.php index 5797b8f5368bf299adc324e71789fe6240821319..787d9eb0c7a8b40f057384f3873b2a96cfeeface 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/CountValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/CountValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Form\Mvc\Validation\CountValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CountValidatorTest extends FunctionalTestCase +final class CountValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/form/Tests/Functional/Mvc/Validation/DateRangeValidatorTest.php b/typo3/sysext/form/Tests/Functional/Mvc/Validation/DateRangeValidatorTest.php index e26f5969cc0b87530d7f50a41d9d4f5a321e074c..d59abb3b5b84e362434bb0f7afd5eedd48f211b6 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/DateRangeValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/DateRangeValidatorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Form\Mvc\Validation\DateRangeValidator; use TYPO3\CMS\Form\Mvc\Validation\Exception\InvalidValidationOptionsException; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DateRangeValidatorTest extends FunctionalTestCase +final class DateRangeValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/form/Tests/Functional/Mvc/Validation/EmptyValidatorTest.php b/typo3/sysext/form/Tests/Functional/Mvc/Validation/EmptyValidatorTest.php index ccbc1daa6dd9612be09ff12ad4f7b1f5fcd6308a..115de40f31ecf926017d17e289a86c810c3eec61 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/EmptyValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/EmptyValidatorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Form\Mvc\Validation\EmptyValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EmptyValidatorTest extends FunctionalTestCase +final class EmptyValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/form/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php b/typo3/sysext/form/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php index 2cc1b659d621c67f413283330abd930e5fce6393..8b4d173c00014f1aafef6d7f1de1116582524319 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/FileSizeValidatorTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Form\Mvc\Validation\Exception\InvalidValidationOptionsException; use TYPO3\CMS\Form\Mvc\Validation\FileSizeValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FileSizeValidatorTest extends FunctionalTestCase +final class FileSizeValidatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php b/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php index 5e5fe16a8f0e381ef704ad9426d43d45109b5f1b..15e7b5bc675dc3cf862e8d6b223e19227ab60617 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Form\Mvc\Validation\Exception\InvalidValidationOptionsException; use TYPO3\CMS\Form\Mvc\Validation\MimeTypeValidator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MimeTypeValidatorTest extends FunctionalTestCase +final class MimeTypeValidatorTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['form']; diff --git a/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php b/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php index 8ad513f5efaeec264bc3513f1f17ed63017e6892..3cfa82f6e5076ce70ae3ead83bc79809333a076e 100644 --- a/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php +++ b/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContextFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class UploadedResourceViewHelperTest extends FunctionalTestCase +final class UploadedResourceViewHelperTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['form']; diff --git a/typo3/sysext/form/Tests/Unit/Controller/AbstractBackendControllerTest.php b/typo3/sysext/form/Tests/Unit/Controller/AbstractBackendControllerTest.php index a22372827aed78366bfec1455983d52d47ded727..e332a3cda7196d60a92e561dd4f58b064221df9e 100644 --- a/typo3/sysext/form/Tests/Unit/Controller/AbstractBackendControllerTest.php +++ b/typo3/sysext/form/Tests/Unit/Controller/AbstractBackendControllerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Form\Tests\Unit\Controller; use TYPO3\CMS\Form\Controller\AbstractBackendController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractBackendControllerTest extends UnitTestCase +final class AbstractBackendControllerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php b/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php index d10e7f08853a38fceb4abc220edd94fcbf92d673..65ade2ec19f70f3469a16d9e627c1b2a99df3926 100644 --- a/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php +++ b/typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Form\Domain\Exception\RenderingException; use TYPO3\CMS\Form\Service\TranslationService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormEditorControllerTest extends UnitTestCase +final class FormEditorControllerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Controller/FormFrontendControllerTest.php b/typo3/sysext/form/Tests/Unit/Controller/FormFrontendControllerTest.php index ac7cfa82b79128bf6379b37a5ba3ba4cab0b0577..bc6f8837f6c0ff23b7e5780d210daad71b4ea807 100644 --- a/typo3/sysext/form/Tests/Unit/Controller/FormFrontendControllerTest.php +++ b/typo3/sysext/form/Tests/Unit/Controller/FormFrontendControllerTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Form\Domain\Configuration\ConfigurationService; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormFrontendControllerTest extends UnitTestCase +final class FormFrontendControllerTest extends UnitTestCase { public function setUp(): void { diff --git a/typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php b/typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php index df7d2b68fb897c355e5bd2247e5c7589dd506cbd..8133f507f3c9d762a9a5f9186a86778a10611ed9 100644 --- a/typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php +++ b/typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Form\Service\DatabaseService; use TYPO3\CMS\Form\Service\TranslationService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormManagerControllerTest extends UnitTestCase +final class FormManagerControllerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Domain/Configuration/ConfigurationServiceTest.php b/typo3/sysext/form/Tests/Unit/Domain/Configuration/ConfigurationServiceTest.php index 30e2227c2177471684e065a2487f53512f079712..1bcf22c9bb2830319807f0b10f147400e5120c9b 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Configuration/ConfigurationServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Configuration/ConfigurationServiceTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Form\Service\TranslationService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConfigurationServiceTest extends UnitTestCase +final class ConfigurationServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidatorTest.php b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidatorTest.php index 3ea6bc3cbb214b0b1c2289c75d6273c518dc1d01..172944c955f9ae4576fbce6eadde04f741863d5b 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidatorTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatableFormElementPropertiesValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Validators\CreatableFormE use TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Validators\ValidationDto; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CreatableFormElementPropertiesValidatorTest extends UnitTestCase +final class CreatableFormElementPropertiesValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php index d7556f6ab3cbdd7bbe9bd179917031097d697ab2..7e10e6202eb81eb9ad5ceddb564fb659b8a7468a 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinition/Validators/CreatablePropertyCollectionElementPropertiesValidatorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Validators\CreatablePrope use TYPO3\CMS\Form\Domain\Configuration\FormDefinition\Validators\ValidationDto; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CreatablePropertyCollectionElementPropertiesValidatorTest extends UnitTestCase +final class CreatablePropertyCollectionElementPropertiesValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinitionConversionServiceTest.php b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinitionConversionServiceTest.php index bd38e4fc1399edab2dfc3396b515e08b89279c92..f16f962f79ca220d0c41a724a2e9216f7a97ad78 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinitionConversionServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinitionConversionServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Form\Domain\Configuration\FormDefinitionConversionService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormDefinitionConversionServiceTest extends UnitTestCase +final class FormDefinitionConversionServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php b/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php index 25c00e18c47732e95d5fc2d634aa7d58b03e2e67..f8b8673367aacc93c45cfbcc43f126cb6c7317e8 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Factory/ArrayFormFactoryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\Section; use TYPO3\CMS\Form\Domain\Model\FormElements\UnknownFormElement; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArrayFormFactoryTest extends UnitTestCase +final class ArrayFormFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php b/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php index c9b7501b8fa44f061ff137405d348b6d46550f2c..f4dc488fccfd0b7751a717cec7fd1059218c223d 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\StringableFormElementInterface; use TYPO3\CMS\Form\Domain\Runtime\FormRuntime; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractFinisherTest extends UnitTestCase +final class AbstractFinisherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Finishers/ClosureFinisherTest.php b/typo3/sysext/form/Tests/Unit/Domain/Finishers/ClosureFinisherTest.php index 5c9833f72ae2c952665be9ce41ee6538b670f95a..12cf552d74a4da55861f38f60f9ee3240d46cf65 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Finishers/ClosureFinisherTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Finishers/ClosureFinisherTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Form\Domain\Finishers\FinisherContext; use TYPO3\CMS\Form\Domain\Runtime\FormRuntime; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClosureFinisherTest extends UnitTestCase +final class ClosureFinisherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Finishers/RedirectFinisherTest.php b/typo3/sysext/form/Tests/Unit/Domain/Finishers/RedirectFinisherTest.php index c616acb255b701e543255d6e891e9e77201b2c78..3e799dc45e37b12abad4257efbb100c854b833f2 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Finishers/RedirectFinisherTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Finishers/RedirectFinisherTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectFinisherTest extends UnitTestCase +final class RedirectFinisherTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php b/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php index e2213343b5cd021fe003239d9ab3c84a8ef30562..4c6b255e72459eaaf0fa623a792c78ba36b3d8ab 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\AbstractFormElement; use TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractFormElementTest extends UnitTestCase +final class AbstractFormElementTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractSectionTest.php b/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractSectionTest.php index 23aa5bc2f5e4d42ccef3818890adef1bd4ac159d..3c9fd6dc892fed98437999e73b81805fb2335abf 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractSectionTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractSectionTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\Section; use TYPO3\CMS\Form\Domain\Model\FormElements\UnknownFormElement; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractSectionTest extends UnitTestCase +final class AbstractSectionTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Domain/FormElements/SectionTest.php b/typo3/sysext/form/Tests/Unit/Domain/FormElements/SectionTest.php index 894a3871fca1760da9abe778d6ede735daee3809..6a2316302ad6cdd54df3b2900c49c308b7d63eb2 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/FormElements/SectionTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/FormElements/SectionTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; * * Class AbstractFormElementTest */ -class SectionTest extends UnitTestCase +final class SectionTest extends UnitTestCase { protected static $IDENTIFIER = 'an_id'; protected static $TYPE = 'a_type'; diff --git a/typo3/sysext/form/Tests/Unit/Domain/Renderable/AbstractRenderableTest.php b/typo3/sysext/form/Tests/Unit/Domain/Renderable/AbstractRenderableTest.php index 1a60e71e463f56dcd73616724ff89968073ffc8c..70c148c276835b4e4a336b907bb7b88b3046acf8 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Renderable/AbstractRenderableTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Renderable/AbstractRenderableTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Form\Tests\Unit\Domain\Renderable; use TYPO3\CMS\Form\Domain\Model\Renderable\AbstractRenderable; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractRenderableTest extends UnitTestCase +final class AbstractRenderableTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Domain/Renderable/RenderableVariantTest.php b/typo3/sysext/form/Tests/Unit/Domain/Renderable/RenderableVariantTest.php index 5929dadf12f6dba98591ba3ed085b3f8e2a2c871..86ff218ed5c33c359f0d260cebf503a985fbba55 100644 --- a/typo3/sysext/form/Tests/Unit/Domain/Renderable/RenderableVariantTest.php +++ b/typo3/sysext/form/Tests/Unit/Domain/Renderable/RenderableVariantTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\GenericFormElement; use TYPO3\CMS\Form\Domain\Model\Renderable\RenderableVariant; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RenderableVariantTest extends UnitTestCase +final class RenderableVariantTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/EventListener/DataStructureIdentifierListenerTest.php b/typo3/sysext/form/Tests/Unit/EventListener/DataStructureIdentifierListenerTest.php index 42c9068e6d9cf5301f0d3c3285db3939d97e3763..489d0e49c2d4a5bfd34fa407cf3702f2ef23ff51 100644 --- a/typo3/sysext/form/Tests/Unit/EventListener/DataStructureIdentifierListenerTest.php +++ b/typo3/sysext/form/Tests/Unit/EventListener/DataStructureIdentifierListenerTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Form\EventListener\DataStructureIdentifierListener; use TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DataStructureIdentifierListenerTest extends UnitTestCase +final class DataStructureIdentifierListenerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/ConfigurationManagerTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/ConfigurationManagerTest.php index 43ff42ed579c7265936adfbe5a93a2ad6834c28e..7cf0872fdec951759f62276db142f819b2dd5ba2 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/ConfigurationManagerTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/ConfigurationManagerTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Form\Mvc\Configuration\ConfigurationManagerInterface; use TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConfigurationManagerTest extends UnitTestCase +final class ConfigurationManagerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php index e5cb1c37c75da5563b73ab914d621834b9682529..ed27e23b4147ee7a68a002a77b5d221230501824 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Form\Mvc\Configuration\Exception\CycleInheritancesException; use TYPO3\CMS\Form\Mvc\Configuration\InheritancesResolverService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InheritancesResolverServiceTest extends UnitTestCase +final class InheritancesResolverServiceTest extends UnitTestCase { /** * @var InheritancesResolverService diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/TypoScriptServiceTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/TypoScriptServiceTest.php index 808146130741f0bc0497419c2d5a596a13356cd7..dda3e13155553fd86257e0783229725a65283b96 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/TypoScriptServiceTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/TypoScriptServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Form\Mvc\Configuration\TypoScriptService; use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypoScriptServiceTest extends UnitTestCase +final class TypoScriptServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php index 1dd1bb182689f04f8817f11af839bc0a902e2587..e936d04132cab4857a2ce0c8fa5e50a1ec040aba 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Configuration/YamlSourceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Form\Mvc\Configuration\Exception\ParseErrorException; use TYPO3\CMS\Form\Mvc\Configuration\YamlSource; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class YamlSourceTest extends UnitTestCase +final class YamlSourceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php index ad092d21ed46e88de9f184604b49d2c470cc26cb..18d57bdbb62d49043c7988c42e6b4f79c6a99762 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Form\Mvc\Persistence\Exception\PersistenceManagerException; use TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormPersistenceManagerTest extends UnitTestCase +final class FormPersistenceManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Mvc/ProcessingRuleTest.php b/typo3/sysext/form/Tests/Unit/Mvc/ProcessingRuleTest.php index a390b2376afb956e20c068db9e34322bb662c0f5..fa7293d61562728be9846f4c1a257dc68159d384 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/ProcessingRuleTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/ProcessingRuleTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Form\Tests\Unit\Mvc\Fixtures\AnotherTestValidator; use TYPO3\CMS\Form\Tests\Unit\Mvc\Fixtures\TestValidator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ProcessingRuleTest extends UnitTestCase +final class ProcessingRuleTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Property/PropertyMappingConfigurationTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Property/PropertyMappingConfigurationTest.php index 4af69ab20335dd22df8068f7c26a09ee214c8027..1c54b274ad86b032705ef25f81455740bff66fde 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Property/PropertyMappingConfigurationTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Property/PropertyMappingConfigurationTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Form\Mvc\Property\TypeConverter\UploadedFileReferenceConverter; use TYPO3\CMS\Form\Mvc\Validation\MimeTypeValidator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyMappingConfigurationTest extends UnitTestCase +final class PropertyMappingConfigurationTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php b/typo3/sysext/form/Tests/Unit/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php index c9fe80e4b84d2ef402925163317eda3b85358583..0839745f8bd605f19545689ba7c0fccc64e85e26 100644 --- a/typo3/sysext/form/Tests/Unit/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php +++ b/typo3/sysext/form/Tests/Unit/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Form\Mvc\Property\TypeConverter\FormDefinitionArrayConverter; use TYPO3\CMS\Form\Type\FormDefinitionArray; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FormDefinitionArrayConverterTest extends UnitTestCase +final class FormDefinitionArrayConverterTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php b/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php index 4f1566ac8317c58ed24bcca3f5b28120a78904f2..f34dbf10db36fd4740fe57f8736391b159c692a2 100644 --- a/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php +++ b/typo3/sysext/form/Tests/Unit/ViewHelpers/Form/DatePickerViewHelperTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Form\Tests\Unit\ViewHelpers\Form; use TYPO3\CMS\Form\ViewHelpers\Form\DatePickerViewHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatePickerViewHelperTest extends UnitTestCase +final class DatePickerViewHelperTest extends UnitTestCase { public static function convertDateFormatToDatePickerFormatReturnsTransformedFormatDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php b/typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php index 0cd3c30ebf7aed30ae5a551cc1eb5c928068dce4..4ca310e3ee5695842c80151407f26fefc908c2ed 100644 --- a/typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Authentication/FrontendUserAuthenticationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendUserAuthenticationTest extends FunctionalTestCase +final class FrontendUserAuthenticationTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Cache/CacheLifetimeCalculatorTest.php b/typo3/sysext/frontend/Tests/Functional/Cache/CacheLifetimeCalculatorTest.php index 868f0c56d89939317b6adf14743ce317e8ed0967..89d4f7a99133fc8a6647e15455232bf57b951c75 100644 --- a/typo3/sysext/frontend/Tests/Functional/Cache/CacheLifetimeCalculatorTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Cache/CacheLifetimeCalculatorTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Database\ConnectionPool; use TYPO3\CMS\Frontend\Cache\CacheLifetimeCalculator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CacheLifetimeCalculatorTest extends FunctionalTestCase +final class CacheLifetimeCalculatorTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php b/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php index 3b078147ff8ee4381ee59487b7daa3c4d15b300d..b85c33d01eb9a8d809614e19034f8f17177abd38 100644 --- a/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php +++ b/typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ContentObjectRendererTest extends FunctionalTestCase +final class ContentObjectRendererTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php b/typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php index 9890ba0cd34158de8fad24f2ce3d77e8d16f66b5..279fae39b660e20573695081e276ed7dc2b3b1e3 100644 --- a/typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Functional/ContentObject/FilesContentObjectTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FilesContentObjectTest extends FunctionalTestCase +final class FilesContentObjectTest extends FunctionalTestCase { protected ?AbstractContentObject $subject; diff --git a/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php b/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php index b4f030d03415c2bc84f6a467a55ce6c861b466b5..db501a247579c6bdeb1f8140e7f721b28a6ca3a7 100644 --- a/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FluidTemplateContentObjectTest extends FunctionalTestCase +final class FluidTemplateContentObjectTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Imaging/GifBuilderTest.php b/typo3/sysext/frontend/Tests/Functional/Imaging/GifBuilderTest.php index 65aa48ab174e6a55343d05f24218434e02d26825..066612bc31c20a42aa596891ffeaef88ae88fecc 100644 --- a/typo3/sysext/frontend/Tests/Functional/Imaging/GifBuilderTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Imaging/GifBuilderTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\CMS\Frontend\Imaging\GifBuilder; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class GifBuilderTest extends FunctionalTestCase +final class GifBuilderTest extends FunctionalTestCase { private function setupFullTestEnvironment(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/Middleware/BackendUserAuthenticatorTest.php b/typo3/sysext/frontend/Tests/Functional/Middleware/BackendUserAuthenticatorTest.php index 2f3523c140c19223a5b1965ff58afa67e1c7545e..f9e4d475088039af4f5f56efec152fa871eaaac6 100644 --- a/typo3/sysext/frontend/Tests/Functional/Middleware/BackendUserAuthenticatorTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Middleware/BackendUserAuthenticatorTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendUserAuthenticatorTest extends FunctionalTestCase +final class BackendUserAuthenticatorTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/AbsoluteUriPrefixRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/AbsoluteUriPrefixRenderingTest.php index 63d398919963ea4facb50125289500211d425522..8da9d5f50f3a1c113ae98c0da78415892af31e59 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/AbsoluteUriPrefixRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/AbsoluteUriPrefixRenderingTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AbsoluteUriPrefixRenderingTest extends FunctionalTestCase +final class AbsoluteUriPrefixRenderingTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php index c2a57621ef5614f33a7082f901a27389478aa3d9..eeff11a21ac7c751103831a8af3386630e00c6e3 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php @@ -96,7 +96,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; * -> getFallbackChain() * if the page is not available in a specific language, apply other language Ids in the given order until the page translation can be found. */ -class LocalizedSiteContentRenderingTest extends AbstractDataHandlerActionTestCase +final class LocalizedSiteContentRenderingTest extends AbstractDataHandlerActionTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php index ba6a47f9205a2d1bd0a811b5b4102a2d7cc42600..96280d39b6a048457a1ecb93731d7b72e36e2ce6 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TitleTagRenderingTest extends FunctionalTestCase +final class TitleTagRenderingTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['seo']; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php index 537881e46d13ea3c302d30b97b44ed3779ffbe73..d08f603a432e0a0cc8a7d7d6022e8088de9726b5 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class UriPrefixRenderingTest extends FunctionalTestCase +final class UriPrefixRenderingTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/frontend/Tests/Functional/Request/InternalRequestDataMappingTest.php b/typo3/sysext/frontend/Tests/Functional/Request/InternalRequestDataMappingTest.php index 4b789c0ca2937d90be683b8d03998b8060d33f7d..ceaf9ddb6f0903d451470bce4cace666a33f1920 100644 --- a/typo3/sysext/frontend/Tests/Functional/Request/InternalRequestDataMappingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Request/InternalRequestDataMappingTest.php @@ -21,7 +21,7 @@ use Psr\Http\Message\StreamFactoryInterface; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class InternalRequestDataMappingTest extends FunctionalTestCase +final class InternalRequestDataMappingTest extends FunctionalTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/frontend/Tests/Functional/Fixtures/Extensions/test_request_mirror', diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php index f3a74b965263d96145251281f0d7fa08fc160c87..13e9b144572876d3d26639260248c4dc74c55fe3 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataHandlerWriter; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; -class EidRequestTest extends AbstractTestCase +final class EidRequestTest extends AbstractTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_eid', diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerLinkGenerator/DefaultExtbaseControllerTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerLinkGenerator/DefaultExtbaseControllerTest.php index 9a8107e5b6653ce6e7cd1b44a14dcfa74c72cf33..05e6ba96c9f3f45d55ce1b2051da94413e731eb2 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerLinkGenerator/DefaultExtbaseControllerTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerLinkGenerator/DefaultExtbaseControllerTest.php @@ -19,7 +19,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\EnhancerLinkGenerator use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; -class DefaultExtbaseControllerTest extends AbstractEnhancerLinkGeneratorTestCase +final class DefaultExtbaseControllerTest extends AbstractEnhancerLinkGeneratorTestCase { public static function defaultExtbaseControllerActionNamesAreAppliedWithAdditionalNonMappedQueryArgumentsDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerSiteRequest/PageTypeDecoratorTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerSiteRequest/PageTypeDecoratorTest.php index 82850fee87d222637336d463c58ff38b5bdc79db..f731e79742ba22c95adf2a042f38bbaa5b065dfb 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerSiteRequest/PageTypeDecoratorTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EnhancerSiteRequest/PageTypeDecoratorTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\Variables use TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\Framework\Builder\VariableValue; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; -class PageTypeDecoratorTest extends AbstractEnhancerSiteRequestTestCase +final class PageTypeDecoratorTest extends AbstractEnhancerSiteRequestTestCase { public static function pageTypeDecoratorIsAppliedDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioATest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioATest.php index f40fa7692577690bdbfa4b4071ddd40941c397e6..912b3dcc449d24cd51994fabfc866d3ee3040dad 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioATest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioATest.php @@ -38,7 +38,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "headquarter" page in DE returns a 404 response because no fallback chain is configured * Calling "headquarter" page in DE-CH renders page in EN */ -class ScenarioATest extends AbstractLocalizedPagesTestCase +final class ScenarioATest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioBTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioBTest.php index 1db9c001c2410e8bec3070f1cddfdc40dcadd2c5..fcc54ced1da683abc31d5dc0b4b1c02010f05633 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioBTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioBTest.php @@ -37,7 +37,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "headquarter" page in DE returns a 404 response because no fallback chain is configured * Calling "headquarter" page in DE-CH renders page in EN */ -class ScenarioBTest extends AbstractLocalizedPagesTestCase +final class ScenarioBTest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioCTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioCTest.php index d249886085f40f0c6f7e5ae54d5ced006af24b4a..a4e3f50dcb7b7fc83202b3d6fd920e6b352dcb47 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioCTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioCTest.php @@ -38,7 +38,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "about" page in DE returns a 404 response because fallback chain is not processed due to l18n_cfg=2 * Calling "about" page in DE-CH renders page in DE */ -class ScenarioCTest extends AbstractLocalizedPagesTestCase +final class ScenarioCTest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php index d8e9f6c808c560c95d2ee1060833c3b14387c382..769eed27caf42a6d2b2b733f3bf479473aa96c8f 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioDTest.php @@ -43,7 +43,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "company" page in EN renders page in EN * Calling "company" page in DE redirects to page "About" in DE */ -class ScenarioDTest extends AbstractLocalizedPagesTestCase +final class ScenarioDTest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioETest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioETest.php index a9002bb008c7ab6a908555d527ffbf88a3d6374e..42bdcab1896a70a7e8e0a040f29347abb61d53d4 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioETest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioETest.php @@ -41,7 +41,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "about" page in DE with EN slug returns a 404 response * Calling "about" page in DE-CH with EN slug renders page in DE */ -class ScenarioETest extends AbstractLocalizedPagesTestCase +final class ScenarioETest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioFTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioFTest.php index 91be406776a75011ac2d702e0972e745fd330262..9d8dedde8031a233b77cce98d621ae3ddc5a80a9 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioFTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioFTest.php @@ -43,7 +43,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * Calling "products" page in DE renders page in DE * Calling "products" page in DE-CH renders page in DE-CH */ -class ScenarioFTest extends AbstractLocalizedPagesTestCase +final class ScenarioFTest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioGTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioGTest.php index baf5d3c226b196062aa04c28b19bc1bf90d52378..e6cb101e33ac3b984903d713b96b543cc44ac804 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioGTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/LocalizedPageRendering/ScenarioGTest.php @@ -34,7 +34,7 @@ namespace TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\LocalizedPageRenderin * have a fallback in place, should keep the current language and not switch * to the translation language. */ -class ScenarioGTest extends AbstractLocalizedPagesTestCase +final class ScenarioGTest extends AbstractLocalizedPagesTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/MountPointTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/MountPointTest.php index a19d1a73039c36035ede3be08e52941a2d91ee8b..191dfd93dd76e77a737489bc4283d6ee23837e5a 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/MountPointTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/MountPointTest.php @@ -59,7 +59,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; * @todo Add tests for multilingual setups * @todo Add tests with various TypoScript settings activated */ -class MountPointTest extends AbstractTestCase +final class MountPointTest extends AbstractTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/BackendLayoutVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/BackendLayoutVisibleFieldsTest.php index 45f9085820418c703970d5ea22fd4acfc3ff64c5..e387e708c8fa6a15c85bcfb920a4139dff51ac25 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/BackendLayoutVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/BackendLayoutVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendLayoutVisibleFieldsTest extends FunctionalTestCase +final class BackendLayoutVisibleFieldsTest extends FunctionalTestCase { protected static array $backendLayoutFields = [ 'title', diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/ContentVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/ContentVisibleFieldsTest.php index 9bed75be140d7a4f4aaf2b673707828109b95e6c..22006865591dc5f07ce236f6c8a0426577f1f94d 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ContentVisibleFieldsTest extends FunctionalTestCase +final class ContentVisibleFieldsTest extends FunctionalTestCase { protected static array $commonContentFields = [ 'CType', diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/FrontendGroupsVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/FrontendGroupsVisibleFieldsTest.php index 8dbde400ed3746387490d6819046428e668ad1e7..049de77968e7e36ee6d3955a4bf816cc1a6afd72 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/FrontendGroupsVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/FrontendGroupsVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendGroupsVisibleFieldsTest extends FunctionalTestCase +final class FrontendGroupsVisibleFieldsTest extends FunctionalTestCase { protected static array $frontendGroupFields = [ 'hidden', diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/FrontendUsersVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/FrontendUsersVisibleFieldsTest.php index c5e16a06e5ae73c0b624a96762b9039b9cc1abc3..57f9f4d3fb7f57b9ede3c08125357387e44d9e18 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/FrontendUsersVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/FrontendUsersVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FrontendUsersVisibleFieldsTest extends FunctionalTestCase +final class FrontendUsersVisibleFieldsTest extends FunctionalTestCase { protected static array $frontendUsersFields = [ 'disable', diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php index 156942eb3e5c5f639b23e1cdd27bfc26dc5eb33e..ec8afd5f67a27cb16f3fb6274aa2e91cea9c049d 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/PagesLanguageOverlayVisibleFieldsTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PagesLanguageOverlayVisibleFieldsTest extends FunctionalTestCase +final class PagesLanguageOverlayVisibleFieldsTest extends FunctionalTestCase { /** * These form fields are visible in the default page types. diff --git a/typo3/sysext/frontend/Tests/Functional/Tca/TemplateVisibleFieldsTest.php b/typo3/sysext/frontend/Tests/Functional/Tca/TemplateVisibleFieldsTest.php index ca2788ac771fbbe988b58445f4c2c81946f17984..0bbdb38d9eccbc1fe93aed5cdf4ae8d52a282e3e 100644 --- a/typo3/sysext/frontend/Tests/Functional/Tca/TemplateVisibleFieldsTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Tca/TemplateVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TemplateVisibleFieldsTest extends FunctionalTestCase +final class TemplateVisibleFieldsTest extends FunctionalTestCase { protected static array $templateFields = [ 'hidden', diff --git a/typo3/sysext/frontend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php b/typo3/sysext/frontend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php index 987da6d056f7410bf1e8ffdb081d537fd8d38279..9896efaac5032ea25e56f727f1cc2c0d9602f7f8 100644 --- a/typo3/sysext/frontend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php +++ b/typo3/sysext/frontend/Tests/FunctionalDeprecated/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php @@ -35,7 +35,7 @@ use TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatch use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ConditionMatcherTest extends FunctionalTestCase +final class ConditionMatcherTest extends FunctionalTestCase { protected function setUp(): void { diff --git a/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php b/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php index 54838c38ff0e6de4e71a37df86ca62c8e920f1e4..a408c5d59c7d6b0ba9a48bc862d3f9a5d19a7ef8 100644 --- a/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FrontendUserAuthenticationTest extends UnitTestCase +final class FrontendUserAuthenticationTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php index 43d4221e77f6a2f072e6b59374ee8bcdb99fcf80..7041a175a9368d081fd6aad9d56af24eac16a455 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Frontend\ContentObject\TextContentObject; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CaseContentObjectTest extends UnitTestCase +final class CaseContentObjectTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php index 310833d57ee2e5e389b14589e2bbeec9687b124a..3f688269f88cc874da193a6665b08e93d64eebbb 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/ContentDataProcessorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\DataProcessing\DataProcessorRegistry; use TYPO3\CMS\Frontend\Tests\Unit\ContentObject\Fixtures\DataProcessorFixture; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ContentDataProcessorTest extends UnitTestCase +final class ContentDataProcessorTest extends UnitTestCase { protected ContentDataProcessor $contentDataProcessor; protected Container $container; diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/Exception/ProductionExceptionHandlerTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/Exception/ProductionExceptionHandlerTest.php index ba266dd9624b2756ec22ff4f09a49c9608ec3e39..e1357fab6904e73b4b4495e1d296d5d84bf9a05a 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/Exception/ProductionExceptionHandlerTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/Exception/ProductionExceptionHandlerTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Core\Http\PropagateResponseException; use TYPO3\CMS\Frontend\ContentObject\Exception\ProductionExceptionHandler; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ProductionExceptionHandlerTest extends UnitTestCase +final class ProductionExceptionHandlerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php index bc448b9fbe076d4e901b83eb908de6d53b466234..21eb1a5c995347d83316968c61ab8b9ce6815d76 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php @@ -32,7 +32,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ImageContentObjectTest extends UnitTestCase +final class ImageContentObjectTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php index cb0fa0de763b0292a6c44ccc007a41baba10f264..0fe2d887f0b49752e0f124a430f5863b3869a128 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php @@ -50,7 +50,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractMenuContentObjectTest extends UnitTestCase +final class AbstractMenuContentObjectTest extends UnitTestCase { use PageRendererFactoryTrait; diff --git a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php index ce516d92ca955beef10694bfe25ebdd4a6de55b2..941ef0ea9579598c8b4d6c3affd53a1ea08b9b28 100644 --- a/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php +++ b/typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/MenuContentObjectFactoryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Frontend\ContentObject\Menu\Exception\NoSuchMenuTypeException; use TYPO3\CMS\Frontend\ContentObject\Menu\MenuContentObjectFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MenuContentObjectFactoryTest extends UnitTestCase +final class MenuContentObjectFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php b/typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php index 06290f5412922ba6978f154e6844174a9d13fdeb..ac0b3b6054543b941501b62e24fa11493e4da961 100644 --- a/typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Controller/ErrorControllerTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Frontend\Controller\ErrorController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ErrorControllerTest extends UnitTestCase +final class ErrorControllerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php b/typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php index 4a1435071bda9259b58c8e477e4b0f41a836a1dc..7be3e682f787e70f39146dbceac915a44d192d61 100644 --- a/typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Controller; use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TypoScriptFrontendControllerTest extends UnitTestCase +final class TypoScriptFrontendControllerTest extends UnitTestCase { public static function baseUrlWrapHandlesDifferentUrlsDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php index 9ea1d0707bfb6695867f8a3e0702f241ea09bc79..0c1f75771bb032815e789f59edbfdae6571b4198 100644 --- a/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/DataProcessing/FlexFormProcessorTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\DataProcessing\FlexFormProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FlexFormProcessorTest extends UnitTestCase +final class FlexFormProcessorTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected MockObject&ContentObjectRenderer $contentObjectRendererMock; diff --git a/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteLanguageProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteLanguageProcessorTest.php index d2f5e4b3294cb0917bab82a2cf5f653aeeba7acb..b3202cb8b41d8aa32a1562a0a79f6e6bbccedf96 100644 --- a/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteLanguageProcessorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteLanguageProcessorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\DataProcessing\SiteLanguageProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteLanguageProcessorTest extends UnitTestCase +final class SiteLanguageProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteProcessorTest.php index c0a1734a7e97912b31114283c3678e3d3c5e3968..d6a8f44d96782cb681cfcdeaaf2587c29c1a3bdb 100644 --- a/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteProcessorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/DataProcessing/SiteProcessorTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\DataProcessing\SiteProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteProcessorTest extends UnitTestCase +final class SiteProcessorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php b/typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php index 02f1b7c8ad47615960abc0c38e531a245c6fecca..a74a8217e429f7e6bec617b544cedc3644599a08 100644 --- a/typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php @@ -38,7 +38,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * @todo: It looks as if these unit tests should be turned into functional tests */ -class RequestHandlerTest extends UnitTestCase +final class RequestHandlerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Imaging/GifBuilderTest.php b/typo3/sysext/frontend/Tests/Unit/Imaging/GifBuilderTest.php index d768d03bd65d59bebc527de153645a4eb2daf5dc..28ed78a56e9c48c245524b7b2f6f95408c0ee22d 100644 --- a/typo3/sysext/frontend/Tests/Unit/Imaging/GifBuilderTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Imaging/GifBuilderTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Imaging; use TYPO3\CMS\Frontend\Imaging\GifBuilder; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GifBuilderTest extends UnitTestCase +final class GifBuilderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Middleware/PageArgumentValidatorTest.php b/typo3/sysext/frontend/Tests/Unit/Middleware/PageArgumentValidatorTest.php index 87763d6b3267b9ed29df9818b93ca34f3cf25284..62a473275b0762b66cef235a68931089d60023cd 100644 --- a/typo3/sysext/frontend/Tests/Unit/Middleware/PageArgumentValidatorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Middleware/PageArgumentValidatorTest.php @@ -33,7 +33,7 @@ use TYPO3\CMS\Frontend\Page\CacheHashCalculator; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageArgumentValidatorTest extends UnitTestCase +final class PageArgumentValidatorTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php b/typo3/sysext/frontend/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php index dde82d9bb9088b91b7546e20bc194174457a87c7..c6cc712c1c1aadc297f4a8ae7be7a293c8a3f226 100644 --- a/typo3/sysext/frontend/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Middleware/SiteBaseRedirectResolverTest.php @@ -31,7 +31,7 @@ use TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError; use TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteBaseRedirectResolverTest extends UnitTestCase +final class SiteBaseRedirectResolverTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php b/typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php index f8021c427e3ad277637188f6ed37d4d988c8acd5..bbf729e6065700b5a4879659ff8722a405b06cdb 100644 --- a/typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php @@ -36,7 +36,7 @@ use TYPO3\CMS\Frontend\Middleware\SiteResolver; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SiteResolverTest extends UnitTestCase +final class SiteResolverTest extends UnitTestCase { protected bool $resetSingletonInstances = true; protected SiteFinder&AccessibleObjectInterface $siteFinder; diff --git a/typo3/sysext/frontend/Tests/Unit/Middleware/StaticRouteResolverTest.php b/typo3/sysext/frontend/Tests/Unit/Middleware/StaticRouteResolverTest.php index c06a7fafaf4bc5eb8a929d8176955fb3a1a7302f..5d36c16b99dcbafd11addbccbfffa1dfbddfa2ae 100644 --- a/typo3/sysext/frontend/Tests/Unit/Middleware/StaticRouteResolverTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Middleware/StaticRouteResolverTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Core\Site\Entity\Site; use TYPO3\CMS\Frontend\Middleware\StaticRouteResolver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StaticRouteResolverTest extends UnitTestCase +final class StaticRouteResolverTest extends UnitTestCase { protected RequestHandlerInterface $requestHandler; diff --git a/typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php b/typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php index dc1217c6e587ae4679c6587167ec9cc9ee1bb235..14c2c8a7e056d937d5abd8936ec0a82e3acf1b1d 100644 --- a/typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Frontend\Page\CacheHashCalculator; use TYPO3\CMS\Frontend\Page\CacheHashConfiguration; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CacheHashCalculatorTest extends UnitTestCase +final class CacheHashCalculatorTest extends UnitTestCase { protected CacheHashCalculator $subject; diff --git a/typo3/sysext/frontend/Tests/Unit/Page/CacheHashConfigurationTest.php b/typo3/sysext/frontend/Tests/Unit/Page/CacheHashConfigurationTest.php index 70fe026023d5978baf42acf5b6e0738739493712..65decc3bfbd343d031b3e917078566570a6b7489 100644 --- a/typo3/sysext/frontend/Tests/Unit/Page/CacheHashConfigurationTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Page/CacheHashConfigurationTest.php @@ -21,7 +21,7 @@ use PHPUnit\Framework\TestCase; use TYPO3\CMS\Core\Utility\PermutationUtility; use TYPO3\CMS\Frontend\Page\CacheHashConfiguration; -class CacheHashConfigurationTest extends TestCase +final class CacheHashConfigurationTest extends TestCase { public static function nonArrayValueThrowsExceptionDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Unit/Page/PageAccessFailureReasonsTest.php b/typo3/sysext/frontend/Tests/Unit/Page/PageAccessFailureReasonsTest.php index d97d3c372ecb8859c107bce6b3257689d15db46d..a23d9bfed972accf9b8f14fedb6f7f18e7dcbce1 100644 --- a/typo3/sysext/frontend/Tests/Unit/Page/PageAccessFailureReasonsTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Page/PageAccessFailureReasonsTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Page; use TYPO3\CMS\Frontend\Page\PageAccessFailureReasons; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageAccessFailureReasonsTest extends UnitTestCase +final class PageAccessFailureReasonsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/Page/PageLayoutResolverTest.php b/typo3/sysext/frontend/Tests/Unit/Page/PageLayoutResolverTest.php index eeabdccc1c7af558019e8597fb61118c8bcb6afd..4ed96e6a42a92e27fa9c3a36cfeceb453a0ee0b4 100644 --- a/typo3/sysext/frontend/Tests/Unit/Page/PageLayoutResolverTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Page/PageLayoutResolverTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Page; use TYPO3\CMS\Frontend\Page\PageLayoutResolver; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageLayoutResolverTest extends UnitTestCase +final class PageLayoutResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php b/typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php index 2e5675aa5f647c93da6626b49c4b3cde6a1772b2..86366970a9da352fda7e321d3262c44ba4857d10 100644 --- a/typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Frontend\ContentObject\Exception\ContentRenderingException; use TYPO3\CMS\Frontend\DataProcessing\GalleryProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GalleryProcessorTest extends UnitTestCase +final class GalleryProcessorTest extends UnitTestCase { protected ContentObjectRenderer&MockObject $contentObjectRenderer; diff --git a/typo3/sysext/frontend/Tests/Unit/Resource/FilePathSanitizerTest.php b/typo3/sysext/frontend/Tests/Unit/Resource/FilePathSanitizerTest.php index 635b8b5b5d74b1b0ae8574b9f0f365b7f5825a63..176e04b63148f1e08ca5848f80f841ad2ff91fd2 100644 --- a/typo3/sysext/frontend/Tests/Unit/Resource/FilePathSanitizerTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Resource/FilePathSanitizerTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Resource\Exception\InvalidFileNameException; use TYPO3\CMS\Frontend\Resource\FilePathSanitizer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FilePathSanitizerTest extends UnitTestCase +final class FilePathSanitizerTest extends UnitTestCase { protected bool $backupEnvironment = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Typolink/AbstractTypolinkBuilderTest.php b/typo3/sysext/frontend/Tests/Unit/Typolink/AbstractTypolinkBuilderTest.php index 5c429a4ccdd09857f4b8aef5b565429d8774d933..9bc334f160d2292dca11b569fd5992c5e0bc0c4a 100644 --- a/typo3/sysext/frontend/Tests/Unit/Typolink/AbstractTypolinkBuilderTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Typolink/AbstractTypolinkBuilderTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\CMS\Frontend\Typolink\AbstractTypolinkBuilder; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractTypolinkBuilderTest extends UnitTestCase +final class AbstractTypolinkBuilderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/frontend/Tests/Unit/Typolink/DatabaseRecordLinkBuilderTest.php b/typo3/sysext/frontend/Tests/Unit/Typolink/DatabaseRecordLinkBuilderTest.php index 698167aff140305a8b8013f374c94ee15cedbbfc..0ec7469fc2280402383311ada6fb07967e0452d5 100644 --- a/typo3/sysext/frontend/Tests/Unit/Typolink/DatabaseRecordLinkBuilderTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Typolink/DatabaseRecordLinkBuilderTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Frontend\Typolink\DatabaseRecordLinkBuilder; use TYPO3\CMS\Frontend\Typolink\UnableToLinkException; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseRecordLinkBuilderTest extends UnitTestCase +final class DatabaseRecordLinkBuilderTest extends UnitTestCase { public static function attributesSetInRecordLinkOverwriteConfiguredAttributesDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Unit/Typolink/LinkVarsCalculatorTest.php b/typo3/sysext/frontend/Tests/Unit/Typolink/LinkVarsCalculatorTest.php index 20554940331ea81a55f6b9d8e30e09f5a5c4d0b8..c8a7b08fe8b77e4240a14f11378ebf9aaea1ab23 100644 --- a/typo3/sysext/frontend/Tests/Unit/Typolink/LinkVarsCalculatorTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Typolink/LinkVarsCalculatorTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Context\Context; use TYPO3\CMS\Frontend\Typolink\LinkVarsCalculator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LinkVarsCalculatorTest extends UnitTestCase +final class LinkVarsCalculatorTest extends UnitTestCase { public static function calculateLinkVarsDataProvider(): array { diff --git a/typo3/sysext/frontend/Tests/Unit/Typolink/PageLinkBuilderTest.php b/typo3/sysext/frontend/Tests/Unit/Typolink/PageLinkBuilderTest.php index ae0e7382b539b5bc812ce702fd9ac446a949c427..fe479d3409bf6723e324dbe7c07040db8e50f8d0 100644 --- a/typo3/sysext/frontend/Tests/Unit/Typolink/PageLinkBuilderTest.php +++ b/typo3/sysext/frontend/Tests/Unit/Typolink/PageLinkBuilderTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Frontend\Typolink\PageLinkBuilder; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PageLinkBuilderTest extends UnitTestCase +final class PageLinkBuilderTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/frontend/Tests/UnitDeprecated/Resource/FilePathSanitizerTest.php b/typo3/sysext/frontend/Tests/UnitDeprecated/Resource/FilePathSanitizerTest.php index 7f7bbcbdaba55ab58e94c162e9731b23f5899870..ca5c18e990946acf4e96036c16fcbdc12ac8af54 100644 --- a/typo3/sysext/frontend/Tests/UnitDeprecated/Resource/FilePathSanitizerTest.php +++ b/typo3/sysext/frontend/Tests/UnitDeprecated/Resource/FilePathSanitizerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Frontend\Tests\UnitDeprecated\Resource; use TYPO3\CMS\Frontend\Resource\FilePathSanitizer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FilePathSanitizerTest extends UnitTestCase +final class FilePathSanitizerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Command/ExportCommandTest.php b/typo3/sysext/impexp/Tests/Functional/Command/ExportCommandTest.php index d1fa557345ee022aec6679efec6404b01f9046b6..f3a9d5edb524b6abb0d7996ee22998ea3cd124b7 100644 --- a/typo3/sysext/impexp/Tests/Functional/Command/ExportCommandTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Command/ExportCommandTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Impexp\Command\ExportCommand; use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class ExportCommandTest extends AbstractImportExportTestCase +final class ExportCommandTest extends AbstractImportExportTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Command/ImportCommandTest.php b/typo3/sysext/impexp/Tests/Functional/Command/ImportCommandTest.php index 34668d4fbd68fc9181cb15949514b746254df013..ad49c00731fcfb73a273101afce2512e20a3397a 100644 --- a/typo3/sysext/impexp/Tests/Functional/Command/ImportCommandTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Command/ImportCommandTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Impexp\Command\ImportCommand; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class ImportCommandTest extends AbstractImportExportTestCase +final class ImportCommandTest extends AbstractImportExportTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php b/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php index 5253cb6472661b8103e79474395865200047f03b..e4c942a88bcecf7887b0779d0ef4c1c2bf0650e2 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; use TYPO3\CMS\Impexp\View\ExportPageTreeView; -class ExportPageTreeViewTest extends AbstractImportExportTestCase +final class ExportPageTreeViewTest extends AbstractImportExportTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php b/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php index 1c40846ae24f2b9e33bfd4a28688aab72e6ce689..b5d0f79f6fe9f73450490c217833ecbf06984bcb 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Impexp\Tests\Functional\Export; use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class IrreTutorialRecordsTest extends AbstractImportExportTestCase +final class IrreTutorialRecordsTest extends AbstractImportExportTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', diff --git a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php index abb5d493ab68a827265232f4a2f20e36077b1494..0f886aef2f75d7dd8c1bffbffa22ed4517001b6d 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Impexp\Tests\Functional\Export; use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentTest extends AbstractImportExportTestCase +final class PagesAndTtContentTest extends AbstractImportExportTestCase { protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', diff --git a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php index 4ba68165af85b4b704e0242dcac8a74b5c9c4f49..ad4b10efbf3dc0c9f869c9f86c2296f49f1df4aa 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Impexp\Tests\Functional\Export; use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentWithImagesTest extends AbstractImportExportTestCase +final class PagesAndTtContentWithImagesTest extends AbstractImportExportTestCase { protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', diff --git a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php index be568ca526aa53ff11f6865f6f97e4710e8bfd57..691405ccae55ec9978e383b9709bdaf1ae4392b1 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Impexp\Tests\Functional\Export; use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentWithRelationsAndSoftrefsTest extends AbstractImportExportTestCase +final class PagesAndTtContentWithRelationsAndSoftrefsTest extends AbstractImportExportTestCase { protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', diff --git a/typo3/sysext/impexp/Tests/Functional/ExportTest.php b/typo3/sysext/impexp/Tests/Functional/ExportTest.php index 8c84425eca30e44fc7711040308129bc42d7fea8..4e35eda350c4a8c99a3ae3ceacb64cec2bdf63f1 100644 --- a/typo3/sysext/impexp/Tests/Functional/ExportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ExportTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Resource\Folder; use TYPO3\CMS\Impexp\Export; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; -class ExportTest extends AbstractImportExportTestCase +final class ExportTest extends AbstractImportExportTestCase { protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', diff --git a/typo3/sysext/impexp/Tests/Functional/Import/ImagesWithStoragesTest.php b/typo3/sysext/impexp/Tests/Functional/Import/ImagesWithStoragesTest.php index 0ebdf8e094c44349df625afc7978f30af8622ae8..77727c79803da7f2fd72fdf88b6ac3c0fa23dd2d 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/ImagesWithStoragesTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/ImagesWithStoragesTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class ImagesWithStoragesTest extends AbstractImportExportTestCase +final class ImagesWithStoragesTest extends AbstractImportExportTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php b/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php index 85840fa863a936878c7d4fcebe67a524cebe5710..013c1cbfaaebb182d0dec1b22737148584623f71 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class IrreTutorialRecordsTest extends AbstractImportExportTestCase +final class IrreTutorialRecordsTest extends AbstractImportExportTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentTest.php index 0af7029268ca2cf51a92f5d08c7edb92bd32211e..f14ad5348f4f0e6d82bc8b730ba6dbc064591f37 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentTest extends AbstractImportExportTestCase +final class PagesAndTtContentTest extends AbstractImportExportTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php index 197318a850d635fb6d49128de535df49a75f22d7..676dd28224da0cd2619456e18c34fef75d17be43 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInEmptyDatabaseTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentWithImagesInEmptyDatabaseTest extends AbstractImportExportTestCase +final class PagesAndTtContentWithImagesInEmptyDatabaseTest extends AbstractImportExportTestCase { /** * @test diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php index 2629acbff8b126d61659ef9eb846bdbcd28790c2..43d1baefd235e8bbbbbc4ba59cc904fad2404053 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentWithImagesInFilledDatabaseTest extends AbstractImportExportTestCase +final class PagesAndTtContentWithImagesInFilledDatabaseTest extends AbstractImportExportTestCase { protected array $additionalFoldersToCreate = [ '/fileadmin/user_upload', diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php index a8702938b70ffc9e346c0f35274c6c7db442413b..a42071a8f70f5fef3e9371ed60c94156f52ebd8e 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Impexp\Import; use TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase; -class PagesAndTtContentWithRteImagesAndFileLinkTest extends AbstractImportExportTestCase +final class PagesAndTtContentWithRteImagesAndFileLinkTest extends AbstractImportExportTestCase { protected array $additionalFoldersToCreate = [ '/fileadmin/_processed_', diff --git a/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php b/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php index 368cc270dfa48e667b5fdb09cf9b487330ece3bb..b8a6719e037523f48ee1aa8dcfe5caab905c10b8 100644 --- a/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Impexp\Export; use TYPO3\CMS\Impexp\Import; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; -class ImportExportTest extends AbstractImportExportTestCase +final class ImportExportTest extends AbstractImportExportTestCase { protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', diff --git a/typo3/sysext/impexp/Tests/Functional/ImportTest.php b/typo3/sysext/impexp/Tests/Functional/ImportTest.php index 10d15ef1512759b5fa751a796c80db09a4f5f7e2..53a96afd822e47da8fe786c98b256c9e9b3969f2 100644 --- a/typo3/sysext/impexp/Tests/Functional/ImportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ImportTest.php @@ -19,7 +19,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Impexp\Exception\LoadingFileFailedException; use TYPO3\CMS\Impexp\Import; -class ImportTest extends AbstractImportExportTestCase +final class ImportTest extends AbstractImportExportTestCase { protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/XmlImports' => 'fileadmin/xml_imports', diff --git a/typo3/sysext/impexp/Tests/Unit/ExportTest.php b/typo3/sysext/impexp/Tests/Unit/ExportTest.php index 5dd3f6abe401b2a67204c44c6e77f87a0345ec69..a0f1490b8daa52c4ea6f5a65dc8d9c0e2e224965 100644 --- a/typo3/sysext/impexp/Tests/Unit/ExportTest.php +++ b/typo3/sysext/impexp/Tests/Unit/ExportTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Impexp\Export; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExportTest extends UnitTestCase +final class ExportTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php b/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php index fd80ec704f72b2b3fa07c40d0bfdc485128fcaea..ca87fbb3527b951acbe1a0f58756076db0d40163 100644 --- a/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php +++ b/typo3/sysext/indexed_search/Tests/Functional/Utility/LikeWildcardTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\IndexedSearch\Utility\LikeWildcard; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LikeWildcardTest extends FunctionalTestCase +final class LikeWildcardTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php b/typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php index c15fb97330548a9aebfcc107c81d8189aab52c46..bdc69dff987c169b944149acc915e1bc3d174d4b 100644 --- a/typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php +++ b/typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; use TYPO3\CMS\IndexedSearch\Indexer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class IndexerTest extends UnitTestCase +final class IndexerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/install/Tests/Functional/Service/EnableFileServiceTest.php b/typo3/sysext/install/Tests/Functional/Service/EnableFileServiceTest.php index c13f983d09a0afa034a20cdf626d155a01b721b8..7bf14e625d3f12940870f5a2bff455796530a872 100644 --- a/typo3/sysext/install/Tests/Functional/Service/EnableFileServiceTest.php +++ b/typo3/sysext/install/Tests/Functional/Service/EnableFileServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Install\Service\EnableFileService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class EnableFileServiceTest extends FunctionalTestCase +final class EnableFileServiceTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php b/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php index 8544131534bcf721025e4f95f83a8d1d4e97c816..3315ce288f2d659d4c29ef42fe68802a498c6e41 100644 --- a/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php +++ b/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\StringUtility; use TYPO3\CMS\Install\Service\Typo3tempFileService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class Typo3tempFileServiceTest extends FunctionalTestCase +final class Typo3tempFileServiceTest extends FunctionalTestCase { protected bool $initializeDatabase = false; private string $directoryName; diff --git a/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php b/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php index eb3a6de286bc465a50d40bdf71d1a6eaabb701d8..d8d463df6a53ab93016cebed1e252f5be042d75c 100644 --- a/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php +++ b/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Core\Environment; use TYPO3\CMS\Install\Service\WebServerConfigurationFileService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WebServerConfigurationFileServiceTest extends FunctionalTestCase +final class WebServerConfigurationFileServiceTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/install/Tests/Functional/Updates/BackendGroupsExplicitAllowDenyMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/BackendGroupsExplicitAllowDenyMigrationTest.php index 775ac70ab7f2e6be6b3e951c6bca8622145d7808..9203aa8b963e281100c2dc599eba5a43b1811b35 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/BackendGroupsExplicitAllowDenyMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/BackendGroupsExplicitAllowDenyMigrationTest.php @@ -21,7 +21,7 @@ use Symfony\Component\Console\Output\OutputInterface; use TYPO3\CMS\Install\Updates\BackendGroupsExplicitAllowDenyMigration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendGroupsExplicitAllowDenyMigrationTest extends FunctionalTestCase +final class BackendGroupsExplicitAllowDenyMigrationTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Functional/Updates/BackendModulePermissionMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/BackendModulePermissionMigrationTest.php index 3e18ef77c4e6e5a8e1b8fceca97bea7a67eba232..556c53f647f459939b9b3df830bb861bf5d1c69c 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/BackendModulePermissionMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/BackendModulePermissionMigrationTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Functional\Updates; use TYPO3\CMS\Install\Updates\BackendModulePermissionMigration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BackendModulePermissionMigrationTest extends FunctionalTestCase +final class BackendModulePermissionMigrationTest extends FunctionalTestCase { protected string $baseDataSet = __DIR__ . '/Fixtures/BackendModulePermissionMigrationBefore.csv'; protected string $resultDataSet = __DIR__ . '/Fixtures/BackendModulePermissionMigrationAfter.csv'; diff --git a/typo3/sysext/install/Tests/Functional/Updates/FeLoginModeExtractionUpdateTest.php b/typo3/sysext/install/Tests/Functional/Updates/FeLoginModeExtractionUpdateTest.php index 81adf958e18c4a1bd4e8be5914e47b2efbc0f3b5..91a273da48419ddbb5876df784cecfacd80750a6 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/FeLoginModeExtractionUpdateTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/FeLoginModeExtractionUpdateTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Install\Updates\FeLoginModeExtractionUpdate; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class FeLoginModeExtractionUpdateTest extends FunctionalTestCase +final class FeLoginModeExtractionUpdateTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Functional/Updates/MigrateSiteSettingsConfigUpdateTest.php b/typo3/sysext/install/Tests/Functional/Updates/MigrateSiteSettingsConfigUpdateTest.php index 015c6516995df7944058f27ddc6aabdbf8a519f9..21c4ef4d6b856adc5c13f8554426390e053be44d 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/MigrateSiteSettingsConfigUpdateTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/MigrateSiteSettingsConfigUpdateTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Install\Updates\MigrateSiteSettingsConfigUpdate; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MigrateSiteSettingsConfigUpdateTest extends FunctionalTestCase +final class MigrateSiteSettingsConfigUpdateTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php index 3e1c9a68b35950c2945f8eb1437d64a5d670ef5c..911c412a570d188646febc0874f078e40aaff0f8 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/SysRedirectRootPageMoveMigrationTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\ActionService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysRedirectRootPageMoveMigrationTest extends FunctionalTestCase +final class SysRedirectRootPageMoveMigrationTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php index 5fa4f4ca24ef97fa49756500fdb7ce85d364263f..a56c821dd937c7990842a8003f52831ece378800 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\ActionService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WorkspaceNewPlaceholderRemovalTest extends FunctionalTestCase +final class WorkspaceNewPlaceholderRemovalTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php index 1210738f62e061a1d898138da11203bc17023506..88b3069a780dd3ef5db0ea668d4fb54408f61e87 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Install\Updates\ShortcutRecordsMigration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ShortcutRecordsMigrationTest extends FunctionalTestCase +final class ShortcutRecordsMigrationTest extends FunctionalTestCase { private const TABLE_NAME = 'sys_be_shortcuts'; diff --git a/typo3/sysext/install/Tests/Functional/Updates/SysFileCollectionIdentifierMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/SysFileCollectionIdentifierMigrationTest.php index 89ce625dc4036354d26e73f1132465563d7b9284..36dabb85d589a9be829e6899527e1787d70ff072 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/SysFileCollectionIdentifierMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/SysFileCollectionIdentifierMigrationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Install\Updates\SysFileCollectionIdentifierMigration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysFileCollectionIdentifierMigrationTest extends FunctionalTestCase +final class SysFileCollectionIdentifierMigrationTest extends FunctionalTestCase { private const TABLE_NAME = 'sys_file_collection'; diff --git a/typo3/sysext/install/Tests/Functional/Updates/SysFileMountIdentifierMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/SysFileMountIdentifierMigrationTest.php index 2f3369a5f6fd064b3971a9c604f1d2b4e5dac26c..5e9e2ccab8db4a08fa5618d30cbe38d79aca9b38 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/SysFileMountIdentifierMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/SysFileMountIdentifierMigrationTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Install\Updates\SysFileMountIdentifierMigration; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysFileMountIdentifierMigrationTest extends FunctionalTestCase +final class SysFileMountIdentifierMigrationTest extends FunctionalTestCase { private const TABLE_NAME = 'sys_filemounts'; diff --git a/typo3/sysext/install/Tests/Functional/Updates/SysLogSerializationUpdateTest.php b/typo3/sysext/install/Tests/Functional/Updates/SysLogSerializationUpdateTest.php index 7e66d70049d44aa66e2096c247cb5a16a9f49bf8..64ea0a70166b077e0a3b8af4d23795134323591f 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/SysLogSerializationUpdateTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/SysLogSerializationUpdateTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Functional\Updates; use TYPO3\CMS\Install\Updates\SysLogSerializationUpdate; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SysLogSerializationUpdateTest extends FunctionalTestCase +final class SysLogSerializationUpdateTest extends FunctionalTestCase { protected string $baseDataSet = __DIR__ . '/Fixtures/SysLogSerializationBase.csv'; protected string $resultDataSet = __DIR__ . '/Fixtures/SysLogSerializationFinished.csv'; diff --git a/typo3/sysext/install/Tests/Functional/UpgradeAnalysis/DocumentationFileTest.php b/typo3/sysext/install/Tests/Functional/UpgradeAnalysis/DocumentationFileTest.php index 917d34164b3a98e1648bf623d10966ddddf53186..7ade24cc84eb14d9a78da416ddc86095ee103920 100644 --- a/typo3/sysext/install/Tests/Functional/UpgradeAnalysis/DocumentationFileTest.php +++ b/typo3/sysext/install/Tests/Functional/UpgradeAnalysis/DocumentationFileTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Core\Utility\VersionNumberUtility; use TYPO3\CMS\Install\UpgradeAnalysis\DocumentationFile; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class DocumentationFileTest extends FunctionalTestCase +final class DocumentationFileTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php b/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php index 80096e0a320fad342247534f12443d6f8c2c5ad6..e01ce15d580987272677d0997031a031c2dafa80 100644 --- a/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php +++ b/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3Fluid\Fluid\View\TemplateView; -class PhpErrorCodeViewHelperTest extends FunctionalTestCase +final class PhpErrorCodeViewHelperTest extends FunctionalTestCase { protected bool $initializeDatabase = false; diff --git a/typo3/sysext/install/Tests/Unit/Controller/UpgradeControllerTest.php b/typo3/sysext/install/Tests/Unit/Controller/UpgradeControllerTest.php index 3c3f4e33ca89706f61a012f3c5b9b20c355a4037..5f072f567894393e81921218df0a7efb4cee8c64 100644 --- a/typo3/sysext/install/Tests/Unit/Controller/UpgradeControllerTest.php +++ b/typo3/sysext/install/Tests/Unit/Controller/UpgradeControllerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\View\ViewInterface; use TYPO3\CMS\Install\Controller\UpgradeController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class UpgradeControllerTest extends UnitTestCase +final class UpgradeControllerTest extends UnitTestCase { public static function versionDataProvider(): array { diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/CodeStatisticsTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/CodeStatisticsTest.php index e04ac7991fd3c8c9f5e73de81f44be6e664ef490..eeae82123607b9dbad97625f1dfbeed2f0acad6c 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/CodeStatisticsTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/CodeStatisticsTest.php @@ -22,7 +22,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\CodeStatistics; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CodeStatisticsTest extends UnitTestCase +final class CodeStatisticsTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/GeneratorClassesResolverTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/GeneratorClassesResolverTest.php index 431ea181a1b87170775a74b2623c681aca36acbd..e899cfda6304f2a879aa2241710758b2fbd5e1f3 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/GeneratorClassesResolverTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/GeneratorClassesResolverTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\AbstractCoreMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class GeneratorClassesResolverTest extends UnitTestCase +final class GeneratorClassesResolverTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/AbstractCoreMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/AbstractCoreMatcherTest.php index add1ea92c8dcc6c2707719234cf21695291b7092..d7d100ae51578a299719286c5d2c41ee12a986ec 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/AbstractCoreMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/AbstractCoreMatcherTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Unit\ExtensionScanner\Php\Matcher; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\AbstractCoreMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AbstractCoreMatcherTest extends UnitTestCase +final class AbstractCoreMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayDimensionMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayDimensionMatcherTest.php index 3125f7f45d8570f65284f97e3b4510144b134c1e..1f04824282a827a160d7470c38d339520f0c3a9c 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayDimensionMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayDimensionMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ArrayDimensionMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArrayDimensionMatcherTest extends UnitTestCase +final class ArrayDimensionMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayGlobalMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayGlobalMatcherTest.php index 585ddeeee053c8df819f21ef6e38458065aed1db..2fb9aadf76807e1b521edbb94b80abd267dafd09 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayGlobalMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayGlobalMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ArrayGlobalMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ArrayGlobalMatcherTest extends UnitTestCase +final class ArrayGlobalMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassConstantMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassConstantMatcherTest.php index cec002c86fce6e1f47715ddf960e32f1f65892e9..1b003af86698349ee3ae512a8847eabf748b8cc9 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassConstantMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassConstantMatcherTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ClassConstantMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClassConstantMatcherTest extends UnitTestCase +final class ClassConstantMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassNameMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassNameMatcherTest.php index e4ccc8e6a1935193c152cc2ac5c21f447569028e..2fa4180b48bbf3e61971607e752e4b653a6b7d4e 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassNameMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ClassNameMatcherTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ClassNameMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClassNameMatcherTest extends UnitTestCase +final class ClassNameMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php index 65fffd58e59b1746242700075bc6ab393ebd619e..5ca0762515e893794ca06b28b5b63d67e6360a95 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstantMatcherTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ConstantMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ConstantMatcherTest extends UnitTestCase +final class ConstantMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstructorArgumentMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstructorArgumentMatcherTest.php index c38c48e5d7b10eac714dd6991868d368fb3fe6e5..c1bc543451c349282b37eed1d3cdec392d24c3c8 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstructorArgumentMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ConstructorArgumentMatcherTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\ConstructorArgumentMatcher; use TYPO3\CMS\Install\Tests\Unit\ExtensionScanner\Php\Matcher\Fixtures\Subject; -class ConstructorArgumentMatcherTest extends TestCase +final class ConstructorArgumentMatcherTest extends TestCase { public static function hitsFromFixtureAreFoundDataProvider(): array { diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/FunctionCallMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/FunctionCallMatcherTest.php index a4308e3f88375d870d86aa35337bc80761148cf2..8e19b4254a610724d4d9d2db74d322c32d67aeb1 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/FunctionCallMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/FunctionCallMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\FunctionCallMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class FunctionCallMatcherTest extends UnitTestCase +final class FunctionCallMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/InterfaceMethodChangedMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/InterfaceMethodChangedMatcherTest.php index 2a4c653f6fc833f9d638dcdb7cc8a03114cd811d..5648bc3238efbf24c6a467855957f928ff9f1e88 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/InterfaceMethodChangedMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/InterfaceMethodChangedMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\InterfaceMethodChangedMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class InterfaceMethodChangedMatcherTest extends UnitTestCase +final class InterfaceMethodChangedMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodAnnotationMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodAnnotationMatcherTest.php index bda88f2a9695dbbcf04dc9a25be2c78215650fba..215758941d6c40279c3d015e79a23aabd97c92c3 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodAnnotationMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodAnnotationMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodAnnotationMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodAnnotationMatcherTest extends UnitTestCase +final class MethodAnnotationMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedMatcherTest.php index a97facb000a525df13ac4e77f49150de873d4beb..d938acdc323b006413ac5b34551064697359b3df 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentDroppedMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodArgumentDroppedMatcherTest extends UnitTestCase +final class MethodArgumentDroppedMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedStaticMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedStaticMatcherTest.php index 80a4c5ce5201504bad867c982dfc6187c2337ada..aac924429d21b0c2aa036dc898b1b2d86f8fb93f 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedStaticMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedStaticMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentDroppedStaticMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodArgumentDroppedStaticMatcherTest extends UnitTestCase +final class MethodArgumentDroppedStaticMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredMatcherTest.php index e7381c2667eb915b98c6de6f8ba5a5831fcd0b2e..935c5726318679f9505b46bc27dadf44ad54c130 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentRequiredMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodArgumentRequiredMatcherTest extends UnitTestCase +final class MethodArgumentRequiredMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php index 8bdb990c1a63927ce6cd4b07a2edb27d380bdb35..ec9e9e18d3a8273c578c3275000329e8b3f6d773 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentRequiredStaticMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodArgumentRequiredStaticMatcherTest extends UnitTestCase +final class MethodArgumentRequiredStaticMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcherTest.php index f49e1f5b4f92a6ef790934e4b520893db94306de..a4fd1893edac749b4ab71a3f3aa6dfb1929d94ac 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentUnusedMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodArgumentUnusedMatcherTest extends UnitTestCase +final class MethodArgumentUnusedMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallMatcherTest.php index 4678283e542807f282be1baed595e509d266eb35..74af0acbf4c4ae63dc18a37651ca9d850b8c66c0 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodCallMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodCallMatcherTest extends UnitTestCase +final class MethodCallMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallStaticMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallStaticMatcherTest.php index 7e7b34a17135061404924f3813aeb4e37c0e2820..77125199e0a150042ca0ac76d6891cbb32882395 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallStaticMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallStaticMatcherTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\GeneratorClassesResolver; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodCallStaticMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MethodCallStaticMatcherTest extends UnitTestCase +final class MethodCallStaticMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyAnnotationMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyAnnotationMatcherTest.php index aa71ac34142c2ec16a42b8c15293cd2631ac2379..50e91dcdbd45304357c3f5e2a200708562e578da 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyAnnotationMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyAnnotationMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyAnnotationMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyAnnotationMatcherTest extends UnitTestCase +final class PropertyAnnotationMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php index cdb575c74229630e1262d8fa207215bacbcb830b..676e3764f85dbf42f2d5f905e495ba0f64008230 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyExistsStaticMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyExistsStaticMatcherTest extends UnitTestCase +final class PropertyExistsStaticMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyProtectedMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyProtectedMatcherTest.php index 78a8c64921361f49552614db4f1af59ad4949f54..7f42517456c8d023d5184250161ba7c714bb3392 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyProtectedMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyProtectedMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyProtectedMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyProtectedMatcherTest extends UnitTestCase +final class PropertyProtectedMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyPublicMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyPublicMatcherTest.php index cc470a7ab964b859a48d4d89966dd2b857ac64bb..7400070e9950ede2953a184806cab49a3a209ad0 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyPublicMatcherTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyPublicMatcherTest.php @@ -23,7 +23,7 @@ use PhpParser\ParserFactory; use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyPublicMatcher; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PropertyPublicMatcherTest extends UnitTestCase +final class PropertyPublicMatcherTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/MatcherFactoryTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/MatcherFactoryTest.php index c7d2f85a09f0ca68664cf10c53cd51a7e0b373e2..5da6a8a51104639b6a9ced695e059c1a5b659143 100644 --- a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/MatcherFactoryTest.php +++ b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/MatcherFactoryTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Unit\ExtensionScanner\Php; use TYPO3\CMS\Install\ExtensionScanner\Php\MatcherFactory; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MatcherFactoryTest extends UnitTestCase +final class MatcherFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php index c59d92c99b27a81a75f6e1f80768bc196b5675bb..c0191e292c107945b7fb1c679075e8b622310548 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Install\FolderStructure\Exception\InvalidArgumentException; use TYPO3\CMS\Install\FolderStructure\NodeInterface; use TYPO3\CMS\Install\FolderStructure\RootNodeInterface; -class AbstractNodeTest extends AbstractFolderStructureTestCase +final class AbstractNodeTest extends AbstractFolderStructureTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/DefaultFactoryTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/DefaultFactoryTest.php index c8c36a86cb3281e7f95138d7ced41e6ae3d39e8b..f5fb42734e3f1a3486baf5cae966891e8d03248b 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/DefaultFactoryTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/DefaultFactoryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Install\FolderStructure\DefaultFactory; use TYPO3\CMS\Install\FolderStructure\StructureFacadeInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DefaultFactoryTest extends UnitTestCase +final class DefaultFactoryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php index 63482d376fcb00cfce689ba17e9406f5fa6b870f..347eaf30cfdb8bbcf9ab27ee405d29865dacf2c9 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Install\FolderStructure\Exception\InvalidArgumentException; use TYPO3\CMS\Install\FolderStructure\NodeInterface; use TYPO3\CMS\Install\FolderStructure\RootNodeInterface; -class DirectoryNodeTest extends AbstractFolderStructureTestCase +final class DirectoryNodeTest extends AbstractFolderStructureTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php index b782e853336db7634afecea12ee95beb0b787e60..fd2cd4de2f548bc65e8e7a10f03e1b7a449f5ced 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Install\FolderStructure\FileNode; use TYPO3\CMS\Install\FolderStructure\NodeInterface; use TYPO3\CMS\Install\FolderStructure\RootNodeInterface; -class FileNodeTest extends AbstractFolderStructureTestCase +final class FileNodeTest extends AbstractFolderStructureTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php index b2f6ddc9947dd34dc8d5dc02f7a06eb9e68bf6b8..3455d04e9af34570553658f9e23b1743a6615ee9 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Install\FolderStructure\NodeInterface; use TYPO3\CMS\Install\FolderStructure\RootNodeInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LinkNodeTest extends UnitTestCase +final class LinkNodeTest extends UnitTestCase { protected string $testRoot; diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php index 332b84d36ebb76f82dd2613688453f832e545f22..10120ee611548989295e54007e3ed657a66603e8 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Install\FolderStructure\RootNode; use TYPO3\CMS\Install\FolderStructure\RootNodeInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RootNodeTest extends UnitTestCase +final class RootNodeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/FolderStructure/StructureFacadeTest.php b/typo3/sysext/install/Tests/Unit/FolderStructure/StructureFacadeTest.php index 8c357f234f237f9562a836666ede335f13cee9f0..79db7e17f51e97dfd17f676a6211d1fdd49dbf8d 100644 --- a/typo3/sysext/install/Tests/Unit/FolderStructure/StructureFacadeTest.php +++ b/typo3/sysext/install/Tests/Unit/FolderStructure/StructureFacadeTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Install\FolderStructure\RootNode; use TYPO3\CMS\Install\FolderStructure\StructureFacade; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StructureFacadeTest extends UnitTestCase +final class StructureFacadeTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/Service/ClearTableServiceTest.php b/typo3/sysext/install/Tests/Unit/Service/ClearTableServiceTest.php index 0c2af950d3265785363e28b6eb1b5c80854380ff..455a74c462fc7295bc7bdf169c54f558497aa3e6 100644 --- a/typo3/sysext/install/Tests/Unit/Service/ClearTableServiceTest.php +++ b/typo3/sysext/install/Tests/Unit/Service/ClearTableServiceTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Unit\Service; use TYPO3\CMS\Install\Service\ClearTableService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ClearTableServiceTest extends UnitTestCase +final class ClearTableServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php b/typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php index 1aeaefb49bef80d43f5cc035e0787bcceb067040..730b5c12d11ec034d8515b09e614cd20f713c73e 100644 --- a/typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php +++ b/typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Messaging\FlashMessageQueue; use TYPO3\CMS\Install\Service\CoreUpdateService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CoreUpdateServiceTest extends UnitTestCase +final class CoreUpdateServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php b/typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php index c72be194d8248ebe0ee1be6549f5bf289656e9cd..c93639a3d65cf2536e73d48165ea9926326ac2c3 100644 --- a/typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php +++ b/typo3/sysext/install/Tests/Unit/Service/CoreVersionServiceTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Install\CoreVersion\CoreRelease; use TYPO3\CMS\Install\Service\CoreVersionService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CoreVersionServiceTest extends UnitTestCase +final class CoreVersionServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/install/Tests/Unit/Service/Typo3tempFileServiceTest.php b/typo3/sysext/install/Tests/Unit/Service/Typo3tempFileServiceTest.php index b32ece8db276b15a86224d545e9e1eb4b3e67fbe..7917d6457e24ac3688add991313ea3ed468fa65b 100644 --- a/typo3/sysext/install/Tests/Unit/Service/Typo3tempFileServiceTest.php +++ b/typo3/sysext/install/Tests/Unit/Service/Typo3tempFileServiceTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Resource\StorageRepository; use TYPO3\CMS\Install\Service\Typo3tempFileService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Typo3tempFileServiceTest extends UnitTestCase +final class Typo3tempFileServiceTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/install/Tests/Unit/SystemEnvironment/DatabaseCheck/Platform/MySqlTest.php b/typo3/sysext/install/Tests/Unit/SystemEnvironment/DatabaseCheck/Platform/MySqlTest.php index b3bb17cdc7fb0355a8ce62a73e1db28620174b63..869860f3357c256637b43bd02db01cf7fcf524f9 100644 --- a/typo3/sysext/install/Tests/Unit/SystemEnvironment/DatabaseCheck/Platform/MySqlTest.php +++ b/typo3/sysext/install/Tests/Unit/SystemEnvironment/DatabaseCheck/Platform/MySqlTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Install\SystemEnvironment\DatabaseCheck\Platform\MySql; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class MySqlTest extends UnitTestCase +final class MySqlTest extends UnitTestCase { public static function checkMySQLOrMariaDBVersionReportsExpectedStatusDataProvider(): \Generator { diff --git a/typo3/sysext/install/Tests/Unit/SystemEnvironment/ServerResponse/ContentSecurityPolicyHeaderTest.php b/typo3/sysext/install/Tests/Unit/SystemEnvironment/ServerResponse/ContentSecurityPolicyHeaderTest.php index f458e048f4827abb56ec0864f3d044fd9e8cd17c..92b3ebc8759092ed861e4dc5ce1454b04aae6954 100644 --- a/typo3/sysext/install/Tests/Unit/SystemEnvironment/ServerResponse/ContentSecurityPolicyHeaderTest.php +++ b/typo3/sysext/install/Tests/Unit/SystemEnvironment/ServerResponse/ContentSecurityPolicyHeaderTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Unit\SystemEnvironment\ServerResponse; use PHPUnit\Framework\TestCase; use TYPO3\CMS\Install\SystemEnvironment\ServerResponse\ContentSecurityPolicyHeader; -class ContentSecurityPolicyHeaderTest extends TestCase +final class ContentSecurityPolicyHeaderTest extends TestCase { public static function mitigatesCrossSiteScriptingDataProvider(): array { diff --git a/typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L18nDiffsourceToJsonMigrationTest.php b/typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L18nDiffsourceToJsonMigrationTest.php index bc9e5276832a6649e57d8043933f4a9f89762a6e..e41065a1e8d738512ea89c4395c1bcf8f31ce4c7 100644 --- a/typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L18nDiffsourceToJsonMigrationTest.php +++ b/typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L18nDiffsourceToJsonMigrationTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Install\Tests\Unit\Updates\RowUpdater; use TYPO3\CMS\Install\Updates\RowUpdater\L18nDiffsourceToJsonMigration; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class L18nDiffsourceToJsonMigrationTest extends UnitTestCase +final class L18nDiffsourceToJsonMigrationTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/linkvalidator/Tests/Functional/EventListener/CheckBrokenRteLinkEventListenerTest.php b/typo3/sysext/linkvalidator/Tests/Functional/EventListener/CheckBrokenRteLinkEventListenerTest.php index 40341e0a17a15a651a47a331ec36fa1c0c69c428..bd34f6a4ab2c0f8a889b4f33d537d9dc41bef494 100644 --- a/typo3/sysext/linkvalidator/Tests/Functional/EventListener/CheckBrokenRteLinkEventListenerTest.php +++ b/typo3/sysext/linkvalidator/Tests/Functional/EventListener/CheckBrokenRteLinkEventListenerTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Linkvalidator\EventListener\CheckBrokenRteLinkEventListener; use TYPO3\CMS\Linkvalidator\Repository\BrokenLinkRepository; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CheckBrokenRteLinkEventListenerTest extends FunctionalTestCase +final class CheckBrokenRteLinkEventListenerTest extends FunctionalTestCase { protected CheckBrokenRteLinkEventListener $subject; diff --git a/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php b/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php index 13ca5595bd64f2e65fa9519355f746f95dd86d72..18eb12c5d9b5af982fc469ffd87e0d7cd9a55c7b 100644 --- a/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php +++ b/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Linkvalidator\LinkAnalyzer; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class LinkAnalyzerTest extends FunctionalTestCase +final class LinkAnalyzerTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'info', diff --git a/typo3/sysext/linkvalidator/Tests/Unit/Linktype/ExternalLinktypeTest.php b/typo3/sysext/linkvalidator/Tests/Unit/Linktype/ExternalLinktypeTest.php index 13d3f84c0319962ffc44b45d4b340cf8be8570ae..61690fdf70f4e291d00aae292f30c5273c76bed4 100644 --- a/typo3/sysext/linkvalidator/Tests/Unit/Linktype/ExternalLinktypeTest.php +++ b/typo3/sysext/linkvalidator/Tests/Unit/Linktype/ExternalLinktypeTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Linkvalidator\LinkAnalyzer; use TYPO3\CMS\Linkvalidator\Linktype\ExternalLinktype; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ExternalLinktypeTest extends UnitTestCase +final class ExternalLinktypeTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/linkvalidator/Tests/Unit/Linktype/LinktypeRegistryTest.php b/typo3/sysext/linkvalidator/Tests/Unit/Linktype/LinktypeRegistryTest.php index e67e554aaa73b628f994b45ee7ba8694ed5c4b89..02f7fb56cd7460c813eb1e0a68bd15d4fc9a43d2 100644 --- a/typo3/sysext/linkvalidator/Tests/Unit/Linktype/LinktypeRegistryTest.php +++ b/typo3/sysext/linkvalidator/Tests/Unit/Linktype/LinktypeRegistryTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Linkvalidator\Linktype\LinktypeInterface; use TYPO3\CMS\Linkvalidator\Linktype\LinktypeRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class LinktypeRegistryTest extends UnitTestCase +final class LinktypeRegistryTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/lowlevel/Tests/Functional/Clean/CleanUpLocalProcessedFilesTest.php b/typo3/sysext/lowlevel/Tests/Functional/Clean/CleanUpLocalProcessedFilesTest.php index 00466b5594a2e099c4d36e7b24c682d5991192f6..182da0dace18fe0177cb38c77c01b293be5f1282 100644 --- a/typo3/sysext/lowlevel/Tests/Functional/Clean/CleanUpLocalProcessedFilesTest.php +++ b/typo3/sysext/lowlevel/Tests/Functional/Clean/CleanUpLocalProcessedFilesTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Lowlevel\Command\CleanUpLocalProcessedFilesCommand; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; use TYPO3\TestingFramework\Core\Testbase; -class CleanUpLocalProcessedFilesTest extends FunctionalTestCase +final class CleanUpLocalProcessedFilesTest extends FunctionalTestCase { protected ?CleanUpLocalProcessedFilesCommand $subject = null; diff --git a/typo3/sysext/lowlevel/Tests/Functional/ConfigurationModuleProvider/GlobalVariableProviderTest.php b/typo3/sysext/lowlevel/Tests/Functional/ConfigurationModuleProvider/GlobalVariableProviderTest.php index f79db9c9ed99432a3c48e9081878bbe142805e1a..e3188dcd961364cbfa03e912c96a52197709c221 100644 --- a/typo3/sysext/lowlevel/Tests/Functional/ConfigurationModuleProvider/GlobalVariableProviderTest.php +++ b/typo3/sysext/lowlevel/Tests/Functional/ConfigurationModuleProvider/GlobalVariableProviderTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Lowlevel\ConfigurationModuleProvider\GlobalVariableProvider; use TYPO3\CMS\Lowlevel\Event\ModifyBlindedConfigurationOptionsEvent; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class GlobalVariableProviderTest extends FunctionalTestCase +final class GlobalVariableProviderTest extends FunctionalTestCase { /** * @test diff --git a/typo3/sysext/lowlevel/Tests/Unit/Controller/DatabaseIntegrityControllerTest.php b/typo3/sysext/lowlevel/Tests/Unit/Controller/DatabaseIntegrityControllerTest.php index 0259255f3ffa2373d5055fcc43b8290411db01a1..33edf0366ded45386d9777d039eac3853dc3342d 100644 --- a/typo3/sysext/lowlevel/Tests/Unit/Controller/DatabaseIntegrityControllerTest.php +++ b/typo3/sysext/lowlevel/Tests/Unit/Controller/DatabaseIntegrityControllerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Lowlevel\Tests\Unit\Controller; use TYPO3\CMS\Lowlevel\Controller\DatabaseIntegrityController; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DatabaseIntegrityControllerTest extends UnitTestCase +final class DatabaseIntegrityControllerTest extends UnitTestCase { public static function getSubscriptReturnsExpectedValuesDataProvider(): array { diff --git a/typo3/sysext/lowlevel/Tests/Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php b/typo3/sysext/lowlevel/Tests/Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php index 497722642ad1615794caf52df174c16624c3e99d..192643b3a2cda004c12d8a752699664f986d03ca 100644 --- a/typo3/sysext/lowlevel/Tests/Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php +++ b/typo3/sysext/lowlevel/Tests/Unit/Event/ModifyBlindedConfigurationOptionsEventTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Lowlevel\Tests\Unit\Event; use TYPO3\CMS\Lowlevel\Event\ModifyBlindedConfigurationOptionsEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModifyBlindedConfigurationOptionsEventTest extends UnitTestCase +final class ModifyBlindedConfigurationOptionsEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/reactions/Tests/Functional/Reaction/CreateRecordReactionTest.php b/typo3/sysext/reactions/Tests/Functional/Reaction/CreateRecordReactionTest.php index d1f12305573712e840cf9ed3a0acdf7e426651a8..4a0224c4a88714b214ae963dd3a69e5d3dbd7a48 100644 --- a/typo3/sysext/reactions/Tests/Functional/Reaction/CreateRecordReactionTest.php +++ b/typo3/sysext/reactions/Tests/Functional/Reaction/CreateRecordReactionTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Reactions\Reaction\CreateRecordReaction; use TYPO3\CMS\Reactions\Repository\ReactionRepository; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CreateRecordReactionTest extends FunctionalTestCase +final class CreateRecordReactionTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['reactions']; diff --git a/typo3/sysext/reactions/Tests/Functional/ReactionRegistryTest.php b/typo3/sysext/reactions/Tests/Functional/ReactionRegistryTest.php index 9b013f013d1ae3f5ef47864db1a3e3322f7e13f2..1457796511b74dfaf05b64d61323216099f41f12 100644 --- a/typo3/sysext/reactions/Tests/Functional/ReactionRegistryTest.php +++ b/typo3/sysext/reactions/Tests/Functional/ReactionRegistryTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Reactions\Reaction\CreateRecordReaction; use TYPO3\CMS\Reactions\ReactionRegistry; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ReactionRegistryTest extends FunctionalTestCase +final class ReactionRegistryTest extends FunctionalTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php index bd212f198c9898edd5316af65b50d27adfa37e84..88c37b5bef1ad1cd54706a4ac4c37593c481e3c7 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/AdminRecycleTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Recycler\Tests\Functional\Recycle\Pages; use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Recycler\Tests\Functional\Recycle\AbstractRecycleTestCase; -class AdminRecycleTest extends AbstractRecycleTestCase +final class AdminRecycleTest extends AbstractRecycleTestCase { protected function setUp(): void { diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php index ffd0ca51a295c74bdedd38c49daf33f6fd164fc7..c48660e662199d809604a30a0e9f8a64a03fc9d4 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/Pages/UserRecycleTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Recycler\Tests\Functional\Recycle\Pages; use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Recycler\Tests\Functional\Recycle\AbstractRecycleTestCase; -class UserRecycleTest extends AbstractRecycleTestCase +final class UserRecycleTest extends AbstractRecycleTestCase { protected function setUp(): void { diff --git a/typo3/sysext/redirects/Tests/Functional/Controller/ManagementControllerTest.php b/typo3/sysext/redirects/Tests/Functional/Controller/ManagementControllerTest.php index 2d1f33af8070521df635e0a49e93a60892b2d8d5..531f61e19f992c60eb986fdb0c2339941e4c87b5 100644 --- a/typo3/sysext/redirects/Tests/Functional/Controller/ManagementControllerTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Controller/ManagementControllerTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Redirects\Controller\ManagementController; use TYPO3\CMS\Redirects\Event\ModifyRedirectManagementControllerViewDataEvent; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class ManagementControllerTest extends FunctionalTestCase +final class ManagementControllerTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['redirects']; protected ManagementController $subject; diff --git a/typo3/sysext/redirects/Tests/Functional/EventListener/AddPageTypeZeroSourceTest.php b/typo3/sysext/redirects/Tests/Functional/EventListener/AddPageTypeZeroSourceTest.php index c898367aeed38e9e70eee7c777836c4ebbb1bc7e..8c1084c4c2f21a84dbcd15e0b857baf696db53d9 100644 --- a/typo3/sysext/redirects/Tests/Functional/EventListener/AddPageTypeZeroSourceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/EventListener/AddPageTypeZeroSourceTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AddPageTypeZeroSourceTest extends FunctionalTestCase +final class AddPageTypeZeroSourceTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['redirects']; diff --git a/typo3/sysext/redirects/Tests/Functional/EventListener/AddPlainSlugReplacementSourceTest.php b/typo3/sysext/redirects/Tests/Functional/EventListener/AddPlainSlugReplacementSourceTest.php index 80e2edf8b7d71f27af2f3e83fa02f356cd4f3666..40ec915420124f76eb05ba6d8ec0b3b292b7253a 100644 --- a/typo3/sysext/redirects/Tests/Functional/EventListener/AddPlainSlugReplacementSourceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/EventListener/AddPlainSlugReplacementSourceTest.php @@ -29,7 +29,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class AddPlainSlugReplacementSourceTest extends FunctionalTestCase +final class AddPlainSlugReplacementSourceTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['redirects']; diff --git a/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php b/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php index 7639defee5511381d686e27041ee0549f3805ac7..ea2bae697f939c449db115310e737a4c11e45f49 100644 --- a/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php +++ b/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Redirects\Event\RedirectWasHitEvent; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IncrementHitCountTest extends FunctionalTestCase +final class IncrementHitCountTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['redirects']; diff --git a/typo3/sysext/redirects/Tests/Functional/RedirectUpdate/SlugRedirectChangeItemFactoryTest.php b/typo3/sysext/redirects/Tests/Functional/RedirectUpdate/SlugRedirectChangeItemFactoryTest.php index b9d6a2d1299855faea5a75ffbd918aa8489eeac7..2be8cbad815dcec0b7fee395c5653a68c6946934 100644 --- a/typo3/sysext/redirects/Tests/Functional/RedirectUpdate/SlugRedirectChangeItemFactoryTest.php +++ b/typo3/sysext/redirects/Tests/Functional/RedirectUpdate/SlugRedirectChangeItemFactoryTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItemFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class SlugRedirectChangeItemFactoryTest extends FunctionalTestCase +final class SlugRedirectChangeItemFactoryTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['redirects']; diff --git a/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php index 0b1ba668e0ccc37f12c05002cb966fdfbae86533..b9e0427bc8732297f9cfa13432559852d37471d7 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php @@ -27,7 +27,7 @@ use TYPO3\CMS\Redirects\Service\RedirectCacheService; use TYPO3\CMS\Redirects\Service\RedirectService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class IntegrityServiceTest extends FunctionalTestCase +final class IntegrityServiceTest extends FunctionalTestCase { protected bool $resetSingletonInstances = true; protected array $coreExtensionsToLoad = ['redirects']; diff --git a/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php index 816921fdbe74d965f113afa98d40d5e7bbd189ed..1e35e07c3e04dbc180e36159a1132e6c3fa078a0 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php @@ -38,7 +38,7 @@ use TYPO3\CMS\Redirects\Service\RedirectService; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class RedirectServiceTest extends FunctionalTestCase +final class RedirectServiceTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php index 057a290cb422499b871a0a6bb803866ccba1f7c0..9fa2b7cddb84a5a771d6e2cbce8d83123645f873 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php @@ -44,7 +44,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; * is executed in which order. This is somehow clumsy. Either cover proper DataHandler hook execution with * additional tests avoiding the simulation and testing SlugService in indirect way - or refactor them here. */ -class SlugServiceTest extends FunctionalTestCase +final class SlugServiceTest extends FunctionalTestCase { /** * @var SlugService diff --git a/typo3/sysext/redirects/Tests/Functional/WebhookExecutionTest.php b/typo3/sysext/redirects/Tests/Functional/WebhookExecutionTest.php index b4e54c93a888557f34ab8c401d11e6e36dca0e91..0a922171427a92d74422e632ee4940391632895d 100644 --- a/typo3/sysext/redirects/Tests/Functional/WebhookExecutionTest.php +++ b/typo3/sysext/redirects/Tests/Functional/WebhookExecutionTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Http\Uri; use TYPO3\CMS\Redirects\Event\RedirectWasHitEvent; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WebhookExecutionTest extends FunctionalTestCase +final class WebhookExecutionTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'redirects', diff --git a/typo3/sysext/redirects/Tests/Unit/Evaluation/SourceHostTest.php b/typo3/sysext/redirects/Tests/Unit/Evaluation/SourceHostTest.php index 00d6fdc41e3a8b1c8feffb151abddc2cbd8255da..f2b5096ad482d6159a7720f31e2137567923801e 100644 --- a/typo3/sysext/redirects/Tests/Unit/Evaluation/SourceHostTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Evaluation/SourceHostTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Redirects\Tests\Unit\Evaluation; use TYPO3\CMS\Redirects\Evaluation\SourceHost; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SourceHostTest extends UnitTestCase +final class SourceHostTest extends UnitTestCase { public static function evaluateFieldValueWorksWithDifferentInputsDataProvider(): array { diff --git a/typo3/sysext/redirects/Tests/Unit/Event/AfterAutoCreateRedirectHasBeenPersistedEventTest.php b/typo3/sysext/redirects/Tests/Unit/Event/AfterAutoCreateRedirectHasBeenPersistedEventTest.php index 0f28a913b99b3c234edb6a60c50055f68cbaa1a3..0a96449f1da3d089dcc06de3bfc60946f6af4e08 100644 --- a/typo3/sysext/redirects/Tests/Unit/Event/AfterAutoCreateRedirectHasBeenPersistedEventTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Event/AfterAutoCreateRedirectHasBeenPersistedEventTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AfterAutoCreateRedirectHasBeenPersistedEventTest extends UnitTestCase +final class AfterAutoCreateRedirectHasBeenPersistedEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/Event/BeforeRedirectMatchDomainEventTest.php b/typo3/sysext/redirects/Tests/Unit/Event/BeforeRedirectMatchDomainEventTest.php index bcf7c0d0f8eee556582d1520813c6ab8439883bd..62e3cb0e77327d918e3a928c4863eedacf8551dc 100644 --- a/typo3/sysext/redirects/Tests/Unit/Event/BeforeRedirectMatchDomainEventTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Event/BeforeRedirectMatchDomainEventTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Redirects\Tests\Unit\Event; use TYPO3\CMS\Redirects\Event\BeforeRedirectMatchDomainEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class BeforeRedirectMatchDomainEventTest extends UnitTestCase +final class BeforeRedirectMatchDomainEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/Event/ModifyAutoCreateRedirectRecordBeforePersistingEventTest.php b/typo3/sysext/redirects/Tests/Unit/Event/ModifyAutoCreateRedirectRecordBeforePersistingEventTest.php index 154408c6a3c0b0bb61efddbc7f3e2ea6b5aa906d..0edd3b3d34b1978b7c701376e35acfba678e816e 100644 --- a/typo3/sysext/redirects/Tests/Unit/Event/ModifyAutoCreateRedirectRecordBeforePersistingEventTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Event/ModifyAutoCreateRedirectRecordBeforePersistingEventTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModifyAutoCreateRedirectRecordBeforePersistingEventTest extends UnitTestCase +final class ModifyAutoCreateRedirectRecordBeforePersistingEventTest extends UnitTestCase { public function modifyAutoCreateRedirectRecordBeforePersistingGettersReturnInstantiatingValues(): void { diff --git a/typo3/sysext/redirects/Tests/Unit/Event/ModifyRedirectManagementControllerViewDataEventTest.php b/typo3/sysext/redirects/Tests/Unit/Event/ModifyRedirectManagementControllerViewDataEventTest.php index e700b49ca99ea3799d13be633797aea1e91248c3..63976acb0f9d5e72c8115b589d73966a2f62e583 100644 --- a/typo3/sysext/redirects/Tests/Unit/Event/ModifyRedirectManagementControllerViewDataEventTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Event/ModifyRedirectManagementControllerViewDataEventTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Redirects\Event\ModifyRedirectManagementControllerViewDataEvent; use TYPO3\CMS\Redirects\Repository\Demand; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ModifyRedirectManagementControllerViewDataEventTest extends UnitTestCase +final class ModifyRedirectManagementControllerViewDataEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/Event/SlugRedirectChangeItemCreatedEventTest.php b/typo3/sysext/redirects/Tests/Unit/Event/SlugRedirectChangeItemCreatedEventTest.php index c203a8b62854ba41b99f8c16842a883fac3519b5..32b810e03bdd0db95186ddbdb276e22175d47250 100644 --- a/typo3/sysext/redirects/Tests/Unit/Event/SlugRedirectChangeItemCreatedEventTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Event/SlugRedirectChangeItemCreatedEventTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SlugRedirectChangeItemCreatedEventTest extends UnitTestCase +final class SlugRedirectChangeItemCreatedEventTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/FormDataProvider/ValuePickerItemDataProviderTest.php b/typo3/sysext/redirects/Tests/Unit/FormDataProvider/ValuePickerItemDataProviderTest.php index 07bdd3b0e997f0234abb8c82db9417c81e933ce7..e9f483b4d94f14b19011a6abca1eb58582f35691 100644 --- a/typo3/sysext/redirects/Tests/Unit/FormDataProvider/ValuePickerItemDataProviderTest.php +++ b/typo3/sysext/redirects/Tests/Unit/FormDataProvider/ValuePickerItemDataProviderTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Site\SiteFinder; use TYPO3\CMS\Redirects\FormDataProvider\ValuePickerItemDataProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ValuePickerItemDataProviderTest extends UnitTestCase +final class ValuePickerItemDataProviderTest extends UnitTestCase { protected array $sysRedirectResultSet = [ 'tableName' => 'sys_redirect', diff --git a/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/RedirectSourceCollectionTest.php b/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/RedirectSourceCollectionTest.php index 94c0ca90e32e35ddcaec5479f5011ddf4c608bfc..8e44201bb00327448164457d6e3312310308cce5 100644 --- a/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/RedirectSourceCollectionTest.php +++ b/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/RedirectSourceCollectionTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectSourceCollectionTest extends UnitTestCase +final class RedirectSourceCollectionTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/SlugRedirectChangeItemTest.php b/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/SlugRedirectChangeItemTest.php index 48e4a54e8a5872ad3cc70514de97148578815a58..a8702d1b61971bc7070738ae8c749ed285c6372f 100644 --- a/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/SlugRedirectChangeItemTest.php +++ b/typo3/sysext/redirects/Tests/Unit/RedirectUpdate/SlugRedirectChangeItemTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Redirects\RedirectUpdate\RedirectSourceCollection; use TYPO3\CMS\Redirects\RedirectUpdate\SlugRedirectChangeItem; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class SlugRedirectChangeItemTest extends UnitTestCase +final class SlugRedirectChangeItemTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/redirects/Tests/Unit/Repository/DemandTest.php b/typo3/sysext/redirects/Tests/Unit/Repository/DemandTest.php index f92cee2d6724823c771e9ad64f045fc258a3ff76..40011c67d98738d2f52c94e3fc914e68b25b64d7 100644 --- a/typo3/sysext/redirects/Tests/Unit/Repository/DemandTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Repository/DemandTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Redirects\Tests\Unit\Repository; use TYPO3\CMS\Redirects\Repository\Demand; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class DemandTest extends UnitTestCase +final class DemandTest extends UnitTestCase { public static function getParametersRespectsDemandStateStateDataProvider(): array { diff --git a/typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php b/typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php index 945ea91ac0d52869f4da490942ed8e66efe95256..4ac22fa05e5a49a72d5afb86fd677c03e2dfbef1 100644 --- a/typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php +++ b/typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Redirects\Service\RedirectCacheService; use TYPO3\CMS\Redirects\Service\RedirectService; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RedirectServiceTest extends UnitTestCase +final class RedirectServiceTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/redirects/Tests/Unit/ViewHelpers/TargetPageIdViewHelperTest.php b/typo3/sysext/redirects/Tests/Unit/ViewHelpers/TargetPageIdViewHelperTest.php index f148f589f25d563ab48a2a820f78e077ec7bce83..ce507326505e4ce8a20be21c7d4642b4f18e2ffa 100644 --- a/typo3/sysext/redirects/Tests/Unit/ViewHelpers/TargetPageIdViewHelperTest.php +++ b/typo3/sysext/redirects/Tests/Unit/ViewHelpers/TargetPageIdViewHelperTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Fluid\Core\Rendering\RenderingContext; use TYPO3\CMS\Redirects\ViewHelpers\TargetPageIdViewHelper; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TargetPageIdViewHelperTest extends UnitTestCase +final class TargetPageIdViewHelperTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/reports/Tests/Unit/Report/Status/StatusTest.php b/typo3/sysext/reports/Tests/Unit/Report/Status/StatusTest.php index f790d202c295ffebc501947c189f027ef5948bd5..29725cb573f6b473d2ddf148edc0b5197d2154f4 100644 --- a/typo3/sysext/reports/Tests/Unit/Report/Status/StatusTest.php +++ b/typo3/sysext/reports/Tests/Unit/Report/Status/StatusTest.php @@ -34,7 +34,7 @@ use TYPO3\CMS\Reports\Status as StatusValue; use TYPO3\CMS\Reports\StatusProviderInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class StatusTest extends UnitTestCase +final class StatusTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php b/typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php index e0501aaf1b9536e0060cca0145fc3e2a4b36836a..4cf6ead46819bbef4ab2672430baebcec48b4e19 100644 --- a/typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php +++ b/typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Type\ContextualFeedbackSeverity; use TYPO3\CMS\Reports\Report\Status\Typo3Status; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class Typo3StatusTest extends UnitTestCase +final class Typo3StatusTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/rte_ckeditor/Tests/Functional/RecordList/Controller/BrowseLinksControllerTest.php b/typo3/sysext/rte_ckeditor/Tests/Functional/RecordList/Controller/BrowseLinksControllerTest.php index 30516d260b2a63e653a8b36d9fd1d8eb10625691..d15ff9742644a14da9378149fc89db92586e9f45 100644 --- a/typo3/sysext/rte_ckeditor/Tests/Functional/RecordList/Controller/BrowseLinksControllerTest.php +++ b/typo3/sysext/rte_ckeditor/Tests/Functional/RecordList/Controller/BrowseLinksControllerTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\RteCKEditor\Controller\BrowseLinksController; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class BrowseLinksControllerTest extends FunctionalTestCase +final class BrowseLinksControllerTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = [ 'rte_ckeditor', diff --git a/typo3/sysext/rte_ckeditor/Tests/Unit/Service/ScssProcessorTest.php b/typo3/sysext/rte_ckeditor/Tests/Unit/Service/ScssProcessorTest.php index 9f103187c6f34fefef0de11a10f24444794bc0f5..7f9a1b8298f6971e839675c5e835482107b95170 100644 --- a/typo3/sysext/rte_ckeditor/Tests/Unit/Service/ScssProcessorTest.php +++ b/typo3/sysext/rte_ckeditor/Tests/Unit/Service/ScssProcessorTest.php @@ -21,7 +21,7 @@ use ScssPhp\ScssPhp\Compiler; use TYPO3\CMS\RteCKEditor\Service\ScssProcessor; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class ScssProcessorTest extends UnitTestCase +final class ScssProcessorTest extends UnitTestCase { public static function cssIsPrefixedForScssDataProvider(): \Generator { diff --git a/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php b/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php index 7922e2590344133c26fa48acb582d13f0010f8a7..b39cb9faf222c77a19c656f11379719080a339d1 100644 --- a/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php +++ b/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class TaskGroupVisibleFieldsTest extends FunctionalTestCase +final class TaskGroupVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['scheduler']; diff --git a/typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php b/typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php index 404ec860de345bd72fdbd50aa96865837c0fc75f..bb43db833119b5154f5091536b13612ae27a2158 100644 --- a/typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Scheduler\Tests\Unit\CronCommand; use TYPO3\CMS\Scheduler\CronCommand\CronCommand; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CronCommandTest extends UnitTestCase +final class CronCommandTest extends UnitTestCase { /** * @var int timestamp of 1.1.2010 0:00 (Friday), timezone UTC/GMT diff --git a/typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php b/typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php index 226683c8f58e25f8f49c6a728bd48cc76498c432..7f6c32ce2f6bdf74116b136825cefbb6e3a6348c 100644 --- a/typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Scheduler\CronCommand\NormalizeCommand; use TYPO3\CMS\Scheduler\Tests\Unit\CronCommand\AccessibleProxies\NormalizeCommandAccessibleProxy; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class NormalizeCommandTest extends UnitTestCase +final class NormalizeCommandTest extends UnitTestCase { public static function normalizeValidDataProvider(): array { diff --git a/typo3/sysext/scheduler/Tests/Unit/Task/CachingFrameworkGarbageCollectionTest.php b/typo3/sysext/scheduler/Tests/Unit/Task/CachingFrameworkGarbageCollectionTest.php index a363ae33392e8a03604c87e3469f39c31285db23..90d52995b318d44c9d2c2382e9f6010698a0837e 100644 --- a/typo3/sysext/scheduler/Tests/Unit/Task/CachingFrameworkGarbageCollectionTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/Task/CachingFrameworkGarbageCollectionTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class CachingFrameworkGarbageCollectionTest extends UnitTestCase +final class CachingFrameworkGarbageCollectionTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/scheduler/Tests/Unit/Task/ExecuteSchedulableCommandAdditionalFieldProviderTest.php b/typo3/sysext/scheduler/Tests/Unit/Task/ExecuteSchedulableCommandAdditionalFieldProviderTest.php index 742099c288cd9568c0f9535baf77f1b5b03347f5..d4437ddd2e57bce5688abe6388d24ae5fe33eb20 100644 --- a/typo3/sysext/scheduler/Tests/Unit/Task/ExecuteSchedulableCommandAdditionalFieldProviderTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/Task/ExecuteSchedulableCommandAdditionalFieldProviderTest.php @@ -32,7 +32,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * @todo: Turn into functional tests to avoid mocking party and set SchedulerModuleController final when done. */ -class ExecuteSchedulableCommandAdditionalFieldProviderTest extends UnitTestCase +final class ExecuteSchedulableCommandAdditionalFieldProviderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/scheduler/Tests/Unit/Task/TaskSerializerTest.php b/typo3/sysext/scheduler/Tests/Unit/Task/TaskSerializerTest.php index 91076f21bd05b3f8d56504617d2e29cb96f72944..f30d66e47620907a73ec9348d51497e43b3b198c 100644 --- a/typo3/sysext/scheduler/Tests/Unit/Task/TaskSerializerTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/Task/TaskSerializerTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Scheduler\Task\TaskSerializer; use TYPO3\CMS\Scheduler\Tests\Unit\Task\Fixtures\TestTask; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TaskSerializerTest extends UnitTestCase +final class TaskSerializerTest extends UnitTestCase { public static function dataIsDeserializedDataProvider(): array { diff --git a/typo3/sysext/scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php b/typo3/sysext/scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php index 47a71093b2bd8385f77991a113a984d18b410192..1054b2f85399f7ce1b232b52137011a7c80a6acb 100644 --- a/typo3/sysext/scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php +++ b/typo3/sysext/scheduler/Tests/Unit/Validation/Validator/TaskValidatorTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Scheduler\Task\AbstractTask; use TYPO3\CMS\Scheduler\Validation\Validator\TaskValidator; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TaskValidatorTest extends UnitTestCase +final class TaskValidatorTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php b/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php index a37054ab2deb32cd9ac0acd025d11ad87c3391d8..86342d130d6d152f9452702939a5570e0dfb144f 100644 --- a/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\Internal\TypoScrip use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class CanonicalGeneratorTest extends FunctionalTestCase +final class CanonicalGeneratorTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php b/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php index dd9ba5afe2516463342857ad53368140ba025f4b..9a4b03e897c22ac42d8180e6a7028533b299dfb9 100644 --- a/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\DataHandling\Scenario\DataH use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class HrefLangGeneratorTest extends FunctionalTestCase +final class HrefLangGeneratorTest extends FunctionalTestCase { use SiteBasedTestTrait; diff --git a/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagGeneratorTest.php b/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagGeneratorTest.php index 8cb94257598252905f6abfdd289d507c3aee3cd6..29e3120794fc3c14c8c952936bcc3ecd1ba40fa8 100644 --- a/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagGeneratorTest.php @@ -30,7 +30,7 @@ use TYPO3\CMS\Install\Configuration\Image\GraphicsMagickPreset; use TYPO3\CMS\Seo\MetaTag\MetaTagGenerator; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class MetaTagGeneratorTest extends FunctionalTestCase +final class MetaTagGeneratorTest extends FunctionalTestCase { private MetaTagGenerator $subject; private ResourceStorage $defaultStorage; diff --git a/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagTest.php b/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagTest.php index d5d0077afec2079d2b0e1fe0145d92f44d8d3edb..841893293d4be05600226b99225ebea01a7b6b20 100644 --- a/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagTest.php +++ b/typo3/sysext/seo/Tests/Functional/MetaTag/MetaTagTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; /** * Functional test for the DataHandler */ -class MetaTagTest extends AbstractTestCase +final class MetaTagTest extends AbstractTestCase { protected function setUp(): void { diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php index fe28008ba64f26c6565a57da2c2fff90cf1a38c0..3967f4615e4b18b170babe37057603f0a2bbb415 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; /** * Contains functional tests for the XmlSitemap Index */ -class XmlSitemapIndexTest extends AbstractTestCase +final class XmlSitemapIndexTest extends AbstractTestCase { protected array $coreExtensionsToLoad = ['seo']; diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesTest.php index 0a38a541a575a7fea190b73d8e54aff85efcb652..17f01786c69e6735f1b74559f8ae64f52c0b1f43 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Seo\Tests\Functional\XmlSitemap; /** * Contains functional tests for the XmlSitemap Index */ -class XmlSitemapPagesTest extends AbstractXmlSitemapPagesTestCase +final class XmlSitemapPagesTest extends AbstractXmlSitemapPagesTestCase { protected array $configurationToUseInTestInstance = [ 'FE' => [ diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php index daf92f529c52ae49e3349adaa35f3b69cbcc4001..412baade8ec5135cb39704deb2c7d43111680ef8 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php @@ -21,7 +21,7 @@ namespace TYPO3\CMS\Seo\Tests\Functional\XmlSitemap; * Contains functional tests for the XmlSitemap Index with * $GLOBALS['TYPO3_CONF_VARS']['FE']['hidePagesIfNotTranslatedByDefault'] = true */ -class XmlSitemapPagesWithHideIfNotTranslatedTest extends AbstractXmlSitemapPagesTestCase +final class XmlSitemapPagesWithHideIfNotTranslatedTest extends AbstractXmlSitemapPagesTestCase { /** * This inverts the meaning of the diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php index d2e3fadf40a36a76c7eb31653355857f0fa24847..3b38cd9b4fa4a9e7d5e9d17e934e3607a5674766 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; /** * Contains functional tests for the XmlSitemap Index */ -class XmlSitemapRecordsTest extends AbstractTestCase +final class XmlSitemapRecordsTest extends AbstractTestCase { protected array $coreExtensionsToLoad = ['seo']; diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php index d0cb01b1e8c959d821faef4c84f30f376488fe52..4ef8742af1440b1b66da188c3b982e21d8289256 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Seo\Tests\Functional\XmlSitemap; use TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase; use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; -class XmlSitemapXslTest extends AbstractTestCase +final class XmlSitemapXslTest extends AbstractTestCase { protected array $coreExtensionsToLoad = ['seo']; diff --git a/typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php b/typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php index ce2d4265a34f8d0d2929314627b0bbd0be22c593..ff17349e75751943d07b476783ba8b1eb5562543 100644 --- a/typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Unit/HrefLang/HrefLangGeneratorTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Seo\HrefLang\HrefLangGenerator; use TYPO3\TestingFramework\Core\AccessibleObjectInterface; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class HrefLangGeneratorTest extends UnitTestCase +final class HrefLangGeneratorTest extends UnitTestCase { protected MockObject&AccessibleObjectInterface&HrefLangGenerator $subject; diff --git a/typo3/sysext/seo/Tests/Unit/MetaTag/OpenGraphMetaTagManagerTest.php b/typo3/sysext/seo/Tests/Unit/MetaTag/OpenGraphMetaTagManagerTest.php index 25af329b2f30c7e6f8b4735d9e6ca50e97a7e07b..95235ed872f991ac5fd4be16264e753605784778 100644 --- a/typo3/sysext/seo/Tests/Unit/MetaTag/OpenGraphMetaTagManagerTest.php +++ b/typo3/sysext/seo/Tests/Unit/MetaTag/OpenGraphMetaTagManagerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Seo\Tests\Unit\MetaTag; use TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class OpenGraphMetaTagManagerTest extends UnitTestCase +final class OpenGraphMetaTagManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/seo/Tests/Unit/MetaTag/TwitterCardMetaTagManagerTest.php b/typo3/sysext/seo/Tests/Unit/MetaTag/TwitterCardMetaTagManagerTest.php index a64a2746f9b5aa4d24b703eecaf275c8fdfc6c8e..d8ab1ea6108e2c779125a09921f27877adc31085 100644 --- a/typo3/sysext/seo/Tests/Unit/MetaTag/TwitterCardMetaTagManagerTest.php +++ b/typo3/sysext/seo/Tests/Unit/MetaTag/TwitterCardMetaTagManagerTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Seo\Tests\Unit\MetaTag; use TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class TwitterCardMetaTagManagerTest extends UnitTestCase +final class TwitterCardMetaTagManagerTest extends UnitTestCase { /** * @test diff --git a/typo3/sysext/seo/Tests/Unit/XmlSitemap/PagesXmlSitemapDataProviderTest.php b/typo3/sysext/seo/Tests/Unit/XmlSitemap/PagesXmlSitemapDataProviderTest.php index 1ab99b865af0d8f225c2f0aac6b2b94c7721b49f..e3f2d2f2ace3d2c1066f1986ed5dd85412a041d0 100644 --- a/typo3/sysext/seo/Tests/Unit/XmlSitemap/PagesXmlSitemapDataProviderTest.php +++ b/typo3/sysext/seo/Tests/Unit/XmlSitemap/PagesXmlSitemapDataProviderTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; use TYPO3\CMS\Seo\XmlSitemap\PagesXmlSitemapDataProvider; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class PagesXmlSitemapDataProviderTest extends UnitTestCase +final class PagesXmlSitemapDataProviderTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php b/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php index 2d73560f330becba231d6f18897c960fe0dcc827..70dc2e7d195a6fd726c1667e7740edea59a86a42 100644 --- a/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php +++ b/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php @@ -21,7 +21,7 @@ use TYPO3\CMS\Backend\Tests\Functional\Form\FormTestService; use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class NoteVisibleFieldsTest extends FunctionalTestCase +final class NoteVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['sys_note']; diff --git a/typo3/sysext/t3editor/Tests/Unit/Registry/AddonRegistryTest.php b/typo3/sysext/t3editor/Tests/Unit/Registry/AddonRegistryTest.php index b2161cca37b966395792a56271e083cf0a1c32de..6a7417324a0db260c3ffb4d01bdaefc7cdfe9e43 100644 --- a/typo3/sysext/t3editor/Tests/Unit/Registry/AddonRegistryTest.php +++ b/typo3/sysext/t3editor/Tests/Unit/Registry/AddonRegistryTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Unit test class for Registry\AddonRegistry */ -class AddonRegistryTest extends UnitTestCase +final class AddonRegistryTest extends UnitTestCase { protected AddonRegistry $subject; diff --git a/typo3/sysext/t3editor/Tests/Unit/Registry/ModeRegistryTest.php b/typo3/sysext/t3editor/Tests/Unit/Registry/ModeRegistryTest.php index c6cba78b005ac1a6da9b90c0bd952f1ce72a2b71..930b1f5df323731864c04195ff7edac11d9c4781 100644 --- a/typo3/sysext/t3editor/Tests/Unit/Registry/ModeRegistryTest.php +++ b/typo3/sysext/t3editor/Tests/Unit/Registry/ModeRegistryTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase; /** * Unit test class for Registry\ModeRegistry */ -class ModeRegistryTest extends UnitTestCase +final class ModeRegistryTest extends UnitTestCase { protected ModeRegistry $subject; diff --git a/typo3/sysext/webhooks/Tests/Unit/Factory/WebhookInstructionFactoryTest.php b/typo3/sysext/webhooks/Tests/Unit/Factory/WebhookInstructionFactoryTest.php index 3821cff7aed8cfec2a9daa658d6a14c81d38ba0a..0fa3371adbf6b7bd99be5c8c6efe45e27b75f65d 100644 --- a/typo3/sysext/webhooks/Tests/Unit/Factory/WebhookInstructionFactoryTest.php +++ b/typo3/sysext/webhooks/Tests/Unit/Factory/WebhookInstructionFactoryTest.php @@ -23,7 +23,7 @@ use TYPO3\CMS\Webhooks\Model\WebhookType; use TYPO3\CMS\Webhooks\WebhookTypesRegistry; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class WebhookInstructionFactoryTest extends UnitTestCase +final class WebhookInstructionFactoryTest extends UnitTestCase { /** * Simulate a tt_content record diff --git a/typo3/sysext/workspaces/Tests/Functional/EventListener/PageTreeItemsHighlighterTest.php b/typo3/sysext/workspaces/Tests/Functional/EventListener/PageTreeItemsHighlighterTest.php index 01bd64fa5b1996aff9a65d94f18e7257c8124f48..294099ac357a82648800472a3b07f3cf2042ad9e 100644 --- a/typo3/sysext/workspaces/Tests/Functional/EventListener/PageTreeItemsHighlighterTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/EventListener/PageTreeItemsHighlighterTest.php @@ -28,7 +28,7 @@ use TYPO3\CMS\Workspaces\EventListener\PageTreeItemsHighlighter; use TYPO3\CMS\Workspaces\Service\WorkspaceService; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class PageTreeItemsHighlighterTest extends FunctionalTestCase +final class PageTreeItemsHighlighterTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php b/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php index a9b29f2ca4dcafcb7ff374f66245a62e9a90d744..c9fbe9e565cc7ed2aedbd080c2df374f524e198c 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * DataHandlerHook test - Contains scenarios that do not fit into DataHandler/ modify/publish/... scenarios */ -class DataHandlerHookTest extends FunctionalTestCase +final class DataHandlerHookTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php b/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php index d35abbba073d0cf702340b1d62130c51696ef62e..ba273fd8b2ea5bb8078eb4cf521a3b4564803bb6 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php @@ -24,7 +24,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; /** * Workspace service test */ -class WorkspaceServiceTest extends FunctionalTestCase +final class WorkspaceServiceTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php index 16ca9654a9dd90386059276b7c4d68de84357c0d..25d9942a4b125d4500f12fc5d38f3608c35da495 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WorkspaceStageVisibleFieldsTest extends FunctionalTestCase +final class WorkspaceStageVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php index 09d7ac9751b6bd8cb0525766a44f1180bdda795d..51e04709ef86b6cd1d05e6d708bed13ce914965e 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Localization\LanguageServiceFactory; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; -class WorkspaceVisibleFieldsTest extends FunctionalTestCase +final class WorkspaceVisibleFieldsTest extends FunctionalTestCase { protected array $coreExtensionsToLoad = ['workspaces']; diff --git a/typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php b/typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php index 429d270a9b08ee8ac0ad6850d8252faca9064f35..07cedccbd572f5728b287a6bad658acba656ac08 100644 --- a/typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php +++ b/typo3/sysext/workspaces/Tests/Unit/Controller/Remote/RemoteServerTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Workspaces\Controller\Remote\RemoteServer; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class RemoteServerTest extends UnitTestCase +final class RemoteServerTest extends UnitTestCase { protected bool $resetSingletonInstances = true; diff --git a/typo3/sysext/workspaces/Tests/Unit/Domain/Model/WorkspaceRecordTest.php b/typo3/sysext/workspaces/Tests/Unit/Domain/Model/WorkspaceRecordTest.php index deb001c6f0c381e8d7a5f0203f6025641a4398cf..4eebfe39a9438eb6538a8151e8e0904a4ffca5be 100644 --- a/typo3/sysext/workspaces/Tests/Unit/Domain/Model/WorkspaceRecordTest.php +++ b/typo3/sysext/workspaces/Tests/Unit/Domain/Model/WorkspaceRecordTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Workspaces\Domain\Record\AbstractRecord; use TYPO3\CMS\Workspaces\Domain\Record\WorkspaceRecord; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class WorkspaceRecordTest extends UnitTestCase +final class WorkspaceRecordTest extends UnitTestCase { protected function setUp(): void { diff --git a/typo3/sysext/workspaces/Tests/Unit/Event/AfterRecordPublishedEventTest.php b/typo3/sysext/workspaces/Tests/Unit/Event/AfterRecordPublishedEventTest.php index b46cfbd2992083a760b5c30f7a2ce5a59f312419..7b6def29f08db2ed9bddcb0e5e172895e2a58f75 100644 --- a/typo3/sysext/workspaces/Tests/Unit/Event/AfterRecordPublishedEventTest.php +++ b/typo3/sysext/workspaces/Tests/Unit/Event/AfterRecordPublishedEventTest.php @@ -20,7 +20,7 @@ namespace TYPO3\CMS\Workspaces\Tests\Unit\Event; use TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent; use TYPO3\TestingFramework\Core\Unit\UnitTestCase; -class AfterRecordPublishedEventTest extends UnitTestCase +final class AfterRecordPublishedEventTest extends UnitTestCase { /** * @test