From 73fbce5a43225beb17c65219bacd063807ccf81d Mon Sep 17 00:00:00 2001 From: Wouter Wolters <typo3@wouterwolters.nl> Date: Sun, 28 Nov 2021 15:56:25 +0100 Subject: [PATCH] [TASK] Adapt to strict FunctionalTestCase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adapt to a patch in typo3/testing-framework, thus update of typo3/testing-framework in composer.lock is mantandory in this patch. Used command: composer u typo3/testing-framework Resolves: #96172 Releases: main Change-Id: I9c9a08eca10a836b450cc1717c02cb7afa6be01e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72342 Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> --- composer.lock | 10 +++++----- .../Tests/Functional/Clipboard/ClipboardTest.php | 2 +- .../SiteConfigurationOverridesTest.php | 4 ++-- .../Controller/FormInlineAjaxControllerTest.php | 2 +- .../Functional/Controller/MfaAjaxControllerTest.php | 2 +- .../Controller/MfaConfigurationControllerTest.php | 2 +- .../Tests/Functional/Controller/MfaControllerTest.php | 2 +- .../Functional/Controller/MfaSetupControllerTest.php | 2 +- .../Controller/Page/LocalizationControllerTest.php | 2 +- .../Functional/Controller/Page/TreeControllerTest.php | 4 ++-- .../Controller/ResetPasswordControllerTest.php | 2 +- .../Functional/Form/FormDataProvider/TcaGroupTest.php | 2 +- .../backend/Tests/Functional/Routing/RouterTest.php | 2 +- .../View/Drawing/BackendLayoutRendererTest.php | 2 +- .../ViewHelpers/Link/EditRecordViewHelperTest.php | 2 +- .../ViewHelpers/Link/NewRecordViewHelperTest.php | 2 +- .../ViewHelpers/Mfa/IfHasStateViewHelperTest.php | 2 +- .../ViewHelpers/Uri/EditRecordViewHelperTest.php | 2 +- .../ViewHelpers/Uri/NewRecordViewHelperTest.php | 2 +- .../Functional/ViewHelpers/MfaStatusViewHelperTest.php | 2 +- .../Authentication/BackendUserAuthenticationTest.php | 2 +- .../Mfa/Provider/RecoveryCodesProviderTest.php | 2 +- .../Functional/Cache/Backend/MemcachedBackendTest.php | 2 +- .../Functional/Cache/Backend/RedisBackendTest.php | 2 +- .../Cache/Backend/Typo3DatabaseBackendTest.php | 2 +- .../Functional/Cache/Core/ClassAliasLoaderTest.php | 4 ++-- .../Functional/Cache/Frontend/VariableFrontendTest.php | 2 +- .../Category/Collection/CategoryCollectionTest.php | 2 +- .../Tests/Functional/Command/CacheFlushCommandTest.php | 2 +- .../DataHandling/AbstractDataHandlerActionTestCase.php | 2 +- .../Category/ManyToMany/AbstractActionTestCase.php | 2 +- .../Category/OneToMany/AbstractActionTestCase.php | 2 +- .../Category/OneToOne/AbstractActionTestCase.php | 2 +- .../DataHandler/CheckboxValidationTest.php | 4 ++-- .../DataHandling/DataHandler/DefaultValuesTest.php | 2 +- .../DataHandler/DeleteTranslatedSubpagesTest.php | 2 +- .../DataHandler/GetUniqueTranslationTest.php | 2 +- .../Functional/DataHandling/DataHandler/HookTest.php | 2 +- .../DataHandling/DataHandler/SecurityTest.php | 2 +- .../DataHandling/DataHandler/SlugUniqueTest.php | 2 +- .../DataResolving/PlainDataResolverTest.php | 2 +- .../DataHandling/FAL/AbstractActionTestCase.php | 2 +- .../Functional/DataHandling/Flexform/ActionTest.php | 2 +- .../DataHandling/FlexformIrre/ActionTest.php | 6 +++--- .../DataHandling/Group/AbstractActionTestCase.php | 2 +- .../DataHandling/IRRE/CSV/AbstractActionTestCase.php | 2 +- .../IRRE/ForeignField/AbstractActionTestCase.php | 2 +- .../DataHandling/ManyToMany/AbstractActionTestCase.php | 2 +- .../DataHandling/Regular/AbstractActionTestCase.php | 2 +- .../Functional/DataHandling/Regular/CheckValueTest.php | 2 +- .../Regular/CheckValueTestForCheckboxesTest.php | 2 +- .../Regular/CheckValueTestForSelectTest.php | 2 +- .../Regular/Hooks/PagesTsConfigGuardTest.php | 2 +- .../DataHandling/Regular/PagePermissionTest.php | 2 +- .../DataHandling/Select/AbstractActionTestCase.php | 2 +- .../DataHandling/SelectFlex/AbstractActionTestCase.php | 2 +- .../Functional/DataHandling/Slug/SlugHelperTest.php | 2 +- .../DataHandling/Slug/SlugHelperUniqueTest.php | 2 +- .../Query/Expression/ExpressionBuilderTest.php | 2 +- .../Tests/Functional/Database/ReferenceIndexTest.php | 2 +- .../Database/ReferenceIndexWorkspaceLoadedTest.php | 4 ++-- .../core/Tests/Functional/Error/ErrorHandlerTest.php | 4 ++-- .../Functional/Html/DefaultSanitizerBuilderTest.php | 2 +- .../Functional/IO/PharStreamWrapperInterceptorTest.php | 4 ++-- .../Tests/Functional/Imaging/ImageMagickFileTest.php | 2 +- .../Functional/Localization/LanguageServiceTest.php | 6 +++--- .../core/Tests/Functional/Mail/FluidEmailTest.php | 4 ++-- .../core/Tests/Functional/Page/PageRendererTest.php | 2 +- .../Functional/RateLimiter/RateLimiterFactoryTest.php | 2 +- .../Functional/Resource/Security/SvgSanitizerTest.php | 2 +- .../Functional/Service/Archive/ZipServiceTest.php | 2 +- .../Session/Backend/RedisSessionBackendTest.php | 2 +- .../TypoScript/Parser/TypoScriptParserTest.php | 2 +- .../Tests/Functional/Utility/RootlineUtilityTest.php | 2 +- .../ViewHelpers/IconForRecordViewHelperTest.php | 2 +- .../Functional/ViewHelpers/IconViewHelperTest.php | 2 +- .../RequestHandlerConfigurationFactoryTest.php | 2 +- .../Mvc/Controller/ActionControllerArgumentTest.php | 2 +- .../Functional/Mvc/Controller/ActionControllerTest.php | 2 +- .../Mvc/Controller/ControllerArgumentsMappingTest.php | 2 +- .../Mvc/Validation/ActionControllerValidationTest.php | 2 +- .../Functional/Pagination/QueryResultPaginatorTest.php | 2 +- .../extbase/Tests/Functional/Persistence/AddTest.php | 2 +- .../extbase/Tests/Functional/Persistence/CountTest.php | 2 +- .../Tests/Functional/Persistence/EnableFieldsTest.php | 2 +- .../Persistence/Generic/Mapper/DataMapFactoryTest.php | 4 ++-- .../Persistence/Generic/Mapper/DataMapperTest.php | 2 +- .../extbase/Tests/Functional/Persistence/InTest.php | 2 +- .../Tests/Functional/Persistence/IsDirtyTest.php | 2 +- .../Tests/Functional/Persistence/OperatorTest.php | 2 +- .../Functional/Persistence/QueryLocalizedDataTest.php | 2 +- .../Tests/Functional/Persistence/QueryParserTest.php | 2 +- .../Tests/Functional/Persistence/RelationTest.php | 2 +- .../Persistence/TranslatedSiteContentTest.php | 4 ++-- .../Tests/Functional/Persistence/TranslationTest.php | 2 +- .../Tests/Functional/Persistence/WorkspaceTest.php | 4 ++-- .../Tests/Functional/Property/PropertyMapperTest.php | 2 +- .../Property/TypeConverter/ArrayConverterTest.php | 2 +- .../Property/TypeConverter/BooleanConverterTest.php | 2 +- .../Property/TypeConverter/DateTimeConverterTest.php | 2 +- .../Property/TypeConverter/FloatConverterTest.php | 2 +- .../Property/TypeConverter/IntegerConverterTest.php | 2 +- .../Property/TypeConverter/ObjectConverterTest.php | 2 +- .../TypeConverter/ObjectStorageConverterTest.php | 2 +- .../TypeConverter/PersistentObjectConverterTest.php | 2 +- .../Property/TypeConverter/StringConverterTest.php | 2 +- .../Tests/Functional/Service/ExtensionServiceTest.php | 2 +- .../Functional/Validation/ValidatorResolverTest.php | 2 +- .../Repository/FrontendUserGroupRepositoryTest.php | 2 +- .../Domain/Repository/FrontendUserRepositoryTest.php | 2 +- .../Tests/Functional/Tca/ContentVisibleFieldsTest.php | 2 +- .../Functional/Tca/FileMetadataVisibleFieldsTest.php | 2 +- .../EscapeChildrenRenderingStandaloneTest.php | 4 ++-- .../Tests/Functional/EscapeChildrenRenderingTest.php | 4 ++-- .../fluid/Tests/Functional/View/TemplatesPathsTest.php | 4 ++-- .../Functional/ViewHelpers/Asset/CssViewHelperTest.php | 2 +- .../ViewHelpers/Asset/ScriptViewHelperTest.php | 2 +- .../ViewHelpers/Be/Labels/CshViewHelperTest.php | 2 +- .../Functional/ViewHelpers/Be/LinkViewHelperTest.php | 2 +- .../Be/Security/IfAuthenticatedViewHelperTest.php | 2 +- .../Be/Security/IfHasRoleViewHelperTest.php | 2 +- .../Functional/ViewHelpers/Be/UriViewHelperTest.php | 2 +- .../ViewHelpers/Form/ButtonViewHelperTest.php | 2 +- .../ViewHelpers/Form/HiddenViewHelperTest.php | 2 +- .../ViewHelpers/Form/PasswordViewHelperTest.php | 2 +- .../ViewHelpers/Form/Select/OptionViewHelperTest.php | 2 +- .../ViewHelpers/Form/SubmitViewHelperTest.php | 2 +- .../ViewHelpers/Format/BytesViewHelperTest.php | 2 +- .../ViewHelpers/Format/CaseViewHelperTest.php | 2 +- .../ViewHelpers/Format/CropViewHelperTest.php | 2 +- .../ViewHelpers/Format/CurrencyViewHelperTest.php | 2 +- .../ViewHelpers/Format/DateViewHelperTest.php | 2 +- .../Format/HtmlentitiesDecodeViewHelperTest.php | 2 +- .../ViewHelpers/Format/HtmlentitiesViewHelperTest.php | 2 +- .../ViewHelpers/Format/Nl2brViewHelperTest.php | 2 +- .../ViewHelpers/Format/NumberViewHelperTest.php | 2 +- .../ViewHelpers/Format/PaddingViewHelperTest.php | 2 +- .../ViewHelpers/Format/StripTagsViewHelperTest.php | 2 +- .../ViewHelpers/Format/UrlencodeViewHelperTest.php | 2 +- .../ViewHelpers/Link/ExternalViewHelperTest.php | 2 +- .../Functional/ViewHelpers/Link/FileViewHelperTest.php | 4 ++-- .../ViewHelpers/Sanitize/HtmlViewHelperTest.php | 2 +- .../Security/IfAuthenticatedViewHelperTest.php | 2 +- .../ViewHelpers/Security/IfHasRoleViewHelperTest.php | 2 +- .../Functional/ViewHelpers/TranslateViewHelperTest.php | 2 +- .../ViewHelpers/Uri/ExternalViewHelperTest.php | 2 +- .../ViewHelpers/Uri/ResourceViewHelperTest.php | 2 +- .../Functional/Rendering/SecureHtmlRenderingTest.php | 4 ++-- .../Tests/Functional/Tca/ContentVisibleFieldsTest.php | 2 +- .../Rendering/SecureHtmlRenderingTest.php | 4 ++-- .../Mvc/Validation/MimeTypeValidatorTest.php | 2 +- .../ViewHelpers/UploadedResourceViewHelperTest.php | 4 ++-- .../ContentObject/FluidTemplateContentObjectTest.php | 4 ++-- .../Rendering/LocalizedSiteContentRenderingTest.php | 4 ++-- .../Functional/Rendering/TitleTagRenderingTest.php | 4 ++-- .../Functional/Rendering/UriPrefixRenderingTest.php | 4 ++-- .../Tests/Functional/SiteHandling/AbstractTestCase.php | 4 ++-- .../Tests/Functional/SiteHandling/EidRequestTest.php | 2 +- .../Functional/SiteHandling/SlugSiteRequestTest.php | 2 +- .../Functional/SiteHandling/TypoLinkGeneratorTest.php | 2 +- .../Tests/Functional/AbstractImportExportTestCase.php | 2 +- .../Tests/Functional/Export/ExportPageTreeViewTest.php | 2 +- .../Functional/Export/IrreTutorialRecordsTest.php | 2 +- .../Tests/Functional/Export/PagesAndTtContentTest.php | 4 ++-- .../Export/PagesAndTtContentWithImagesTest.php | 2 +- .../PagesAndTtContentWithRelationsAndSoftrefsTest.php | 2 +- typo3/sysext/impexp/Tests/Functional/ExportTest.php | 4 ++-- .../Functional/Import/IrreTutorialRecordsTest.php | 2 +- ...PagesAndTtContentWithImagesInFilledDatabaseTest.php | 4 ++-- .../PagesAndTtContentWithRteImagesAndFileLinkTest.php | 2 +- .../impexp/Tests/Functional/ImportExportTest.php | 2 +- typo3/sysext/impexp/Tests/Functional/ImportTest.php | 2 +- .../Controller/BackendModuleControllerTest.php | 2 +- .../Functional/Service/Typo3tempFileServiceTest.php | 2 +- .../Service/WebServerConfigurationFileServiceTest.php | 2 +- .../RowUpdater/WorkspaceNewPlaceholderRemovalTest.php | 4 ++-- .../Updates/ShortcutRecordsMigrationTest.php | 2 +- .../ViewHelpers/Format/PhpErrorCodeViewHelperTest.php | 2 +- .../Tests/Functional/LinkAnalyzerTest.php | 2 +- .../Functional/Repository/BrokenLinkRepositoryTest.php | 2 +- .../Functional/Recycle/AbstractRecycleTestCase.php | 4 ++-- .../Tests/Functional/Task/Pages/CleanerTaskTest.php | 2 +- .../Functional/EventListener/IncrementHitCountTest.php | 2 +- .../Functional/Repository/RedirectRepositoryTest.php | 2 +- .../Tests/Functional/Service/IntegrityServiceTest.php | 2 +- .../Tests/Functional/Service/RedirectServiceTest.php | 2 +- .../Tests/Functional/Service/SlugServiceTest.php | 2 +- .../Functional/Tca/TaskGroupVisibleFieldsTest.php | 2 +- .../Functional/Canonical/CanonicalGeneratorTest.php | 4 ++-- .../Functional/HrefLang/HrefLangGeneratorTest.php | 2 +- .../XmlSitemap/AbstractXmlSitemapPagesTest.php | 2 +- .../Functional/XmlSitemap/XmlSitemapIndexTest.php | 2 +- .../XmlSitemapPagesWithHideIfNotTranslatedTest.php | 2 +- .../Functional/XmlSitemap/XmlSitemapRecordsTest.php | 2 +- .../Tests/Functional/XmlSitemap/XmlSitemapXslTest.php | 2 +- .../Tests/Functional/Tca/NoteVisibleFieldsTest.php | 2 +- .../DataHandling/FAL/AbstractActionTestCase.php | 2 +- .../DataHandling/Group/AbstractActionTestCase.php | 2 +- .../DataHandling/IRRE/CSV/AbstractActionTestCase.php | 2 +- .../IRRE/ForeignField/AbstractActionTestCase.php | 2 +- .../DataHandling/ManyToMany/AbstractActionTestCase.php | 2 +- .../DataHandling/Regular/AbstractActionTestCase.php | 2 +- .../DataHandling/Select/AbstractActionTestCase.php | 2 +- .../DataHandling/SelectFlex/AbstractActionTestCase.php | 2 +- .../Tests/Functional/Hook/DataHandlerHookTest.php | 2 +- .../Tests/Functional/Service/WorkspaceServiceTest.php | 2 +- .../Functional/Tca/WorkspaceStageVisibleFieldsTest.php | 2 +- .../Functional/Tca/WorkspaceVisibleFieldsTest.php | 2 +- 208 files changed, 245 insertions(+), 245 deletions(-) diff --git a/composer.lock b/composer.lock index 4920ab46e423..acad7e3603ef 100644 --- a/composer.lock +++ b/composer.lock @@ -8250,18 +8250,18 @@ "source": { "type": "git", "url": "https://github.com/TYPO3/testing-framework.git", - "reference": "e45ee97112096c5a902093cc9e2a4c07af1cb49e" + "reference": "50468eef717d2207e516e60d843b536a8e5f64d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/e45ee97112096c5a902093cc9e2a4c07af1cb49e", - "reference": "e45ee97112096c5a902093cc9e2a4c07af1cb49e", + "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/50468eef717d2207e516e60d843b536a8e5f64d6", + "reference": "50468eef717d2207e516e60d843b536a8e5f64d6", "shasum": "" }, "require": { "guzzlehttp/psr7": "^1.7 || ^2.0", "mikey179/vfsstream": "~1.6.10", - "php": "^7.4 || ^8.0", + "php": "^8.1", "phpunit/phpunit": "^9.5.10", "psr/container": "^1.0", "typo3/cms-backend": "12.*.*@dev", @@ -8311,7 +8311,7 @@ "issues": "https://github.com/TYPO3/testing-framework/issues", "source": "https://github.com/TYPO3/testing-framework/tree/main" }, - "time": "2021-12-19T10:34:08+00:00" + "time": "2022-01-25T18:24:03+00:00" } ], "aliases": [], diff --git a/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php b/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php index 8eb8703b4463..598ef93f8c42 100644 --- a/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php +++ b/typo3/sysext/backend/Tests/Functional/Clipboard/ClipboardTest.php @@ -36,7 +36,7 @@ class ClipboardTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; private Clipboard $subject; private BackendUserAuthentication $backendUser; diff --git a/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php b/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php index cb9f6fc2b3fd..b95dad5bdc42 100644 --- a/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php +++ b/typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/SiteConfigurationOverridesTest.php @@ -25,7 +25,7 @@ class SiteConfigurationOverridesTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** @var array */ protected array $subject; @@ -33,7 +33,7 @@ class SiteConfigurationOverridesTest extends FunctionalTestCase /** * @var string[] */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/Fixtures/Extensions/conf_overriding/a', 'typo3/sysext/backend/Tests/Functional/Configuration/SiteConfiguration/Fixtures/Extensions/conf_overriding/b', ]; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php index 92d3ea4194ab..1bf1310beaa4 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/FormInlineAjaxControllerTest.php @@ -37,7 +37,7 @@ class FormInlineAjaxControllerTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', ]; diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php index 563d67ec211f..4b81cafdcbd9 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaAjaxControllerTest.php @@ -30,7 +30,7 @@ class MfaAjaxControllerTest extends FunctionalTestCase protected MfaAjaxController $subject; protected ServerRequest $request; - protected $backendUserFixture = 'EXT:core/Tests/Functional/Authentication/Fixtures/be_users.xml'; + protected string $backendUserFixture = 'EXT:core/Tests/Functional/Authentication/Fixtures/be_users.xml'; protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php index 9d37e6e004a3..25225905d87d 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaConfigurationControllerTest.php @@ -39,7 +39,7 @@ class MfaConfigurationControllerTest extends FunctionalTestCase protected ServerRequest $request; protected NormalizedParams $normalizedParams; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'BE' => [ 'recommendedMfaProvider' => 'totp', 'requireMfa' => 1, diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php index c8361498db9d..3c4deb7dc80e 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaControllerTest.php @@ -48,7 +48,7 @@ class MfaControllerTest extends FunctionalTestCase * changed after headers have already been sent". To suppress this, we simply drop the * system maintainer flag from this backend user. */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'systemMaintainers' => [], ], diff --git a/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php index 48fc304f3614..4c05994ce356 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/MfaSetupControllerTest.php @@ -49,7 +49,7 @@ class MfaSetupControllerTest extends FunctionalTestCase * changed after headers have already been sent". To suppress this, we simply drop the * system maintainer flag from this backend user. */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'systemMaintainers' => [], ], diff --git a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php index 79ae642cfcf1..f751305dca92 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/Page/LocalizationControllerTest.php @@ -38,7 +38,7 @@ class LocalizationControllerTest extends AbstractDataHandlerActionTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * Sets up this test case. diff --git a/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php index 86117618d3ab..d4c9f8359900 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/Page/TreeControllerTest.php @@ -39,7 +39,7 @@ class TreeControllerTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var TreeController|AccessibleObjectInterface @@ -66,7 +66,7 @@ class TreeControllerTest extends FunctionalTestCase * * @var string */ - protected $backendUserFixture = 'EXT:core/Tests/Functional/Fixtures/be_users.xml'; + protected string $backendUserFixture = 'EXT:core/Tests/Functional/Fixtures/be_users.xml'; protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php b/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php index 320e068193f3..399bacaf1e03 100644 --- a/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php +++ b/typo3/sysext/backend/Tests/Functional/Controller/ResetPasswordControllerTest.php @@ -46,7 +46,7 @@ class ResetPasswordControllerTest extends FunctionalTestCase protected ResetPasswordController $subject; protected ServerRequestInterface $request; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'EXTENSIONS' => [ 'backend' => [ 'loginHighlightColor' => '#abcdef', diff --git a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php index b99f62a00882..3ed8515dd137 100644 --- a/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php +++ b/typo3/sysext/backend/Tests/Functional/Form/FormDataProvider/TcaGroupTest.php @@ -26,7 +26,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; */ class TcaGroupTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; protected function setUp(): void { diff --git a/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php b/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php index 672a865dac76..b864681460d3 100644 --- a/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php +++ b/typo3/sysext/backend/Tests/Functional/Routing/RouterTest.php @@ -31,7 +31,7 @@ class RouterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php b/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php index e4fa7693ac44..a232912c77a4 100644 --- a/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php +++ b/typo3/sysext/backend/Tests/Functional/View/Drawing/BackendLayoutRendererTest.php @@ -38,7 +38,7 @@ class BackendLayoutRendererTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var BackendUserAuthentication diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php index 9ecc2f3ee93b..d66d97f671f0 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/EditRecordViewHelperTest.php @@ -29,7 +29,7 @@ class EditRecordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php index da7ced5195f2..00ecf9ee0a74 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Link/NewRecordViewHelperTest.php @@ -29,7 +29,7 @@ class NewRecordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php index 3caa66111102..509ea7597bb0 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Mfa/IfHasStateViewHelperTest.php @@ -28,7 +28,7 @@ class IfHasStateViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected TemplateView $view; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php index 38ae7cc48280..79c67320fee9 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/EditRecordViewHelperTest.php @@ -29,7 +29,7 @@ class EditRecordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected ServerRequest $request; diff --git a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php index bf76cbb45530..b23a76417c5e 100644 --- a/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php +++ b/typo3/sysext/backend/Tests/Functional/ViewHelpers/Uri/NewRecordViewHelperTest.php @@ -29,7 +29,7 @@ class NewRecordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected ServerRequest $request; diff --git a/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php b/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php index 8b8ac12c1ed5..4bbfbed2b1b1 100644 --- a/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php +++ b/typo3/sysext/beuser/Tests/Functional/ViewHelpers/MfaStatusViewHelperTest.php @@ -28,7 +28,7 @@ class MfaStatusViewHelperTest extends FunctionalTestCase { use ProphecyTrait; - protected $coreExtensionsToLoad = [ + protected array $coreExtensionsToLoad = [ 'beuser', ]; diff --git a/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php b/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php index 008756ab226b..f38a9bbce6d3 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/BackendUserAuthenticationTest.php @@ -34,7 +34,7 @@ class BackendUserAuthenticationTest extends FunctionalTestCase * * @var string */ - protected $backendUserFixture = __DIR__ . '/Fixtures/be_users.xml'; + protected string $backendUserFixture = __DIR__ . '/Fixtures/be_users.xml'; /** * @var AuthenticationService 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 c2cdbb83e0b6..9a2059288768 100644 --- a/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php +++ b/typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php @@ -37,7 +37,7 @@ class RecoveryCodesProviderTest extends FunctionalTestCase private BackendUserAuthentication $user; private MfaProviderManifest $subject; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'BE' => [ 'passwordHashing' => [ 'className' => Argon2iPasswordHash::class, diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php index 2141a9177c10..900ec58959d5 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php @@ -31,7 +31,7 @@ class MemcachedBackendTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * Sets up this test case diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php index 783a025572b7..08e73220294b 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/RedisBackendTest.php @@ -41,7 +41,7 @@ class RedisBackendTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * Set up diff --git a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php index 37fd8763556b..468bb2e5434c 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php @@ -33,7 +33,7 @@ class Typo3DatabaseBackendTest extends FunctionalTestCase /** * @var array */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'caching' => [ 'cacheConfigurations' => [ diff --git a/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php b/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php index 4834fd92f539..857ce54e068e 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Core/ClassAliasLoaderTest.php @@ -28,12 +28,12 @@ class ClassAliasLoaderTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var array Load test fixture extension */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Cache/Core/Fixtures/Extensions/aliases_test', ]; diff --git a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php index 7b6ecdbb8005..c0002096cd44 100644 --- a/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php +++ b/typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php @@ -29,7 +29,7 @@ class VariableFrontendTest extends FunctionalTestCase /** * @var array */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'caching' => [ 'cacheConfigurations' => [ diff --git a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php index 6988d3c6ed14..905ba91431c9 100644 --- a/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php +++ b/typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php @@ -34,7 +34,7 @@ class CategoryCollectionTest extends FunctionalTestCase /** * @var array Load test fixture extension */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Category/Collection/Fixtures/Extensions/test', ]; diff --git a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php index 61b4c9ffd095..157d74457194 100644 --- a/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php +++ b/typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php @@ -31,7 +31,7 @@ class CacheFlushCommandTest extends AbstractCommandTest /** * @var array */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'caching' => [ 'cacheConfigurations' => [ diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php index 481c68e46c54..ab42abe9a753 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php @@ -49,7 +49,7 @@ abstract class AbstractDataHandlerActionTestCase extends FunctionalTestCase */ protected $expectedErrorLogEntries = 0; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Category/ManyToMany/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Category/ManyToMany/AbstractActionTestCase.php index e6c1962d7298..dac9c1da1b4a 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Category/ManyToMany/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Category/ManyToMany/AbstractActionTestCase.php @@ -41,7 +41,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToMany/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToMany/AbstractActionTestCase.php index 9f25ab8d7ee5..0af2930f3099 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToMany/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToMany/AbstractActionTestCase.php @@ -41,7 +41,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToOne/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToOne/AbstractActionTestCase.php index 94ff407e0780..ef5a4cbe61ee 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToOne/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Category/OneToOne/AbstractActionTestCase.php @@ -41,7 +41,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php index e30a798cc695..b975697ee895 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/CheckboxValidationTest.php @@ -48,11 +48,11 @@ class CheckboxValidationTest extends FunctionalTestCase protected const PAGE_ID = 200; protected const PAGE_ID_OTHER = 300; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', ]; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; protected BackendUserAuthentication $backendUserAuthentication; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php index d92da1a3ba89..f9a804fd0440 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DefaultValuesTest.php @@ -28,7 +28,7 @@ class DefaultValuesTest extends AbstractDataHandlerActionTestCase { protected const PAGE_DATAHANDLER = 88; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php index c77bd5d4352c..e74e786f5748 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/DeleteTranslatedSubpagesTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; */ class DeleteTranslatedSubpagesTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php index ba1dae392e1d..48be433b9fef 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/GetUniqueTranslationTest.php @@ -24,7 +24,7 @@ class GetUniqueTranslationTest extends AbstractDataHandlerActionTestCase { protected const PAGE_DATAHANDLER = 88; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php index 6f1ce009d1a6..8fc724dbfcf7 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/HookTest.php @@ -40,7 +40,7 @@ class HookTest extends AbstractDataHandlerActionTestCase */ protected $hookFixture; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php index fe51ab498bf4..eba9266b545e 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SecurityTest.php @@ -44,7 +44,7 @@ class SecurityTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['rte_ckeditor']; + protected array $coreExtensionsToLoad = ['rte_ckeditor']; protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php index e76a764cd392..2ed62c3c124f 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataHandler/SlugUniqueTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; */ class SlugUniqueTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php index d244a37793d0..9d807ad2eb28 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/DataResolving/PlainDataResolverTest.php @@ -22,7 +22,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa class PlainDataResolverTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php index e6d9a3e0ce67..ad478311ca6c 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php @@ -49,7 +49,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + 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 fd5d56b7bf93..80154c9726ee 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Flexform/ActionTest.php @@ -23,7 +23,7 @@ class ActionTest extends AbstractDataHandlerActionTestCase { protected const VALUE_ContentId = 100; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php index ee93fca6af37..37c558f217bc 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/ActionTest.php @@ -21,13 +21,13 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa class ActionTest extends AbstractDataHandlerActionTestCase { - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/core/Tests/Functional/DataHandling/FlexformIrre/Fixtures/fileadmin' => 'fileadmin/fixture', ]; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php index 5edbe74b92d9..98328bcdc500 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php @@ -41,7 +41,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php index ce603940a6a5..d1312275ef32 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php @@ -47,7 +47,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', // irre tutorial still needed for frontend verification 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php index 7757b28ee6c0..65fdc66568eb 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php @@ -50,7 +50,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php index c606f8ce5533..cb3ac045153e 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php @@ -44,7 +44,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php index b9fb5f69e261..491025666968 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php @@ -47,7 +47,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php index 45fbca6ac5fb..dd10494ebeb3 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa */ class CheckValueTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + 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 c4faa677e16e..aeafe2827984 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForCheckboxesTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa */ class CheckValueTestForCheckboxesTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + 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 b175717db9d4..fe4468e749bb 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/CheckValueTestForSelectTest.php @@ -25,7 +25,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa */ class CheckValueTestForSelectTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + 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 8418dc828ecc..0100bd374285 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Hooks/PagesTsConfigGuardTest.php @@ -35,7 +35,7 @@ class PagesTsConfigGuardTest extends FunctionalTestCase * * @var string */ - protected $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'; + protected string $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'; protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php index 41bcbe29450c..f5fda1f69431 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/PagePermissionTest.php @@ -26,7 +26,7 @@ use TYPO3\CMS\Core\Type\Bitmask\Permission; */ class PagePermissionTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php index a7a07cc28029..3bff437bae34 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php @@ -40,7 +40,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php index 42f87a7a873b..ccc6563c3111 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php @@ -35,7 +35,7 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_select_flex_mm', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php index 55e578342179..b585388f07e1 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperTest.php @@ -69,7 +69,7 @@ class SlugHelperTest extends AbstractDataHandlerActionTestCase ], ]; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php index 7b0f94943d51..9f5c8dd16d39 100644 --- a/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php +++ b/typo3/sysext/core/Tests/Functional/DataHandling/Slug/SlugHelperUniqueTest.php @@ -24,7 +24,7 @@ use TYPO3\CMS\Core\Utility\GeneralUtility; class SlugHelperUniqueTest extends AbstractDataHandlerActionTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial', ]; diff --git a/typo3/sysext/core/Tests/Functional/Database/Query/Expression/ExpressionBuilderTest.php b/typo3/sysext/core/Tests/Functional/Database/Query/Expression/ExpressionBuilderTest.php index 4fbd4c4b5f12..e30e03c37ffb 100644 --- a/typo3/sysext/core/Tests/Functional/Database/Query/Expression/ExpressionBuilderTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/Query/Expression/ExpressionBuilderTest.php @@ -28,7 +28,7 @@ class ExpressionBuilderTest extends FunctionalTestCase /** * @var array Extension comes with table setup to test inSet() methods of ExpressionBuilder */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Database/Fixtures/Extensions/test_expressionbuilder', ]; diff --git a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php index 9e6c474bc529..402b123eba80 100644 --- a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexTest.php @@ -22,7 +22,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class ReferenceIndexTest extends FunctionalTestCase { - protected $testExtensionsToLoad = [ + 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 38516e56e334..913e0b7f2760 100644 --- a/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php +++ b/typo3/sysext/core/Tests/Functional/Database/ReferenceIndexWorkspaceLoadedTest.php @@ -22,11 +22,11 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class ReferenceIndexWorkspaceLoadedTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = [ + protected array $coreExtensionsToLoad = [ 'workspaces', ]; - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', ]; diff --git a/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php b/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php index 42a823355f3c..22145c32e8b5 100644 --- a/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php +++ b/typo3/sysext/core/Tests/Functional/Error/ErrorHandlerTest.php @@ -30,9 +30,9 @@ class ErrorHandlerTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'errorHandler' => ErrorHandler::class, ], diff --git a/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php b/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php index 8b5c62b41785..dba8deaeef1d 100644 --- a/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php +++ b/typo3/sysext/core/Tests/Functional/Html/DefaultSanitizerBuilderTest.php @@ -25,7 +25,7 @@ class DefaultSanitizerBuilderTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public static function isSanitizedDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php b/typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php index 25c5922e6c8b..f329fdbe8910 100644 --- a/typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php +++ b/typo3/sysext/core/Tests/Functional/IO/PharStreamWrapperInterceptorTest.php @@ -25,14 +25,14 @@ class PharStreamWrapperInterceptorTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * Explicitly copy extension directory & files instead of using symlink with $testExtensionsToLoad * * @var array */ - protected $pathsToProvideInTestInstance = [ + protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources' => 'typo3conf/ext/test_resources', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_resources/bundle.phar' => 'fileadmin/bundle.phar', ]; diff --git a/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php b/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php index c4efb7a9b3c7..45aedbb49cf6 100644 --- a/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php +++ b/typo3/sysext/core/Tests/Functional/Imaging/ImageMagickFileTest.php @@ -31,7 +31,7 @@ class ImageMagickFileTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var vfsStreamDirectory diff --git a/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php b/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php index 02c36549252f..d3e0a049c856 100644 --- a/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php +++ b/typo3/sysext/core/Tests/Functional/Localization/LanguageServiceTest.php @@ -23,16 +23,16 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class LanguageServiceTest extends FunctionalTestCase { - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_localization', ]; /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'caching' => [ 'cacheConfigurations' => [ diff --git a/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php b/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php index be1d971a454a..f6437239ebfe 100644 --- a/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php +++ b/typo3/sysext/core/Tests/Functional/Mail/FluidEmailTest.php @@ -25,12 +25,12 @@ class FluidEmailTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var string[] */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_fluid_email', ]; diff --git a/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php b/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php index 0e738e1b413e..1a540777c777 100644 --- a/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php +++ b/typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php @@ -38,7 +38,7 @@ class PageRendererTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php b/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php index a3e880426047..2616c246a5fe 100644 --- a/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php +++ b/typo3/sysext/core/Tests/Functional/RateLimiter/RateLimiterFactoryTest.php @@ -27,7 +27,7 @@ class RateLimiterFactoryTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function loginRateLimiterLimitsRequestsDataProvider(): array { diff --git a/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php b/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php index 281e99f8d876..125a5a915ce2 100644 --- a/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php +++ b/typo3/sysext/core/Tests/Functional/Resource/Security/SvgSanitizerTest.php @@ -26,7 +26,7 @@ class SvgSanitizerTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @return array<string, string[]> diff --git a/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php b/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php index 98b2560b9021..1e2eaa67a436 100644 --- a/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php +++ b/typo3/sysext/core/Tests/Functional/Service/Archive/ZipServiceTest.php @@ -29,7 +29,7 @@ class ZipServiceTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var vfsStreamDirectory diff --git a/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php b/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php index 868933827c8a..c3b589630f7b 100644 --- a/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php @@ -31,7 +31,7 @@ class RedisSessionBackendTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var RedisSessionBackend Prepared and connected redis test subject diff --git a/typo3/sysext/core/Tests/Functional/TypoScript/Parser/TypoScriptParserTest.php b/typo3/sysext/core/Tests/Functional/TypoScript/Parser/TypoScriptParserTest.php index 5891dff14d7e..c6f81e338c85 100644 --- a/typo3/sysext/core/Tests/Functional/TypoScript/Parser/TypoScriptParserTest.php +++ b/typo3/sysext/core/Tests/Functional/TypoScript/Parser/TypoScriptParserTest.php @@ -25,7 +25,7 @@ class TypoScriptParserTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * This tests triggers an error if the serialize(unserialize())) call diff --git a/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php b/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php index da1ff1a51e73..836837cc1f4c 100644 --- a/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php +++ b/typo3/sysext/core/Tests/Functional/Utility/RootlineUtilityTest.php @@ -45,7 +45,7 @@ class RootlineUtilityTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; protected function setUp(): void { diff --git a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php index 21a1a84a54b9..869c7384b394 100644 --- a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconForRecordViewHelperTest.php @@ -33,7 +33,7 @@ class IconForRecordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php index 45738b32bc5d..5c094783eb3f 100644 --- a/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php +++ b/typo3/sysext/core/Tests/Functional/ViewHelpers/IconViewHelperTest.php @@ -34,7 +34,7 @@ class IconViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Configuration/RequestHandlerConfigurationFactoryTest.php b/typo3/sysext/extbase/Tests/Functional/Configuration/RequestHandlerConfigurationFactoryTest.php index a7a457f05541..4d95decb1bb4 100644 --- a/typo3/sysext/extbase/Tests/Functional/Configuration/RequestHandlerConfigurationFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Configuration/RequestHandlerConfigurationFactoryTest.php @@ -28,7 +28,7 @@ class RequestHandlerConfigurationFactoryTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php index f9786559feee..d77d3094dc79 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerArgumentTest.php @@ -42,7 +42,7 @@ class ActionControllerArgumentTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Mvc/Controller/Fixture/Extension/action_controller_argument_test', ]; diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php index 84e77be3cb9c..1ad16f7e89e8 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ActionControllerTest.php @@ -49,7 +49,7 @@ class ActionControllerTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Mvc/Controller/Fixture/Extension/action_controller_test', ]; diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php index c73ff30a9a2c..5447c9930d97 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Controller/ControllerArgumentsMappingTest.php @@ -49,7 +49,7 @@ class ControllerArgumentsMappingTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php b/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php index 93c218123be8..3ab959ad7def 100644 --- a/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Mvc/Validation/ActionControllerValidationTest.php @@ -37,7 +37,7 @@ class ActionControllerValidationTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', ]; diff --git a/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php b/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php index 6a31524298a4..4743b8ce4d46 100644 --- a/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Pagination/QueryResultPaginatorTest.php @@ -26,7 +26,7 @@ class QueryResultPaginatorTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var PostRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php index ec9f41838d13..045233adac27 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php @@ -35,7 +35,7 @@ class AddTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var BlogRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php index 501987b00c01..bb018b9c4249 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php @@ -31,7 +31,7 @@ class CountTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var PostRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php index 26e52020627e..d8f14e4f8aa0 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/EnableFieldsTest.php @@ -32,7 +32,7 @@ class EnableFieldsTest extends AbstractDataHandlerActionTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. 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 a491f3ba9ab3..c872966fe6f6 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapFactoryTest.php @@ -30,7 +30,7 @@ class DataMapFactoryTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var DataMapFactory @@ -40,7 +40,7 @@ class DataMapFactoryTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. 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 2ed9b53331e0..12d0dd05dc18 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/Generic/Mapper/DataMapperTest.php @@ -33,7 +33,7 @@ class DataMapperTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php index 2a0e8f2e2c88..407f604d30b3 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php @@ -38,7 +38,7 @@ class InTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php index 5f646feef312..d694b57cccfd 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/IsDirtyTest.php @@ -28,7 +28,7 @@ class IsDirtyTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var BlogRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php index 11907b8bf5fa..30999513fa67 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php @@ -37,7 +37,7 @@ class OperatorTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php index 5288d6779a14..39dac7e2e2f8 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryLocalizedDataTest.php @@ -40,7 +40,7 @@ class QueryLocalizedDataTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var PostRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php index 666cbdcfda5d..f05d93140f71 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php @@ -27,7 +27,7 @@ class QueryParserTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php index ff61a6d0890f..806adb698c6b 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php @@ -46,7 +46,7 @@ class RelationTest extends FunctionalTestCase */ protected $persistentManager; - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * Sets up this test suite. diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php index 9bcfe91a45aa..66790da556af 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslatedSiteContentTest.php @@ -40,7 +40,7 @@ class TranslatedSiteContentTest extends AbstractDataHandlerActionTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var TtContentRepository @@ -50,7 +50,7 @@ class TranslatedSiteContentTest extends AbstractDataHandlerActionTestCase /** * @var array */ - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/frontend/Tests/Functional/Fixtures/Images' => 'fileadmin/user_upload', ]; diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php index 32379649246f..7323a5873f30 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php @@ -35,7 +35,7 @@ class TranslationTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; /** * @var PostRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php b/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php index db108c4585c3..8cc8da3b52ce 100644 --- a/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Persistence/WorkspaceTest.php @@ -35,14 +35,14 @@ class WorkspaceTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example', ]; /** * @var array */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var BlogRepository diff --git a/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php b/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php index 7ab6767451c1..9953870cf00a 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/PropertyMapperTest.php @@ -35,7 +35,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class PropertyMapperTest extends FunctionalTestCase { // @todo: Switch to a simple test extension that contains a test model, instead. - protected $coreExtensionsToLoad = ['beuser']; + protected array $coreExtensionsToLoad = ['beuser']; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php index 54485d8a3fa2..15e9544d3d63 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ArrayConverterTest.php @@ -25,7 +25,7 @@ class ArrayConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php index 8cd8153a3f6d..3101d57df375 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/BooleanConverterTest.php @@ -25,7 +25,7 @@ class BooleanConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php index 76df545142d8..726942155bff 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/DateTimeConverterTest.php @@ -28,7 +28,7 @@ class DateTimeConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php index 170f2347ba58..a125da613b77 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/FloatConverterTest.php @@ -25,7 +25,7 @@ class FloatConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php index b58222efc937..3ee038be1702 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/IntegerConverterTest.php @@ -25,7 +25,7 @@ class IntegerConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php index 606d3fa897ad..02ad675ba0e7 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectConverterTest.php @@ -32,7 +32,7 @@ class ObjectConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php index 1d7ac8d870a6..f6f1321c49a8 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/ObjectStorageConverterTest.php @@ -28,7 +28,7 @@ class ObjectStorageConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php index 1a7f43070f25..1fe38072192d 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/PersistentObjectConverterTest.php @@ -28,7 +28,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class PersistentObjectConverterTest extends FunctionalTestCase { // @todo: Switch to a simple test extension that contains a test model, instead. - protected $coreExtensionsToLoad = ['beuser']; + protected array $coreExtensionsToLoad = ['beuser']; protected function setUp(): void { diff --git a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php index 62617b49cbf3..a6a6ac065951 100644 --- a/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Property/TypeConverter/StringConverterTest.php @@ -25,7 +25,7 @@ class StringConverterTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php b/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php index 828359176c38..7b3dcc8b9432 100644 --- a/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Service/ExtensionServiceTest.php @@ -34,7 +34,7 @@ class ExtensionServiceTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; + protected array $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']; protected ExtensionService $extensionService; diff --git a/typo3/sysext/extbase/Tests/Functional/Validation/ValidatorResolverTest.php b/typo3/sysext/extbase/Tests/Functional/Validation/ValidatorResolverTest.php index 70c49a394f41..78efbee7d7e4 100644 --- a/typo3/sysext/extbase/Tests/Functional/Validation/ValidatorResolverTest.php +++ b/typo3/sysext/extbase/Tests/Functional/Validation/ValidatorResolverTest.php @@ -34,7 +34,7 @@ class ValidatorResolverTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var \TYPO3\CMS\Extbase\Validation\ValidatorResolver|\PHPUnit\Framework\MockObject\MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface diff --git a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php index 08b1897c4d51..2a77874cd961 100644 --- a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserGroupRepositoryTest.php @@ -28,7 +28,7 @@ class FrontendUserGroupRepositoryTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['felogin']; + protected array $coreExtensionsToLoad = ['felogin']; /** * @var FrontendUserGroupRepository diff --git a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php index 269791144a5e..f59b68b4f5b1 100644 --- a/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Domain/Repository/FrontendUserRepositoryTest.php @@ -29,7 +29,7 @@ class FrontendUserRepositoryTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['felogin']; + protected array $coreExtensionsToLoad = ['felogin']; /** * @var FrontendUserRepository diff --git a/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php b/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php index 66d7584ec327..6f095b8dd87e 100644 --- a/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/felogin/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -27,7 +27,7 @@ class ContentVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['felogin']; + protected array $coreExtensionsToLoad = ['felogin']; /** * @var array diff --git a/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php b/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php index 34009e2383d0..f78a10369c00 100644 --- a/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php +++ b/typo3/sysext/filemetadata/Tests/Functional/Tca/FileMetadataVisibleFieldsTest.php @@ -28,7 +28,7 @@ class FileMetadataVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['filemetadata']; + protected array $coreExtensionsToLoad = ['filemetadata']; /** * @var array diff --git a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php index fff9e6a17f56..f817251dbd7d 100644 --- a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php +++ b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingStandaloneTest.php @@ -26,9 +26,9 @@ class EscapeChildrenRenderingStandaloneTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; - protected $testExtensionsToLoad = ['typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test']; + protected array $testExtensionsToLoad = ['typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test']; public function viewHelperTemplateSourcesDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php index cc9e7f08cb44..5560584595c8 100644 --- a/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php +++ b/typo3/sysext/fluid/Tests/Functional/EscapeChildrenRenderingTest.php @@ -25,9 +25,9 @@ class EscapeChildrenRenderingTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; - protected $testExtensionsToLoad = ['typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test']; + protected array $testExtensionsToLoad = ['typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test']; public function viewHelperTemplateSourcesDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php b/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php index 15df0fa803e8..5736b7c96526 100644 --- a/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php +++ b/typo3/sysext/fluid/Tests/Functional/View/TemplatesPathsTest.php @@ -35,14 +35,14 @@ class TemplatesPathsTest extends FunctionalTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test', ]; /** * @var array */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'EXTCONF' => [ 'extbase' => [ 'extensions' => [ diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php index 4f8ca0795f7c..f8f737a91e91 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/CssViewHelperTest.php @@ -26,7 +26,7 @@ class CssViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @return array diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php index a6eb4fb9c114..f9a4fbe75ee5 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Asset/ScriptViewHelperTest.php @@ -26,7 +26,7 @@ class ScriptViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function sourceDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Labels/CshViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Labels/CshViewHelperTest.php index 7aa014e54674..c6698257f62d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Labels/CshViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Labels/CshViewHelperTest.php @@ -28,7 +28,7 @@ class CshViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected function setUp(): void { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php index 8c6ac9a0daad..25a62342ba7d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/LinkViewHelperTest.php @@ -29,7 +29,7 @@ class LinkViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test 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 79e98ac922d4..51d25dfab963 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php @@ -26,7 +26,7 @@ class IfAuthenticatedViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test 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 9ae7002f5466..b80baaa79ddc 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/Security/IfHasRoleViewHelperTest.php @@ -26,7 +26,7 @@ class IfHasRoleViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected function setUp(): void { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php index a34ffb46700e..fdf17b2f7877 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Be/UriViewHelperTest.php @@ -29,7 +29,7 @@ class UriViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php index d2301c70afc0..01199feb37f7 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/ButtonViewHelperTest.php @@ -26,7 +26,7 @@ class ButtonViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php index fa6daffff888..b0f41b048c2d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/HiddenViewHelperTest.php @@ -27,7 +27,7 @@ class HiddenViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php index be2ebe4e05ed..43043f98fa44 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/PasswordViewHelperTest.php @@ -27,7 +27,7 @@ class PasswordViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test 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 1a4c79057da5..f2fe70d24f92 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/Select/OptionViewHelperTest.php @@ -27,7 +27,7 @@ class OptionViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php index b537d63c2055..706c9d9834c1 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Form/SubmitViewHelperTest.php @@ -27,7 +27,7 @@ class SubmitViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php index 1d29fba53b62..03d48161d365 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/BytesViewHelperTest.php @@ -26,7 +26,7 @@ class BytesViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderConvertsAValueDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php index a7834d7c0995..c0893470c0df 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CaseViewHelperTest.php @@ -27,7 +27,7 @@ class CaseViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderConvertsAValueDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php index 72f493a4fbd4..a2992545924d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CropViewHelperTest.php @@ -26,7 +26,7 @@ class CropViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderConvertsAValueDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php index 58d9f6a7efb7..bdfc6d08e947 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/CurrencyViewHelperTest.php @@ -26,7 +26,7 @@ class CurrencyViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderConvertsAValueDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php index fd44b9b81f27..bbd225c72ce5 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/DateViewHelperTest.php @@ -27,7 +27,7 @@ class DateViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var string Backup of current timezone, it is manipulated in tests diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php index e8383934d3b9..2c6ae462e608 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php @@ -26,7 +26,7 @@ class HtmlentitiesDecodeViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php index 292bb27c2507..4c0591271dc2 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/HtmlentitiesViewHelperTest.php @@ -26,7 +26,7 @@ class HtmlentitiesViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php index b03d698b9faa..c697ac05a6f4 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/Nl2brViewHelperTest.php @@ -26,7 +26,7 @@ class Nl2brViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php index f238265e4f2e..61ad3afc0e7f 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/NumberViewHelperTest.php @@ -26,7 +26,7 @@ class NumberViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php index b0968ef0a36a..3ccbca0be4a3 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/PaddingViewHelperTest.php @@ -26,7 +26,7 @@ class PaddingViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php index 038d07184b96..42ce23ab508b 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/StripTagsViewHelperTest.php @@ -26,7 +26,7 @@ class StripTagsViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php index 19b250b09668..a617c067d2e6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Format/UrlencodeViewHelperTest.php @@ -26,7 +26,7 @@ class UrlencodeViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php index 383c369835d3..8b911dee8bf6 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/ExternalViewHelperTest.php @@ -26,7 +26,7 @@ class ExternalViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php index 68798164342f..1e51273e191d 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Link/FileViewHelperTest.php @@ -38,7 +38,7 @@ class FileViewHelperTest extends FunctionalTestCase /** * @var array */ - protected $additionalFoldersToCreate = [ + protected array $additionalFoldersToCreate = [ '/fileadmin/user_upload', '/fileadmin/_processed_', ]; @@ -46,7 +46,7 @@ class FileViewHelperTest extends FunctionalTestCase /** * @var array */ - protected $pathsToProvideInTestInstance = [ + protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/Link/FileViewHelper/Folders/fileadmin/user_upload/typo3_image2.jpg' => 'fileadmin/user_upload/typo3_image2.jpg', 'typo3/sysext/fluid/Tests/Functional/Fixtures/ViewHelpers/Link/FileViewHelper/Folders/fileadmin/_processed_/csm_typo3_image2_5c2670fd59.jpg' => 'fileadmin/_processed_/csm_typo3_image2_5c2670fd59.jpg', ]; diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php index 8cab6acecc63..433d4280fc98 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Sanitize/HtmlViewHelperTest.php @@ -27,7 +27,7 @@ class HtmlViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public static function isSanitizedDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php index e750652cf64d..dd305ca03f29 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php @@ -30,7 +30,7 @@ class IfAuthenticatedViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php index 3acf14112ac9..74aaab4e0987 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Security/IfHasRoleViewHelperTest.php @@ -30,7 +30,7 @@ class IfHasRoleViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected function setUp(): void { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php index 142819f97f22..3cb7b9b46267 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/TranslateViewHelperTest.php @@ -28,7 +28,7 @@ use TYPO3Fluid\Fluid\View\TemplateView; class TranslateViewHelperTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['indexed_search']; + protected array $coreExtensionsToLoad = ['indexed_search']; /** * @test diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php index 1e91a4159ebd..e109beb8684c 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ExternalViewHelperTest.php @@ -26,7 +26,7 @@ class ExternalViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; public function renderDataProvider(): array { diff --git a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php index 0cd3461b2baf..c06b66c528b8 100644 --- a/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php +++ b/typo3/sysext/fluid/Tests/Functional/ViewHelpers/Uri/ResourceViewHelperTest.php @@ -29,7 +29,7 @@ class ResourceViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test 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 9946c14d0c50..a0780354cc41 100644 --- a/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/Functional/Rendering/SecureHtmlRenderingTest.php @@ -37,7 +37,7 @@ class SecureHtmlRenderingTest extends FunctionalTestCase 'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8', 'iso' => 'en', 'hrefLang' => 'en-US', 'direction' => ''], ]; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ @@ -50,7 +50,7 @@ class SecureHtmlRenderingTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['fluid_styled_content']; + protected array $coreExtensionsToLoad = ['fluid_styled_content']; protected function setUp(): void { 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 6036b7f90a78..ab6ed7938489 100644 --- a/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/Functional/Tca/ContentVisibleFieldsTest.php @@ -27,7 +27,7 @@ class ContentVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['fluid_styled_content']; + protected array $coreExtensionsToLoad = ['fluid_styled_content']; /** * @var array diff --git a/typo3/sysext/fluid_styled_content/Tests/FunctionalDeprecated/Rendering/SecureHtmlRenderingTest.php b/typo3/sysext/fluid_styled_content/Tests/FunctionalDeprecated/Rendering/SecureHtmlRenderingTest.php index 2101a05fc932..c562af84017a 100644 --- a/typo3/sysext/fluid_styled_content/Tests/FunctionalDeprecated/Rendering/SecureHtmlRenderingTest.php +++ b/typo3/sysext/fluid_styled_content/Tests/FunctionalDeprecated/Rendering/SecureHtmlRenderingTest.php @@ -35,7 +35,7 @@ class SecureHtmlRenderingTest extends FunctionalTestCase 'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8', 'iso' => 'en', 'hrefLang' => 'en-US', 'direction' => ''], ]; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ @@ -48,7 +48,7 @@ class SecureHtmlRenderingTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['fluid_styled_content']; + protected array $coreExtensionsToLoad = ['fluid_styled_content']; 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 85d683063e5a..e73302eed26e 100644 --- a/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php +++ b/typo3/sysext/form/Tests/Functional/Mvc/Validation/MimeTypeValidatorTest.php @@ -31,7 +31,7 @@ class MimeTypeValidatorTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['form']; + protected array $coreExtensionsToLoad = ['form']; /** * @var array<string, string> diff --git a/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php b/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php index f4398ecafab2..102058595123 100644 --- a/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php +++ b/typo3/sysext/form/Tests/Functional/ViewHelpers/UploadedResourceViewHelperTest.php @@ -26,12 +26,12 @@ class UploadedResourceViewHelperTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['form']; + protected array $coreExtensionsToLoad = ['form']; /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @test diff --git a/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php b/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php index 76a2f55bb3b6..486be9e136dc 100644 --- a/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php +++ b/typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php @@ -33,12 +33,12 @@ class FluidTemplateContentObjectTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/fluid/Tests/Functional/Fixtures/Extensions/fluid_test', ]; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php index 8cf6cc61ba9c..70a43480fd79 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/LocalizedSiteContentRenderingTest.php @@ -107,12 +107,12 @@ class LocalizedSiteContentRenderingTest extends AbstractDataHandlerActionTestCas /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var array */ - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/frontend/Tests/Functional/Fixtures/Images' => 'fileadmin/user_upload', ]; diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php index f77288d587bc..3ab78796bd47 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/TitleTagRenderingTest.php @@ -30,9 +30,9 @@ class TitleTagRenderingTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ diff --git a/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php b/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php index 7d06e3fdc0bf..9384369535b8 100644 --- a/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php +++ b/typo3/sysext/frontend/Tests/Functional/Rendering/UriPrefixRenderingTest.php @@ -58,9 +58,9 @@ class UriPrefixRenderingTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['rte_ckeditor']; + protected array $coreExtensionsToLoad = ['rte_ckeditor']; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/AbstractTestCase.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/AbstractTestCase.php index 47e494ff4fb7..1ab6b28deca2 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/AbstractTestCase.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/AbstractTestCase.php @@ -38,7 +38,7 @@ abstract class AbstractTestCase extends FunctionalTestCase 'ZH' => ['id' => 4, 'title' => 'Simplified Chinese', 'locale' => 'zh_CN.UTF-8', 'iso' => 'zh', 'hrefLang' => 'zh-Hans', 'direction' => ''], ]; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'encryptionKey' => '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6', ], @@ -61,7 +61,7 @@ abstract class AbstractTestCase extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @param array $array diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php index 40eb0928059b..510503be0374 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/EidRequestTest.php @@ -30,7 +30,7 @@ class EidRequestTest extends AbstractTestCase /** * @var string[] */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_eid', ]; diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php index f6fe8f2cf655..0bfc1e5d4374 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugSiteRequestTest.php @@ -31,7 +31,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent; class SlugSiteRequestTest extends AbstractTestCase { // Force subrequest-based errors ON, because some tests can't work otherwise. - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SYS' => [ 'encryptionKey' => '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6', 'features' => [ diff --git a/typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php b/typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php index 2fb7de083e49..679ce4c21f23 100644 --- a/typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php +++ b/typo3/sysext/frontend/Tests/Functional/SiteHandling/TypoLinkGeneratorTest.php @@ -38,7 +38,7 @@ use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest; */ class TypoLinkGeneratorTest extends AbstractTestCase { - protected $pathsToProvideInTestInstance = [ + protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/backend/Resources/Public/Images/Logo.png' => 'fileadmin/logo.png', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/AbstractImportExportTestCase.php b/typo3/sysext/impexp/Tests/Functional/AbstractImportExportTestCase.php index 31b739e8762d..7f9a61fea80d 100644 --- a/typo3/sysext/impexp/Tests/Functional/AbstractImportExportTestCase.php +++ b/typo3/sysext/impexp/Tests/Functional/AbstractImportExportTestCase.php @@ -34,7 +34,7 @@ abstract class AbstractImportExportTestCase extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['impexp', 'form']; + protected array $coreExtensionsToLoad = ['impexp', 'form']; /** * Absolute path to files that must be removed diff --git a/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php b/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php index 88e802a43c83..b373ef5c4630 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/ExportPageTreeViewTest.php @@ -29,7 +29,7 @@ class ExportPageTreeViewTest extends AbstractImportExportTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + 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 77e781bd09e0..70b41d541cf1 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecordsTest.php @@ -27,7 +27,7 @@ class IrreTutorialRecordsTest extends AbstractImportExportTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mm', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric', diff --git a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php index b11467d83248..8a627182b456 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentTest.php @@ -27,14 +27,14 @@ class PagesAndTtContentTest extends AbstractImportExportTestCase /** * @var array */ - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', ]; /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php index 329584298f83..7e5fb9157909 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImagesTest.php @@ -27,7 +27,7 @@ class PagesAndTtContentWithImagesTest extends AbstractImportExportTestCase /** * @var array */ - protected $pathsToLinkInTestInstance = [ + 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 c170e8370c43..661d10980353 100644 --- a/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRelationsAndSoftrefsTest.php @@ -27,7 +27,7 @@ class PagesAndTtContentWithRelationsAndSoftrefsTest extends AbstractImportExport /** * @var array */ - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/form_definitions' => 'fileadmin/form_definitions', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/ExportTest.php b/typo3/sysext/impexp/Tests/Functional/ExportTest.php index ca03d042c0ec..53d2db104716 100644 --- a/typo3/sysext/impexp/Tests/Functional/ExportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ExportTest.php @@ -26,14 +26,14 @@ class ExportTest extends AbstractImportExportTestCase /** * @var array */ - protected $pathsToProvideInTestInstance = [ + protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload' => 'fileadmin/user_upload', ]; /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/template_extension', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php b/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php index c207534a69cf..70bea3bf9db4 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/IrreTutorialRecordsTest.php @@ -26,7 +26,7 @@ class IrreTutorialRecordsTest extends AbstractImportExportTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mm', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric', diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php index 263af3bc1469..a91a10f8f283 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithImagesInFilledDatabaseTest.php @@ -27,14 +27,14 @@ class PagesAndTtContentWithImagesInFilledDatabaseTest extends AbstractImportExpo /** * @var array */ - protected $additionalFoldersToCreate = [ + protected array $additionalFoldersToCreate = [ '/fileadmin/user_upload', ]; /** * @var array */ - protected $pathsToProvideInTestInstance = [ + protected array $pathsToProvideInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg' => 'fileadmin/user_upload/typo3_image2.jpg', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php index e47b18f30436..1505195a44e3 100644 --- a/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php +++ b/typo3/sysext/impexp/Tests/Functional/Import/PagesAndTtContentWithRteImagesAndFileLinkTest.php @@ -27,7 +27,7 @@ class PagesAndTtContentWithRteImagesAndFileLinkTest extends AbstractImportExport /** * @var array */ - protected $additionalFoldersToCreate = [ + protected array $additionalFoldersToCreate = [ '/fileadmin/_processed_', ]; diff --git a/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php b/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php index 757738203dbc..4f5d0382c9d5 100644 --- a/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ImportExportTest.php @@ -26,7 +26,7 @@ class ImportExportTest extends AbstractImportExportTestCase /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mm', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_mnsymmetric', diff --git a/typo3/sysext/impexp/Tests/Functional/ImportTest.php b/typo3/sysext/impexp/Tests/Functional/ImportTest.php index 67f2aae6bff3..8dc30b0ea8a3 100644 --- a/typo3/sysext/impexp/Tests/Functional/ImportTest.php +++ b/typo3/sysext/impexp/Tests/Functional/ImportTest.php @@ -26,7 +26,7 @@ class ImportTest extends AbstractImportExportTestCase /** * @var array */ - protected $pathsToLinkInTestInstance = [ + protected array $pathsToLinkInTestInstance = [ 'typo3/sysext/impexp/Tests/Functional/Fixtures/XmlImports' => 'fileadmin/xml_imports', ]; diff --git a/typo3/sysext/install/Tests/Functional/Controller/BackendModuleControllerTest.php b/typo3/sysext/install/Tests/Functional/Controller/BackendModuleControllerTest.php index 4e4e1e8c5c34..87c338ef2ca0 100644 --- a/typo3/sysext/install/Tests/Functional/Controller/BackendModuleControllerTest.php +++ b/typo3/sysext/install/Tests/Functional/Controller/BackendModuleControllerTest.php @@ -29,7 +29,7 @@ class BackendModuleControllerTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; protected int $oldErrorReporting; diff --git a/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php b/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php index a6dcd3c0ae2f..9fa478488586 100644 --- a/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php +++ b/typo3/sysext/install/Tests/Functional/Service/Typo3tempFileServiceTest.php @@ -32,7 +32,7 @@ class Typo3tempFileServiceTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @var string diff --git a/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php b/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php index 810bdb48574c..fcb586052c7e 100644 --- a/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php +++ b/typo3/sysext/install/Tests/Functional/Service/WebServerConfigurationFileServiceTest.php @@ -26,7 +26,7 @@ class WebServerConfigurationFileServiceTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @dataProvider webServerConfigurationIsChangedDataProvider diff --git a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php index 300b23e23eaa..8ad6fd420e3c 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/RowUpdater/WorkspaceNewPlaceholderRemovalTest.php @@ -26,12 +26,12 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class WorkspaceNewPlaceholderRemovalTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var array */ - protected $testExtensionsToLoad = [ + protected array $testExtensionsToLoad = [ 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_foreignfield', 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_irre_csv', ]; diff --git a/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php b/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php index 4466e9735493..54e71d5bb10f 100644 --- a/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php +++ b/typo3/sysext/install/Tests/Functional/Updates/ShortcutRecordsMigrationTest.php @@ -36,7 +36,7 @@ class ShortcutRecordsMigrationTest extends FunctionalTestCase * * @var string[] */ - protected $coreExtensionsToLoad = ['beuser', 'filelist', 'form', 'info', 'lowlevel']; + protected array $coreExtensionsToLoad = ['beuser', 'filelist', 'form', 'info', 'lowlevel']; protected string $baseDataSet = 'typo3/sysext/install/Tests/Functional/Updates/Fixtures/ShortcutsBase.csv'; protected string $resultDataSet = 'typo3/sysext/install/Tests/Functional/Updates/Fixtures/ShortcutsMigratedToRoutes.csv'; diff --git a/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php b/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php index 7ae8f064d40c..8d936b4e7821 100644 --- a/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php +++ b/typo3/sysext/install/Tests/Functional/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php @@ -27,7 +27,7 @@ class PhpErrorCodeViewHelperTest extends FunctionalTestCase /** * @var bool Speed up this test case, it needs no database */ - protected $initializeDatabase = false; + protected bool $initializeDatabase = false; /** * @return array diff --git a/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php b/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php index 0fc08a388626..4961f0859e0d 100644 --- a/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php +++ b/typo3/sysext/linkvalidator/Tests/Functional/LinkAnalyzerTest.php @@ -23,7 +23,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class LinkAnalyzerTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = [ + protected array $coreExtensionsToLoad = [ 'seo', 'linkvalidator', ]; diff --git a/typo3/sysext/linkvalidator/Tests/Functional/Repository/BrokenLinkRepositoryTest.php b/typo3/sysext/linkvalidator/Tests/Functional/Repository/BrokenLinkRepositoryTest.php index 6f620b5bc409..a81d4e9565f3 100644 --- a/typo3/sysext/linkvalidator/Tests/Functional/Repository/BrokenLinkRepositoryTest.php +++ b/typo3/sysext/linkvalidator/Tests/Functional/Repository/BrokenLinkRepositoryTest.php @@ -27,7 +27,7 @@ class BrokenLinkRepositoryTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = [ + protected array $coreExtensionsToLoad = [ 'linkvalidator', 'seo', ]; diff --git a/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php b/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php index ff668c2b342a..99ae80ca682c 100644 --- a/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php +++ b/typo3/sysext/recycler/Tests/Functional/Recycle/AbstractRecycleTestCase.php @@ -29,14 +29,14 @@ abstract class AbstractRecycleTestCase extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['recycler']; + protected array $coreExtensionsToLoad = ['recycler']; /** * The fixture which is used when initializing a backend user * * @var string */ - protected $backendUserFixture = 'typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml'; + protected string $backendUserFixture = 'typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml'; /** * Set up for set up the backend user, initialize the language object diff --git a/typo3/sysext/recycler/Tests/Functional/Task/Pages/CleanerTaskTest.php b/typo3/sysext/recycler/Tests/Functional/Task/Pages/CleanerTaskTest.php index cc4b9c90100d..40d2896961fb 100644 --- a/typo3/sysext/recycler/Tests/Functional/Task/Pages/CleanerTaskTest.php +++ b/typo3/sysext/recycler/Tests/Functional/Task/Pages/CleanerTaskTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; */ class CleanerTaskTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['recycler', 'scheduler']; + protected array $coreExtensionsToLoad = ['recycler', 'scheduler']; /** * @test diff --git a/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php b/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php index 28cc5fdc8743..f171d377e5cd 100644 --- a/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php +++ b/typo3/sysext/redirects/Tests/Functional/EventListener/IncrementHitCountTest.php @@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class IncrementHitCountTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['redirects']; + protected array $coreExtensionsToLoad = ['redirects']; protected function setUp(): void { diff --git a/typo3/sysext/redirects/Tests/Functional/Repository/RedirectRepositoryTest.php b/typo3/sysext/redirects/Tests/Functional/Repository/RedirectRepositoryTest.php index beb1984f5836..9d8c0a8df9f7 100644 --- a/typo3/sysext/redirects/Tests/Functional/Repository/RedirectRepositoryTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Repository/RedirectRepositoryTest.php @@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; class RedirectRepositoryTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['redirects']; + protected array $coreExtensionsToLoad = ['redirects']; public function demandProvider(): array { diff --git a/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php index 7ae16f77f06c..62b245c7c07c 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/IntegrityServiceTest.php @@ -38,7 +38,7 @@ class IntegrityServiceTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['redirects']; + protected array $coreExtensionsToLoad = ['redirects']; /** * @var IntegrityService diff --git a/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php index 8dc15844a293..2bced9d661dd 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php @@ -41,7 +41,7 @@ class RedirectServiceTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['redirects']; + protected array $coreExtensionsToLoad = ['redirects']; protected array $testFilesToDelete = []; diff --git a/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php b/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php index ddcca8458a4e..f1b56a1ebc1c 100644 --- a/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php +++ b/typo3/sysext/redirects/Tests/Functional/Service/SlugServiceTest.php @@ -88,7 +88,7 @@ class SlugServiceTest extends FunctionalTestCase ], ]; - protected $coreExtensionsToLoad = ['redirects']; + protected array $coreExtensionsToLoad = ['redirects']; protected function setUp(): void { diff --git a/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php b/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php index 43679f049761..624c8fb0b9f1 100644 --- a/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php +++ b/typo3/sysext/scheduler/Tests/Functional/Tca/TaskGroupVisibleFieldsTest.php @@ -27,7 +27,7 @@ class TaskGroupVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['scheduler']; + protected array $coreExtensionsToLoad = ['scheduler']; /** * @var array diff --git a/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php b/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php index 8beda166dfc2..d49ce8aa5d6f 100644 --- a/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php @@ -34,7 +34,7 @@ class CanonicalGeneratorTest extends FunctionalTestCase 'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8', 'iso' => 'en', 'hrefLang' => 'en-US', 'direction' => ''], ]; - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'SC_OPTIONS' => [ 'Core/TypoScript/TemplateService' => [ 'runThroughTemplatesPostProcessing' => [ @@ -47,7 +47,7 @@ class CanonicalGeneratorTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; protected function setUp(): void { diff --git a/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php b/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php index 8b939b3c582c..3791f6517cb2 100644 --- a/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php +++ b/typo3/sysext/seo/Tests/Functional/HrefLang/HrefLangGeneratorTest.php @@ -31,7 +31,7 @@ class HrefLangGeneratorTest extends FunctionalTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; /** * @var array diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/AbstractXmlSitemapPagesTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/AbstractXmlSitemapPagesTest.php index ea45ef1711de..6bcfa4a46d62 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/AbstractXmlSitemapPagesTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/AbstractXmlSitemapPagesTest.php @@ -35,7 +35,7 @@ abstract class AbstractXmlSitemapPagesTest extends AbstractTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; 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 65d8e229f491..fc036e80a8bd 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapIndexTest.php @@ -28,7 +28,7 @@ class XmlSitemapIndexTest extends AbstractTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; protected function setUp(): void { diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php index 340afe259a39..9d7659027eb3 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapPagesWithHideIfNotTranslatedTest.php @@ -30,7 +30,7 @@ class XmlSitemapPagesWithHideIfNotTranslatedTest extends AbstractXmlSitemapPages * * @var array */ - protected $configurationToUseInTestInstance = [ + protected array $configurationToUseInTestInstance = [ 'FE' => [ 'hidePagesIfNotTranslatedByDefault' => true, ], diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php index ec4a16a8f5dc..8a7ae55ab979 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapRecordsTest.php @@ -28,7 +28,7 @@ class XmlSitemapRecordsTest extends AbstractTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; protected function setUp(): void { diff --git a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php index 638af545aae8..4a8965dd65ca 100644 --- a/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php +++ b/typo3/sysext/seo/Tests/Functional/XmlSitemap/XmlSitemapXslTest.php @@ -25,7 +25,7 @@ class XmlSitemapXslTest extends AbstractTestCase /** * @var string[] */ - protected $coreExtensionsToLoad = ['seo']; + protected array $coreExtensionsToLoad = ['seo']; protected function setUp(): void { diff --git a/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php b/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php index e5f1b0d615f1..3ba40dd88703 100644 --- a/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php +++ b/typo3/sysext/sys_note/Tests/Functional/Tca/NoteVisibleFieldsTest.php @@ -26,7 +26,7 @@ class NoteVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['sys_note']; + protected array $coreExtensionsToLoad = ['sys_note']; /** * @var array diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php index 5fb974ef79cc..2db7c25e00b2 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php @@ -26,5 +26,5 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; } diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php index d09b7675011b..6dda5a7f903a 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php @@ -26,5 +26,5 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; } diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php index f388cd8d90e4..ec01db39c800 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php @@ -26,7 +26,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; public function changeHotelSortingWithOfferNotWorkspaceAware(): void { diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php index dfa0020abaec..a77c10ebb147 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php @@ -26,7 +26,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; public function changeHotelSortingWithOfferNotWorkspaceAware(): void { diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php index d9c45601fb63..280936a8d9ee 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php @@ -27,7 +27,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; public function createContentAndAddRelation(): void { diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php index 742921086891..925586200100 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php @@ -33,7 +33,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; public function createContentAndCopyContent(): void { diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php index 1379d6aff376..a2186d08ebcb 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php @@ -26,5 +26,5 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; } diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php index eca83379ee79..747893a8c5a5 100644 --- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php +++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/SelectFlex/AbstractActionTestCase.php @@ -23,5 +23,5 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D protected const SCENARIO_DataSet = __DIR__ . '/DataSet/ImportDefault.csv'; - protected $coreExtensionsToLoad = ['workspaces']; + 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 bf47da2e1c8e..817f85f8ab12 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Hook/DataHandlerHookTest.php @@ -30,7 +30,7 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase; */ class DataHandlerHookTest extends FunctionalTestCase { - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; protected BackendUserAuthentication $backendUser; protected ActionService $actionService; diff --git a/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php b/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php index 41b8427f375e..2f393259dc1e 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php @@ -29,7 +29,7 @@ class WorkspaceServiceTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * Set up diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php index 2de99f678ee8..1a60cd000b39 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceStageVisibleFieldsTest.php @@ -27,7 +27,7 @@ class WorkspaceStageVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var array diff --git a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php index 0fbe59e113de..68f231779e40 100644 --- a/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php +++ b/typo3/sysext/workspaces/Tests/Functional/Tca/WorkspaceVisibleFieldsTest.php @@ -27,7 +27,7 @@ class WorkspaceVisibleFieldsTest extends FunctionalTestCase /** * @var array */ - protected $coreExtensionsToLoad = ['workspaces']; + protected array $coreExtensionsToLoad = ['workspaces']; /** * @var array -- GitLab