From 9add7f71ff26864477f80e3495859f2be28e6e6e Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Wed, 3 Jan 2024 15:25:34 +1000 Subject: [PATCH] Issue #3399373 by mstrelan, xjm, longwave, quietone: Add declare(strict_types=1) to all Unit tests --- .../action/tests/src/Unit/Menu/ActionLocalTasksTest.php | 2 ++ .../tests/src/Unit/AnnounceFetcherUnitTest.php | 2 ++ core/modules/ban/tests/src/Unit/BanMiddlewareTest.php | 2 ++ .../Unit/Render/BigPipeResponseAttachmentsProcessorTest.php | 2 ++ .../big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php | 2 ++ .../big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php | 2 ++ .../src/Unit/Render/Placeholder/BigPipeStrategyTest.php | 2 ++ .../block/tests/src/Unit/BlockConfigEntityUnitTest.php | 2 ++ core/modules/block/tests/src/Unit/BlockFormTest.php | 2 ++ core/modules/block/tests/src/Unit/BlockRepositoryTest.php | 2 ++ .../block/tests/src/Unit/CategoryAutocompleteTest.php | 2 ++ .../block/tests/src/Unit/Menu/BlockLocalTasksTest.php | 2 ++ .../src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/BlockRegionTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/BlockSettingsTest.php | 2 ++ .../Plugin/migrate/process/BlockThemeDeprecationTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/BlockVisibilityTest.php | 2 ++ .../tests/src/Unit/Access/AccessGroupAndTest.php | 2 ++ .../tests/src/Unit/Access/AccessibleTestingTrait.php | 2 ++ .../tests/src/Unit/Access/DependentAccessTest.php | 2 ++ .../tests/src/Unit/Menu/BlockContentLocalTasksTest.php | 2 ++ core/modules/book/tests/src/Unit/BookManagerTest.php | 2 ++ .../book/tests/src/Unit/BookUninstallValidatorTest.php | 2 ++ .../modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php | 2 ++ core/modules/breakpoint/tests/src/Unit/BreakpointTest.php | 2 ++ core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php | 2 +- .../ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php | 2 +- .../ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php | 2 +- .../comment/tests/src/Unit/CommentLinkBuilderTest.php | 2 ++ core/modules/comment/tests/src/Unit/CommentManagerTest.php | 2 ++ .../comment/tests/src/Unit/CommentStatisticsUnitTest.php | 2 ++ .../comment/tests/src/Unit/Entity/CommentLockTest.php | 2 ++ .../src/Unit/Plugin/views/field/CommentBulkFormTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/EntityLinkTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/LinkApproveTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/LinkReplyTest.php | 2 ++ .../config/tests/src/Unit/Menu/ConfigLocalTasksTest.php | 2 ++ .../tests/src/Unit/ConfigEntityMapperTest.php | 2 ++ .../tests/src/Unit/ConfigFieldMapperTest.php | 2 ++ .../tests/src/Unit/ConfigMapperManagerTest.php | 2 ++ .../tests/src/Unit/ConfigNamesMapperTest.php | 2 ++ core/modules/contact/tests/src/Unit/ContactLinkTest.php | 2 ++ core/modules/contact/tests/src/Unit/MailHandlerTest.php | 2 ++ .../tests/src/Unit/ContentModerationRouteSubscriberTest.php | 2 ++ .../tests/src/Unit/ContentPreprocessTest.php | 2 ++ .../tests/src/Unit/LatestRevisionCheckTest.php | 2 ++ .../tests/src/Unit/ModerationInformationTest.php | 2 ++ .../tests/src/Unit/StateTransitionValidationTest.php | 2 ++ .../Unit/Access/ContentTranslationManageAccessCheckTest.php | 2 ++ .../src/Unit/Menu/ContentTranslationLocalTasksTest.php | 2 ++ .../tests/src/Unit/Plugin/migrate/field/DateFieldTest.php | 2 ++ .../editor/tests/src/Unit/EditorConfigEntityUnitTest.php | 2 ++ .../editor/tests/src/Unit/EditorXssFilter/StandardTest.php | 2 ++ .../tests/src/Unit/FieldConfigAccessControlHandlerTest.php | 2 ++ .../field/tests/src/Unit/FieldConfigEntityUnitTest.php | 2 ++ .../src/Unit/FieldStorageConfigAccessControlHandlerTest.php | 2 ++ .../tests/src/Unit/FieldStorageConfigEntityUnitTest.php | 2 ++ .../field/tests/src/Unit/FieldUninstallValidatorTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/ProcessFieldTest.php | 2 ++ .../Plugin/migrate/process/d6/FieldInstanceSettingsTest.php | 2 ++ .../Unit/Plugin/migrate/process/d6/FieldSettingsTest.php | 2 ++ .../Plugin/migrate/process/d6/FieldTypeDefaultsTest.php | 2 ++ .../Plugin/migrate/process/d7/FieldInstanceSettingsTest.php | 2 ++ .../Unit/Plugin/migrate/process/d7/FieldSettingsTest.php | 2 ++ .../Plugin/migrate/process/d7/FieldTypeDefaultsTest.php | 2 ++ .../field_layout/tests/src/Unit/FieldLayoutBuilderTest.php | 2 ++ .../field_ui/tests/src/Unit/FieldConfigEditFormTest.php | 2 ++ core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php | 2 ++ core/modules/field_ui/tests/src/Unit/FieldUiTest.php | 2 ++ .../src/Unit/Plugin/migrate/field/d6/FileFieldTest.php | 2 ++ .../src/Unit/Plugin/migrate/field/d7/FileFieldTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/d6/FieldFileTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/d6/FileUriTest.php | 2 ++ core/modules/file/tests/src/Unit/SanitizeNameTest.php | 2 ++ .../Unit/Upload/ContentDispositionFilenameParserTest.php | 2 ++ core/modules/filter/tests/src/Unit/FilterHtmlTest.php | 2 ++ .../filter/tests/src/Unit/FilterImageLazyLoadTest.php | 2 +- .../filter/tests/src/Unit/FilterUninstallValidatorTest.php | 2 ++ .../src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php | 2 ++ .../Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php | 2 ++ .../src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php | 2 ++ core/modules/forum/tests/src/Unit/ForumManagerTest.php | 2 ++ .../forum/tests/src/Unit/ForumUninstallValidatorTest.php | 2 ++ core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php | 2 ++ .../modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php | 2 ++ core/modules/help/tests/src/Unit/HelpTopicTwigTest.php | 2 ++ core/modules/image/tests/src/Unit/ImageStyleTest.php | 2 ++ .../Unit/PageCache/DenyPrivateImageStyleDownloadTest.php | 2 ++ .../tests/src/Unit/FormErrorHandlerTest.php | 2 ++ .../Unit/EventSubscriber/ResourceResponseValidatorTest.php | 2 ++ .../jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php | 2 ++ core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php | 2 ++ .../src/Unit/Normalizer/HttpExceptionNormalizerTest.php | 2 ++ .../Normalizer/JsonApiDocumentTopLevelNormalizerTest.php | 2 ++ .../Unit/Normalizer/ResourceIdentifierNormalizerTest.php | 2 ++ .../tests/src/Unit/Query/EntityConditionGroupTest.php | 2 ++ .../jsonapi/tests/src/Unit/Query/EntityConditionTest.php | 2 ++ .../modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php | 2 ++ core/modules/jsonapi/tests/src/Unit/Query/SortTest.php | 2 ++ core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php | 2 ++ .../tests/src/Unit/Config/LanguageConfigOverrideTest.php | 2 ++ .../tests/src/Unit/ConfigurableLanguageUnitTest.php | 2 ++ .../tests/src/Unit/ContentLanguageSettingsUnitTest.php | 2 ++ .../language/tests/src/Unit/LanguageNegotiationUrlTest.php | 2 ++ .../language/tests/src/Unit/Menu/LanguageLocalTasksTest.php | 2 ++ .../LanguageNegotiationContentEntityTest.php | 2 ++ .../LanguageNegotiation/LanguageNegotiationTestBase.php | 2 ++ .../language/tests/src/Unit/process/LanguageDomainsTest.php | 2 ++ .../tests/src/Unit/process/LanguageNegotiationTest.php | 2 ++ .../language/tests/src/Unit/process/LanguageTypesTest.php | 2 ++ .../tests/src/Unit/BlockComponentRenderArrayTest.php | 2 ++ .../tests/src/Unit/DefaultsSectionStorageTest.php | 2 ++ .../layout_builder/tests/src/Unit/InlineBlockUsageTest.php | 2 ++ .../src/Unit/LayoutBuilderIsActiveCacheContextTest.php | 2 ++ .../tests/src/Unit/LayoutBuilderRoutesTest.php | 2 ++ .../tests/src/Unit/LayoutEntityHelperTraitTest.php | 2 ++ .../src/Unit/LayoutSectionStorageParamConverterTest.php | 2 ++ .../tests/src/Unit/LayoutTempstoreRepositoryTest.php | 2 ++ .../tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php | 2 ++ .../tests/src/Unit/OverridesSectionStorageTest.php | 2 ++ .../layout_builder/tests/src/Unit/SectionComponentTest.php | 2 ++ .../layout_builder/tests/src/Unit/SectionRenderTest.php | 2 ++ .../tests/src/Unit/SectionStorageManagerTest.php | 2 ++ core/modules/layout_builder/tests/src/Unit/SectionTest.php | 2 ++ core/modules/link/tests/src/Unit/LinkFormatterTest.php | 2 ++ .../Constraint/LinkAccessConstraintValidatorTest.php | 2 ++ .../LinkExternalProtocolsConstraintValidatorTest.php | 2 ++ .../LinkNotExistingInternalConstraintValidatorTest.php | 2 ++ .../src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php | 2 ++ .../tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php | 2 ++ core/modules/locale/tests/src/Unit/LocaleLookupTest.php | 2 ++ .../modules/locale/tests/src/Unit/LocaleTranslationTest.php | 2 ++ .../locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php | 2 ++ core/modules/locale/tests/src/Unit/StringBaseTest.php | 2 ++ core/modules/media/tests/src/Unit/EndpointTest.php | 2 ++ core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php | 2 ++ .../modules/media/tests/src/Unit/ProviderRepositoryTest.php | 2 ++ core/modules/media/tests/src/Unit/ResourceFetcherTest.php | 2 ++ core/modules/media/tests/src/Unit/ResourceTest.php | 2 ++ .../tests/src/Unit/MediaLibrarySelectFormTest.php | 2 ++ .../tests/src/Unit/MenuLinkContentEntityAccessTest.php | 2 ++ .../menu_link_content/tests/src/Unit/MenuLinkPluginTest.php | 2 ++ core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php | 2 ++ .../migrate/tests/src/Unit/Event/MigrateImportEventTest.php | 2 ++ .../tests/src/Unit/Event/MigratePostRowSaveEventTest.php | 2 ++ .../tests/src/Unit/Event/MigratePreRowSaveEventTest.php | 2 ++ .../tests/src/Unit/Exception/RequirementsExceptionTest.php | 2 ++ .../tests/src/Unit/MigrateExecutableMemoryExceededTest.php | 2 ++ .../migrate/tests/src/Unit/MigrateExecutableTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrateLookupTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrateSourceTest.php | 2 ++ .../tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrateStubTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrateTestCase.php | 2 ++ .../migrate/tests/src/Unit/MigrationPluginManagerTest.php | 2 ++ core/modules/migrate/tests/src/Unit/MigrationTest.php | 2 ++ .../Plugin/migrate/destination/CheckRequirementsTest.php | 2 ++ .../Plugin/migrate/destination/EntityContentBaseTest.php | 2 ++ .../Unit/Plugin/migrate/destination/EntityRevisionTest.php | 2 ++ .../src/Unit/Plugin/migrate/destination/EntityTestBase.php | 2 ++ core/modules/migrate/tests/src/Unit/RowTest.php | 2 ++ core/modules/migrate/tests/src/Unit/SqlBaseTest.php | 2 ++ .../migrate/tests/src/Unit/TestMigrateExecutable.php | 2 ++ core/modules/migrate/tests/src/Unit/TestSqlIdMap.php | 2 ++ .../migrate/tests/src/Unit/destination/ConfigTest.php | 2 ++ .../tests/src/Unit/destination/EntityRevisionTest.php | 2 ++ .../src/Unit/destination/PerComponentEntityDisplayTest.php | 2 ++ .../Unit/destination/PerComponentEntityFormDisplayTest.php | 2 ++ .../migrate/tests/src/Unit/process/ArrayBuildTest.php | 2 ++ .../modules/migrate/tests/src/Unit/process/CallbackTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/ConcatTest.php | 2 ++ .../migrate/tests/src/Unit/process/DefaultValueTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/ExplodeTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/ExtractTest.php | 2 ++ .../modules/migrate/tests/src/Unit/process/FileCopyTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/FlattenTest.php | 2 ++ .../migrate/tests/src/Unit/process/FormatDateTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/GetTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/LogTest.php | 2 ++ .../migrate/tests/src/Unit/process/MachineNameTest.php | 2 ++ .../tests/src/Unit/process/MakeUniqueEntityFieldTest.php | 2 ++ .../migrate/tests/src/Unit/process/MenuLinkParentTest.php | 2 ++ .../tests/src/Unit/process/MigrateProcessTestCase.php | 2 ++ .../migrate/tests/src/Unit/process/MigrationLookupTest.php | 2 ++ .../tests/src/Unit/process/MigrationLookupTestCase.php | 2 ++ .../migrate/tests/src/Unit/process/NullCoalesceTest.php | 2 ++ .../migrate/tests/src/Unit/process/SkipOnEmptyTest.php | 2 ++ .../migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php | 2 ++ .../migrate/tests/src/Unit/process/StaticMapTest.php | 2 ++ .../migrate/tests/src/Unit/process/SubProcessTest.php | 2 ++ core/modules/migrate/tests/src/Unit/process/SubstrTest.php | 2 ++ .../migrate/tests/src/Unit/process/UrlEncodeTest.php | 2 ++ .../migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php | 2 ++ .../tests/src/Unit/MigrateFieldPluginManagerTest.php | 2 ++ .../tests/src/Unit/MigrationConfigurationTraitTest.php | 2 ++ .../tests/src/Unit/MigrationStateUnitTest.php | 2 ++ .../tests/src/Unit/source/DrupalSqlBaseTest.php | 2 ++ .../tests/src/Unit/source/d6/Drupal6SqlBaseTest.php | 2 ++ core/modules/mysql/tests/src/Unit/ConnectionTest.php | 2 ++ core/modules/mysql/tests/src/Unit/InstallTasksTest.php | 2 ++ .../modules/node/tests/src/Unit/NodeOperationAccessTest.php | 2 ++ .../node/tests/src/Unit/PageCache/DenyNodePreviewTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php | 2 ++ .../src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php | 2 ++ .../src/Unit/Plugin/views/field/RevisionLinkRevertTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/RevisionLinkTest.php | 2 ++ .../path/tests/src/Unit/Field/PathFieldDefinitionTest.php | 2 ++ .../src/Unit/migrate/process/PathSetTranslatedTest.php | 2 ++ core/modules/path_alias/tests/src/Unit/AliasManagerTest.php | 2 ++ .../tests/src/Unit/PathProcessor/AliasPathProcessorTest.php | 2 ++ core/modules/pgsql/tests/src/Unit/SchemaTest.php | 2 ++ .../phpass/tests/src/Unit/LegacyPasswordHashingTest.php | 2 ++ core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php | 2 ++ .../src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php | 2 ++ core/modules/rest/tests/src/Unit/CollectRoutesTest.php | 2 ++ .../rest/tests/src/Unit/Entity/RestResourceConfigTest.php | 2 ++ .../tests/src/Unit/EntityResourceValidationTraitTest.php | 2 ++ .../Unit/EventSubscriber/ResourceResponseSubscriberTest.php | 2 ++ .../tests/src/Unit/Plugin/views/style/SerializerTest.php | 2 ++ core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php | 2 ++ core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php | 2 ++ .../sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php | 2 ++ core/modules/sdc/tests/src/Unit/UtilitiesTest.php | 2 ++ .../search/tests/src/Unit/SearchPageRepositoryTest.php | 2 ++ .../search/tests/src/Unit/SearchPluginCollectionTest.php | 2 ++ .../RegisterSerializationClassesCompilerPassTest.php | 2 ++ .../tests/src/Unit/Encoder/JsonEncoderTest.php | 2 ++ .../serialization/tests/src/Unit/Encoder/XmlEncoderTest.php | 2 ++ .../src/Unit/EntityResolver/ChainEntityResolverTest.php | 2 ++ .../tests/src/Unit/EntityResolver/UuidResolverTest.php | 2 ++ .../Unit/EventSubscriber/DefaultExceptionSubscriberTest.php | 2 ++ .../tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/ConfigEntityNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/ContentEntityNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php | 2 ++ .../tests/src/Unit/Normalizer/DateTimeNormalizerTest.php | 2 ++ .../tests/src/Unit/Normalizer/EntityNormalizerTest.php | 2 ++ .../Normalizer/EntityReferenceFieldItemNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/InternalTypedDataTestTrait.php | 2 ++ .../tests/src/Unit/Normalizer/ListNormalizerTest.php | 2 ++ .../tests/src/Unit/Normalizer/NormalizerBaseTest.php | 2 ++ .../tests/src/Unit/Normalizer/NullNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/PrimitiveDataNormalizerTest.php | 2 ++ .../src/Unit/Normalizer/TimestampItemNormalizerTest.php | 2 ++ .../tests/src/Unit/Normalizer/TimestampNormalizerTest.php | 2 ++ .../tests/src/Unit/Normalizer/TypedDataNormalizerTest.php | 2 ++ .../BlockPluginHasSettingsTrayFormAccessCheckTest.php | 2 ++ .../shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php | 2 ++ core/modules/sqlite/tests/src/Unit/ConnectionTest.php | 2 ++ .../statistics/tests/src/Unit/StatisticsViewsResultTest.php | 2 ++ .../system/tests/src/Unit/Batch/BatchControllerTest.php | 2 ++ .../src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php | 2 ++ .../Unit/Event/SecurityFileUploadEventSubscriberTest.php | 2 ++ .../modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php | 2 ++ .../system/tests/src/Unit/Menu/SystemLocalTasksTest.php | 2 ++ .../system/tests/src/Unit/Pager/PreprocessPagerTest.php | 2 ++ .../tests/src/Unit/Routing/AdminRouteSubscriberTest.php | 2 ++ .../src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php | 2 ++ core/modules/system/tests/src/Unit/TraitAccessTest.php | 2 ++ .../src/Unit/Transliteration/MachineNameControllerTest.php | 2 ++ .../taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php | 2 ++ .../Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php | 2 ++ .../src/Unit/Plugin/migrate/field/d6/TextFieldTest.php | 2 ++ .../src/Unit/Plugin/migrate/field/d7/TextFieldTest.php | 2 ++ .../tests/src/Unit/PageCache/AllowToolbarPathTest.php | 2 ++ core/modules/tour/tests/src/Unit/Entity/TourTest.php | 2 ++ core/modules/tour/tests/src/Unit/TipPluginBaseTest.php | 2 ++ .../update/tests/src/Unit/Menu/UpdateLocalTasksTest.php | 2 ++ .../update/tests/src/Unit/ProjectCoreCompatibilityTest.php | 2 ++ core/modules/update/tests/src/Unit/ProjectReleaseTest.php | 2 ++ core/modules/update/tests/src/Unit/UpdateFetcherTest.php | 2 ++ core/modules/update/tests/src/Unit/UpdateMailTest.php | 2 ++ .../user/tests/src/Unit/Form/EntityPermissionsFormTest.php | 2 ++ .../modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php | 2 ++ .../user/tests/src/Unit/PermissionAccessCheckTest.php | 2 ++ core/modules/user/tests/src/Unit/PermissionHandlerTest.php | 2 ++ .../user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php | 2 ++ .../tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php | 2 ++ .../user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php | 2 ++ .../user/tests/src/Unit/Plugin/Core/Entity/UserTest.php | 2 ++ .../tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php | 2 ++ .../ProtectedUserFieldConstraintValidatorTest.php | 2 ++ .../Validation/Constraint/UserMailRequiredValidatorTest.php | 2 ++ .../src/Unit/Plugin/migrate/process/ConvertTokensTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/PermissionsTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/UserBulkFormTest.php | 2 ++ .../user/tests/src/Unit/Theme/AdminNegotiatorTest.php | 2 ++ core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php | 2 ++ .../user/tests/src/Unit/UserAccessControlHandlerTest.php | 2 ++ core/modules/user/tests/src/Unit/UserAuthTest.php | 2 ++ core/modules/user/tests/src/Unit/UserNameItemTest.php | 2 ++ .../user/tests/src/Unit/UserRegistrationResourceTest.php | 2 ++ .../user/tests/src/Unit/Views/Argument/RolesRidTest.php | 2 ++ .../tests/src/Unit/Controller/ViewAjaxControllerTest.php | 2 ++ .../tests/src/Unit/EventSubscriber/RouteSubscriberTest.php | 2 ++ .../views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php | 2 ++ .../tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php | 2 ++ .../modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php | 2 ++ .../views/tests/src/Unit/Plugin/HandlerTestTrait.php | 2 ++ .../modules/views/tests/src/Unit/Plugin/area/EntityTest.php | 2 ++ .../views/tests/src/Unit/Plugin/area/MessagesTest.php | 2 ++ .../modules/views/tests/src/Unit/Plugin/area/ResultTest.php | 2 ++ core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php | 2 ++ .../src/Unit/Plugin/argument_default/QueryParameterTest.php | 2 ++ .../tests/src/Unit/Plugin/argument_default/RawTest.php | 2 ++ .../tests/src/Unit/Plugin/argument_validator/EntityTest.php | 2 ++ .../views/tests/src/Unit/Plugin/display/PageTest.php | 2 ++ .../tests/src/Unit/Plugin/display/PathPluginBaseTest.php | 2 ++ .../views/tests/src/Unit/Plugin/field/CounterTest.php | 2 ++ .../tests/src/Unit/Plugin/field/FieldPluginBaseTest.php | 2 ++ .../modules/views/tests/src/Unit/Plugin/field/FieldTest.php | 2 ++ .../tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php | 2 ++ .../views/tests/src/Unit/Plugin/filter/InOperatorTest.php | 2 ++ .../tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php | 2 ++ .../views/tests/src/Unit/Plugin/pager/SqlBaseTest.php | 2 ++ core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php | 2 ++ .../views/tests/src/Unit/Plugin/views/display/BlockTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/BulkFormTest.php | 2 ++ .../Unit/Plugin/views/field/EntityOperationsUnitTest.php | 2 ++ .../tests/src/Unit/Plugin/views/field/LinkBaseTest.php | 2 ++ .../src/Unit/Plugin/views/field/RenderedEntityTest.php | 2 ++ .../tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php | 2 ++ .../src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php | 2 ++ .../tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php | 2 ++ core/modules/views/tests/src/Unit/PluginBaseTest.php | 2 ++ core/modules/views/tests/src/Unit/PluginTypeListTest.php | 2 ++ .../views/tests/src/Unit/Routing/ViewPageControllerTest.php | 2 ++ .../views/tests/src/Unit/ViewExecutableFactoryTest.php | 2 ++ core/modules/views/tests/src/Unit/ViewExecutableTest.php | 2 ++ core/modules/views/tests/src/Unit/ViewsDataHelperTest.php | 2 ++ core/modules/views/tests/src/Unit/ViewsDataTest.php | 2 ++ .../views/tests/src/Unit/ViewsHandlerManagerTest.php | 2 ++ core/modules/views/tests/src/Unit/ViewsTest.php | 2 ++ core/modules/views/tests/src/Unit/WizardPluginBaseTest.php | 2 ++ .../tests/src/Unit/Form/Ajax/RearrangeFilterTest.php | 2 ++ .../modules/views_ui/tests/src/Unit/ViewListBuilderTest.php | 2 ++ core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php | 2 ++ core/modules/workflows/tests/src/Unit/StateTest.php | 2 ++ core/modules/workflows/tests/src/Unit/TransitionTest.php | 2 ++ .../WorkflowStateTransitionOperationsAccessCheckTest.php | 2 ++ core/modules/workflows/tests/src/Unit/WorkflowTest.php | 2 ++ .../workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php | 2 ++ .../tests/src/Unit/WorkspaceRequestSubscriberTest.php | 2 ++ core/phpcs.xml.dist | 4 ++++ core/tests/Drupal/Tests/CSpell/SortTest.php | 2 ++ .../Annotation/AnnotatedClassDiscoveryCachedTest.php | 2 ++ .../Component/Annotation/AnnotatedClassDiscoveryTest.php | 2 ++ .../Tests/Component/Annotation/AnnotationBaseTest.php | 2 ++ .../Component/Annotation/DocParserIgnoredClassesTest.php | 2 ++ .../Tests/Component/Annotation/Doctrine/DocParserTest.php | 2 ++ .../Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php | 2 ++ .../Annotation/Doctrine/Fixtures/Annotation/Autoload.php | 2 ++ .../Annotation/Doctrine/Fixtures/Annotation/Route.php | 2 ++ .../Annotation/Doctrine/Fixtures/Annotation/Secure.php | 2 ++ .../Annotation/Doctrine/Fixtures/Annotation/Template.php | 2 ++ .../Annotation/Doctrine/Fixtures/Annotation/Version.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationEnum.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php | 2 ++ .../Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationTargetAll.php | 2 ++ .../Doctrine/Fixtures/AnnotationTargetAnnotation.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationTargetClass.php | 2 ++ .../Doctrine/Fixtures/AnnotationTargetPropertyMethod.php | 2 ++ .../Doctrine/Fixtures/AnnotationWithAttributes.php | 2 ++ .../Doctrine/Fixtures/AnnotationWithConstants.php | 2 ++ .../Doctrine/Fixtures/AnnotationWithRequiredAttributes.php | 2 ++ .../AnnotationWithRequiredAttributesWithoutContructor.php | 2 ++ .../Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php | 2 ++ .../Annotation/Doctrine/Fixtures/AnnotationWithVarType.php | 2 ++ .../Annotation/Doctrine/Fixtures/ClassWithConstants.php | 2 ++ .../Fixtures/ClassWithInvalidAnnotationTargetAtClass.php | 2 ++ .../Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php | 2 ++ .../Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php | 2 ++ .../Doctrine/Fixtures/ClassWithValidAnnotationTarget.php | 2 ++ .../Annotation/Doctrine/Fixtures/IntefaceWithConstants.php | 2 ++ .../Component/Annotation/Doctrine/Ticket/DCOM58Entity.php | 2 ++ .../Component/Annotation/Doctrine/Ticket/DCOM58Test.php | 2 ++ .../Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php | 2 ++ .../Tests/Component/Annotation/MockFileFinderTest.php | 2 ++ .../Plugin/Discovery/AnnotationBridgeDecoratorTest.php | 2 ++ .../Drupal/Tests/Component/Annotation/PluginIdTest.php | 2 ++ core/tests/Drupal/Tests/Component/Annotation/PluginTest.php | 2 ++ .../Drupal/Tests/Component/Assertion/InspectorTest.php | 2 ++ .../Drupal/Tests/Component/ClassFinder/ClassFinderTest.php | 2 ++ .../Drupal/Tests/Component/Datetime/DateTimePlusTest.php | 2 ++ core/tests/Drupal/Tests/Component/Datetime/TimeTest.php | 2 ++ .../Tests/Component/Datetime/TimeWithNoRequestTest.php | 2 ++ .../Tests/Component/DependencyInjection/ContainerTest.php | 2 ++ .../Dumper/OptimizedPhpArrayDumperTest.php | 2 ++ .../DependencyInjection/Dumper/PhpArrayDumperTest.php | 2 ++ .../Component/DependencyInjection/PhpArrayContainerTest.php | 2 ++ .../Component/DependencyInjection/ReverseContainerTest.php | 2 ++ .../tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php | 2 ++ .../Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php | 2 ++ .../Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php | 2 ++ .../tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php | 2 ++ .../Component/Diff/Engine/HWLDFWordAccumulatorTest.php | 2 ++ .../Component/Discovery/YamlDirectoryDiscoveryTest.php | 2 ++ .../Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php | 2 ++ core/tests/Drupal/Tests/Component/DrupalComponentTest.php | 2 ++ .../EventDispatcher/ContainerAwareEventDispatcherTest.php | 2 ++ .../Tests/Component/FileCache/FileCacheFactoryTest.php | 2 ++ .../Drupal/Tests/Component/FileCache/FileCacheTest.php | 2 ++ .../Tests/Component/FileCache/StaticFileCacheBackend.php | 2 ++ .../Tests/Component/FileSecurity/FileSecurityTest.php | 2 ++ .../Component/FileSystem/RegexDirectoryIteratorTest.php | 2 ++ .../Drupal/Tests/Component/FrontMatter/FrontMatterTest.php | 2 ++ core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php | 2 ++ .../Drupal/Tests/Component/Gettext/PoStreamWriterTest.php | 2 ++ core/tests/Drupal/Tests/Component/Graph/GraphTest.php | 2 ++ .../HttpFoundation/SecuredRedirectResponseTest.php | 2 ++ .../Tests/Component/PhpStorage/FileStorageReadOnlyTest.php | 2 ++ .../Drupal/Tests/Component/PhpStorage/FileStorageTest.php | 2 ++ .../PhpStorage/MTimeProtectedFastFileStorageTest.php | 2 ++ .../Component/PhpStorage/MTimeProtectedFileStorageBase.php | 2 ++ .../Component/PhpStorage/MTimeProtectedFileStorageTest.php | 2 ++ .../Tests/Component/PhpStorage/PhpStorageTestBase.php | 2 ++ .../Tests/Component/Plugin/Attribute/AttributeBaseTest.php | 2 ++ .../Plugin/Attribute/AttributeClassDiscoveryCachedTest.php | 2 ++ .../Plugin/Attribute/AttributeClassDiscoveryTest.php | 2 ++ .../Component/Plugin/Attribute/Fixtures/CustomPlugin.php | 2 ++ .../Plugins/PluginNamespace/AttributeDiscoveryTest1.php | 2 ++ .../Tests/Component/Plugin/Attribute/PluginIdTest.php | 2 ++ .../Drupal/Tests/Component/Plugin/Attribute/PluginTest.php | 2 ++ .../Drupal/Tests/Component/Plugin/Context/ContextTest.php | 2 ++ .../Drupal/Tests/Component/Plugin/DefaultFactoryTest.php | 2 ++ .../Plugin/Discovery/AnnotatedClassDiscoveryTest.php | 2 ++ .../Plugin/Discovery/AttributeBridgeDecoratorTest.php | 2 ++ .../Component/Plugin/Discovery/DiscoveryCachedTraitTest.php | 2 ++ .../Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php | 2 ++ .../Plugin/Discovery/StaticDiscoveryDecoratorTest.php | 2 ++ .../Component/Plugin/Factory/ReflectionFactoryTest.php | 2 ++ .../Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php | 2 ++ .../Tests/Component/Plugin/Fixtures/vegetable/Corn.php | 2 ++ .../Plugin/Fixtures/vegetable/VegetableInterface.php | 2 ++ core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php | 2 ++ .../Tests/Component/Plugin/PluginHelperLegacyTest.php | 2 ++ .../Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php | 2 ++ .../Tests/Component/Plugin/StubFallbackPluginManager.php | 2 ++ .../Component/Plugin/StubPluginManagerBaseWithMapper.php | 2 ++ .../Tests/Component/ProxyBuilder/ProxyBuilderTest.php | 2 ++ .../Drupal/Tests/Component/Render/FormattableMarkupTest.php | 2 ++ .../Drupal/Tests/Component/Render/HtmlEscapedTextTest.php | 2 ++ .../Drupal/Tests/Component/Render/PlainTextOutputTest.php | 2 ++ .../tests/Drupal/Tests/Component/Serialization/JsonTest.php | 2 ++ .../Drupal/Tests/Component/Serialization/YamlPeclTest.php | 2 ++ .../Tests/Component/Serialization/YamlSymfonyTest.php | 2 ++ .../tests/Drupal/Tests/Component/Serialization/YamlTest.php | 2 ++ .../Drupal/Tests/Component/Serialization/YamlTestBase.php | 2 ++ .../Component/Transliteration/PhpTransliterationTest.php | 2 ++ .../Tests/Component/Utility/ArgumentsResolverTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/BytesTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/ColorTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/CryptTest.php | 2 ++ .../Drupal/Tests/Component/Utility/EmailValidatorTest.php | 2 ++ .../Drupal/Tests/Component/Utility/EnvironmentTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/HtmlTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/ImageTest.php | 2 ++ .../Drupal/Tests/Component/Utility/NestedArrayTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/NumberTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/RandomTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/RectangleTest.php | 2 ++ .../tests/Drupal/Tests/Component/Utility/ReflectionTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/TimerTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/VariableTest.php | 2 ++ core/tests/Drupal/Tests/Component/Utility/XssTest.php | 2 ++ core/tests/Drupal/Tests/Component/Uuid/UuidTest.php | 2 ++ .../tests/Drupal/Tests/Component/Version/ConstraintTest.php | 2 ++ core/tests/Drupal/Tests/Composer/ComposerTest.php | 2 ++ core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php | 2 ++ core/tests/Drupal/Tests/Composer/Generator/Fixtures.php | 2 ++ .../Tests/Composer/Generator/MetapackageUpdateTest.php | 2 ++ .../Generator/OverlapWithTopLevelDependenciesTest.php | 2 ++ .../Tests/Composer/Plugin/ProjectMessage/ConfigTest.php | 2 ++ .../Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php | 2 ++ .../Plugin/Scaffold/Functional/ComposerHookTest.php | 2 ++ .../Plugin/Scaffold/Functional/ManageGitIgnoreTest.php | 2 ++ .../Composer/Plugin/Scaffold/Functional/ScaffoldTest.php | 2 ++ .../Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php | 2 ++ .../Composer/Plugin/Scaffold/Integration/AppendOpTest.php | 2 ++ .../Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php | 2 ++ .../Scaffold/Integration/ScaffoldFileCollectionTest.php | 2 ++ .../Composer/Plugin/Scaffold/Integration/SkipOpTest.php | 2 ++ .../Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php | 2 ++ .../Tests/Composer/Plugin/VendorHardening/ConfigTest.php | 2 ++ .../Plugin/VendorHardening/VendorHardeningPluginTest.php | 2 ++ core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php | 2 ++ .../Drupal/Tests/Core/Access/AccessResultForbiddenTest.php | 2 ++ .../Drupal/Tests/Core/Access/AccessResultNeutralTest.php | 2 ++ core/tests/Drupal/Tests/Core/Access/AccessResultTest.php | 2 ++ core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php | 2 ++ .../Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php | 2 ++ .../Drupal/Tests/Core/Access/CustomAccessCheckTest.php | 2 ++ .../Drupal/Tests/Core/Access/DefaultAccessCheckTest.php | 2 ++ .../Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php | 2 ++ core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php | 2 ++ core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php | 2 ++ .../Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php | 2 ++ .../Drupal/Tests/Core/Annotation/PluralTranslationTest.php | 2 ++ core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php | 2 ++ core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php | 2 ++ .../Tests/Core/Asset/CssCollectionGrouperUnitTest.php | 2 ++ .../Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php | 2 ++ .../Tests/Core/Asset/CssCollectionOptimizerUnitTest.php | 2 ++ .../Tests/Core/Asset/CssCollectionRendererUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php | 2 ++ .../Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php | 2 ++ .../Tests/Core/Asset/LibraryDependencyResolverTest.php | 2 ++ .../Tests/Core/Asset/LibraryDiscoveryCollectorTest.php | 2 ++ .../Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php | 2 ++ core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php | 2 ++ .../Core/Authentication/AuthenticationCollectorTest.php | 2 ++ .../Tests/Core/Authentication/AuthenticationManagerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php | 2 ++ core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php | 2 ++ .../Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php | 2 ++ .../Tests/Core/Cache/BackendChainImplementationUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php | 2 ++ .../Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/CacheTest.php | 2 ++ .../tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php | 2 ++ .../Tests/Core/Cache/ChainedFastBackendFactoryTest.php | 2 ++ .../Drupal/Tests/Core/Cache/ChainedFastBackendTest.php | 2 ++ .../Tests/Core/Cache/Context/CacheContextsManagerTest.php | 2 ++ .../Tests/Core/Cache/Context/CookieCacheContextTest.php | 2 ++ .../Tests/Core/Cache/Context/HeadersCacheContextTest.php | 2 ++ .../Core/Cache/Context/IsFrontPathCacheContextTest.php | 2 ++ .../Tests/Core/Cache/Context/PathParentCacheContextTest.php | 2 ++ .../Core/Cache/Context/ProtocolVersionCacheContextTest.php | 2 ++ .../Tests/Core/Cache/Context/QueryArgsCacheContextTest.php | 2 ++ .../Tests/Core/Cache/Context/SessionCacheContextTest.php | 2 ++ .../Tests/Core/Cache/Context/UserRolesCacheContextTest.php | 2 ++ .../Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php | 2 ++ core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php | 2 ++ core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php | 2 ++ core/tests/Drupal/Tests/Core/Command/QuickStartTest.php | 2 ++ core/tests/Drupal/Tests/Core/Common/AttributesTest.php | 2 ++ core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php | 2 ++ core/tests/Drupal/Tests/Core/Common/TagsTest.php | 2 ++ .../Core/Condition/ConditionAccessResolverTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php | 2 ++ .../Tests/Core/Config/ConfigDependencyManagerTest.php | 2 ++ .../Tests/Core/Config/ConfigFactoryOverrideBaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/ConfigTest.php | 2 ++ .../Core/Config/Entity/ConfigDependencyManagerTest.php | 2 ++ .../Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php | 2 ++ .../Tests/Core/Config/Entity/ConfigEntityDependencyTest.php | 2 ++ .../Tests/Core/Config/Entity/ConfigEntityStorageTest.php | 2 ++ .../Tests/Core/Config/Entity/ConfigEntityTypeTest.php | 2 ++ .../Tests/Core/Config/Entity/EntityDisplayBaseTest.php | 2 ++ .../Core/Config/Entity/EntityDisplayModeBaseUnitTest.php | 2 ++ .../Fixtures/ConfigEntityBaseWithPluginCollections.php | 2 ++ .../Tests/Core/Config/Entity/Query/QueryFactoryTest.php | 2 ++ .../Tests/Core/Config/ExtensionInstallStorageTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/NullStorageTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php | 2 ++ core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php | 2 ++ .../tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php | 2 ++ .../tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php | 2 ++ .../Drupal/Tests/Core/Controller/ControllerBaseTest.php | 2 ++ .../Drupal/Tests/Core/Controller/ControllerResolverTest.php | 2 ++ core/tests/Drupal/Tests/Core/Controller/TestController.php | 2 ++ .../Drupal/Tests/Core/Controller/TitleResolverTest.php | 2 ++ .../Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php | 2 ++ core/tests/Drupal/Tests/Core/CronTest.php | 2 ++ core/tests/Drupal/Tests/Core/Database/ConditionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Database/ConnectionTest.php | 2 ++ .../tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php | 2 ++ core/tests/Drupal/Tests/Core/Database/DatabaseTest.php | 2 ++ .../Core/Database/DriverModuleMissingDependenciesTest.php | 2 ++ .../Drupal/Tests/Core/Database/InstallerObjectTest.php | 2 ++ core/tests/Drupal/Tests/Core/Database/LogTest.php | 6 ++++-- core/tests/Drupal/Tests/Core/Database/OrderByTest.php | 2 ++ .../Drupal/Tests/Core/Database/RowCountExceptionTest.php | 2 ++ .../tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php | 2 ++ core/tests/Drupal/Tests/Core/Database/Stub/Select.php | 2 ++ .../tests/Drupal/Tests/Core/Database/Stub/StubCondition.php | 2 ++ .../Drupal/Tests/Core/Database/Stub/StubConnection.php | 2 ++ core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php | 2 ++ core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php | 2 ++ core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php | 2 ++ .../src/Driver/Database/MissingDependency/Install/Tasks.php | 2 ++ core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php | 2 ++ core/tests/Drupal/Tests/Core/Datetime/DateTest.php | 2 ++ .../tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php | 2 ++ .../Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php | 2 ++ .../Compiler/AuthenticationProviderPassTest.php | 2 ++ .../Compiler/BackendCompilerPassTest.php | 2 ++ .../DependencyInjection/Compiler/ProxyServicesPassTest.php | 2 ++ .../DependencyInjection/Compiler/StackedKernelPassTest.php | 2 ++ .../DependencyInjection/Compiler/TaggedHandlersPassTest.php | 2 ++ .../Tests/Core/DependencyInjection/ContainerBuilderTest.php | 2 ++ .../Drupal/Tests/Core/DependencyInjection/ContainerTest.php | 2 ++ .../DependencyInjection/DependencySerializationTest.php | 2 ++ .../Tests/Core/DependencyInjection/Fixture/BarClass.php | 2 ++ .../Tests/Core/DependencyInjection/Fixture/BazClass.php | 2 ++ .../Tests/Core/DependencyInjection/YamlFileLoaderTest.php | 2 ++ .../tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php | 2 ++ .../Core/DrupalKernel/DiscoverServiceProvidersTest.php | 2 ++ .../Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php | 2 ++ .../Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php | 2 ++ core/tests/Drupal/Tests/Core/DrupalTest.php | 2 ++ .../Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php | 2 ++ .../Tests/Core/Enhancer/ParamConversionEnhancerTest.php | 2 ++ .../Access/EntityFormDisplayAccessControlHandlerTest.php | 2 ++ .../Access/EntityViewDisplayAccessControlHandlerTest.php | 2 ++ .../Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php | 2 ++ .../Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php | 2 ++ .../Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityAccessCheckTest.php | 2 ++ .../Tests/Core/Entity/EntityConstraintViolationListTest.php | 2 ++ .../Tests/Core/Entity/EntityCreateAccessCheckTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityFieldManagerTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityFormBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityListBuilderTest.php | 2 ++ .../tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityResolverManagerTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityStorageBaseTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityTypeManagerTest.php | 2 ++ .../Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php | 2 ++ .../Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php | 2 ++ core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php | 2 ++ .../Core/Entity/Routing/DefaultHtmlRouteProviderTest.php | 2 ++ .../Tests/Core/Entity/Sql/DefaultTableMappingTest.php | 2 ++ .../Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php | 2 ++ .../Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php | 2 ++ .../Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php | 2 ++ .../Core/EventSubscriber/ActiveLinkResponseFilterTest.php | 2 ++ .../CustomPageExceptionHtmlSubscriberTest.php | 2 ++ .../Core/EventSubscriber/ExceptionJsonSubscriberTest.php | 2 ++ .../Core/EventSubscriber/FinalExceptionSubscriberTest.php | 2 ++ .../Core/EventSubscriber/FinishResponseSubscriberTest.php | 2 ++ .../Core/EventSubscriber/ModuleRouteSubscriberTest.php | 2 ++ .../Core/EventSubscriber/OptionsRequestSubscriberTest.php | 2 ++ .../Tests/Core/EventSubscriber/PathRootsSubscriberTest.php | 2 ++ .../Core/EventSubscriber/PsrResponseSubscriberTest.php | 2 ++ .../Core/EventSubscriber/RedirectResponseSubscriberTest.php | 2 ++ .../EventSubscriber/RssResponseRelativeUrlFilterTest.php | 2 ++ .../SpecialAttributesRouteSubscriberTest.php | 2 ++ .../Drupal/Tests/Core/Extension/DatabaseDriverListTest.php | 2 ++ .../tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php | 2 ++ core/tests/Drupal/Tests/Core/Extension/DependencyTest.php | 2 ++ .../Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php | 2 ++ .../tests/Drupal/Tests/Core/Extension/ExtensionListTest.php | 2 ++ .../Tests/Core/Extension/ExtensionSerializationTest.php | 2 ++ .../Drupal/Tests/Core/Extension/ExtensionVersionTest.php | 2 ++ .../Drupal/Tests/Core/Extension/GenericTestExistsTest.php | 2 ++ .../Drupal/Tests/Core/Extension/InfoParserUnitTest.php | 2 ++ .../Drupal/Tests/Core/Extension/LegacyExtensionTest.php | 2 ++ .../tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php | 2 ++ .../ModuleRequiredByThemesUninstallValidatorTest.php | 2 ++ .../Core/Extension/RequiredModuleUninstallValidatorTest.php | 2 ++ .../Drupal/Tests/Core/Extension/ThemeExtensionListTest.php | 2 ++ core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php | 2 ++ .../Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php | 2 ++ .../Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php | 2 ++ .../Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php | 2 ++ .../Tests/Core/Field/FieldInputValueNormalizerTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php | 2 ++ .../Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php | 2 ++ .../tests/Drupal/Tests/Core/Field/InternalViolationTest.php | 2 ++ .../Drupal/Tests/Core/Field/PluginSettingsBaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Field/StringItemTest.php | 2 ++ .../Tests/Core/Field/TestBaseFieldDefinitionInterface.php | 2 ++ core/tests/Drupal/Tests/Core/Field/UriItemTest.php | 2 ++ core/tests/Drupal/Tests/Core/File/FileSystemTest.php | 2 ++ .../Tests/Core/File/FileUploadSanitizeNameEventTest.php | 2 ++ core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php | 2 ++ .../Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php | 2 ++ .../Core/Form/EventSubscriber/FormAjaxSubscriberTest.php | 2 ++ .../Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormCacheTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormHelperTest.php | 2 ++ .../Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormStateTest.php | 2 ++ .../Drupal/Tests/Core/Form/FormStateValuesTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormTestBase.php | 2 ++ core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/OptGroupTest.php | 2 ++ core/tests/Drupal/Tests/Core/Form/SubformStateTest.php | 2 ++ .../tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php | 2 ++ .../tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php | 2 ++ .../Tests/Core/Http/TrustedHostsRequestFactoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Image/ImageTest.php | 2 ++ core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php | 2 ++ .../Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php | 2 ++ .../Listeners/DrupalStandardsListenerDeprecationTest.php | 2 ++ .../Drupal/Tests/Core/Lock/LockBackendAbstractTest.php | 2 ++ .../tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php | 2 ++ .../Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php | 2 ++ core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php | 2 ++ core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php | 2 ++ .../Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php | 2 ++ .../Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php | 2 ++ .../Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php | 2 ++ .../Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php | 2 ++ .../Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php | 2 ++ .../tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php | 2 ++ .../tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php | 2 ++ .../Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php | 2 ++ .../Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php | 2 ++ core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php | 2 ++ .../Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php | 2 ++ .../tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php | 2 ++ .../Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php | 2 ++ .../Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php | 2 ++ .../Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php | 2 ++ .../Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php | 2 ++ .../tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php | 2 ++ .../Tests/Core/ParamConverter/EntityConverterTest.php | 2 ++ .../ParamConverter/EntityRevisionParamConverterTest.php | 2 ++ .../Tests/Core/ParamConverter/ParamConverterManagerTest.php | 2 ++ .../Tests/Core/Password/DefaultPasswordGeneratorTest.php | 2 ++ .../Tests/Core/Password/PasswordHashingLegacyTest.php | 2 ++ core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php | 2 ++ core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php | 2 ++ core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php | 2 ++ .../Tests/Core/PathProcessor/PathProcessorFrontTest.php | 2 ++ .../Drupal/Tests/Core/PathProcessor/PathProcessorTest.php | 2 ++ .../Core/Plugin/CategorizingPluginManagerTraitTest.php | 2 ++ .../Plugin/Context/ContextDefinitionIsSatisfiedTest.php | 2 ++ .../Tests/Core/Plugin/Context/ContextDefinitionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php | 2 ++ .../Context/EntityContextDefinitionIsSatisfiedTest.php | 2 ++ .../Tests/Core/Plugin/Context/LazyContextRepositoryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php | 2 ++ .../Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php | 2 ++ .../Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php | 2 ++ .../Core/Plugin/DefaultSingleLazyPluginCollectionTest.php | 2 ++ .../Discovery/ContainerDerivativeDiscoveryDecoratorTest.php | 2 ++ .../Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php | 2 ++ .../Tests/Core/Plugin/Discovery/HookDiscoveryTest.php | 2 ++ .../Plugin/Discovery/TestContainerDerivativeDiscovery.php | 2 ++ .../Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php | 2 ++ .../Plugin/Discovery/TestDerivativeDiscoveryWithObject.php | 2 ++ .../Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php | 2 ++ .../Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php | 2 ++ .../Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php | 2 ++ .../Tests/Core/Plugin/FilteredPluginManagerTraitTest.php | 2 ++ .../Core/Plugin/Fixtures/InheritedContextDefinition.php | 2 ++ .../Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php | 2 ++ .../Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php | 2 ++ .../Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php | 2 ++ .../Tests/Core/Plugin/LazyPluginCollectionTestBase.php | 2 ++ .../Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php | 2 ++ .../Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php | 2 ++ .../Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php | 2 ++ .../Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php | 2 ++ core/tests/Drupal/Tests/Core/PrivateKeyTest.php | 2 ++ .../Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php | 2 ++ .../Drupal/Tests/Core/Render/BubbleableMetadataTest.php | 2 ++ core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php | 2 ++ .../Drupal/Tests/Core/Render/Element/MachineNameTest.php | 2 ++ .../Tests/Core/Render/Element/PasswordConfirmTest.php | 2 ++ .../tests/Drupal/Tests/Core/Render/Element/PasswordTest.php | 2 ++ .../Drupal/Tests/Core/Render/Element/RenderElementTest.php | 2 ++ .../Drupal/Tests/Core/Render/Element/TableSelectTest.php | 2 ++ .../tests/Drupal/Tests/Core/Render/Element/TextareaTest.php | 2 ++ .../Drupal/Tests/Core/Render/Element/TextfieldTest.php | 2 ++ core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php | 2 ++ .../Drupal/Tests/Core/Render/ElementInfoManagerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Render/ElementTest.php | 2 ++ .../Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php | 2 ++ .../Render/Placeholder/ChainedPlaceholderStrategyTest.php | 2 ++ .../Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php | 2 ++ .../tests/Drupal/Tests/Core/Render/RendererBubblingTest.php | 2 ++ .../tests/Drupal/Tests/Core/Render/RendererCallbackTest.php | 2 ++ .../Drupal/Tests/Core/Render/RendererPlaceholdersTest.php | 2 ++ .../Drupal/Tests/Core/Render/RendererRecursionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Render/RendererTest.php | 2 ++ core/tests/Drupal/Tests/Core/Render/RendererTestBase.php | 2 ++ .../Drupal/Tests/Core/Render/TestCacheableDependency.php | 2 ++ core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php | 2 ++ .../Tests/Core/RouteProcessor/RouteProcessorManagerTest.php | 2 ++ .../Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php | 2 ++ .../Drupal/Tests/Core/Routing/AccessAwareRouterTest.php | 2 ++ .../Tests/Core/Routing/ContentTypeHeaderMatcherTest.php | 2 ++ .../Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php | 2 ++ .../Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php | 2 ++ .../Drupal/Tests/Core/Routing/PathChangedHelperTest.php | 2 ++ .../Drupal/Tests/Core/Routing/RedirectDestinationTest.php | 2 ++ .../Tests/Core/Routing/RequestFormatRouteFilterTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RouterTest.php | 2 ++ .../Drupal/Tests/Core/Routing/RouterUnsupportedTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php | 2 ++ .../tests/Drupal/Tests/Core/Routing/TestRouterInterface.php | 2 ++ .../Tests/Core/Routing/TrustedRedirectResponseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php | 2 ++ .../Tests/Core/Security/DoTrustedCallbackTraitTest.php | 2 ++ .../Drupal/Tests/Core/Security/RequestSanitizerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Serialization/YamlTest.php | 2 ++ .../Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php | 2 ++ core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php | 2 ++ .../Drupal/Tests/Core/Session/AnonymousUserSessionTest.php | 2 ++ .../Tests/Core/Session/CalculatedPermissionsItemTest.php | 2 ++ .../Drupal/Tests/Core/Session/CalculatedPermissionsTest.php | 2 ++ core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php | 2 ++ .../Tests/Core/Session/PermissionsHashGeneratorTest.php | 2 ++ .../Core/Session/RefinableCalculatedPermissionsTest.php | 2 ++ .../Drupal/Tests/Core/Session/SessionConfigurationTest.php | 2 ++ core/tests/Drupal/Tests/Core/Session/UserSessionTest.php | 2 ++ .../Tests/Core/Session/WriteSafeSessionHandlerTest.php | 2 ++ core/tests/Drupal/Tests/Core/Site/SettingsTest.php | 2 ++ .../Core/StackMiddleware/NegotiationMiddlewareTest.php | 2 ++ .../Core/StackMiddleware/ReverseProxyMiddlewareTest.php | 2 ++ .../Tests/Core/StringTranslation/ByteSizeMarkupTest.php | 2 ++ .../Core/StringTranslation/PluralTranslatableMarkupTest.php | 2 ++ .../Core/StringTranslation/StringTranslationTraitTest.php | 2 ++ .../Tests/Core/StringTranslation/TranslatableMarkupTest.php | 2 ++ .../Tests/Core/StringTranslation/TranslationManagerTest.php | 2 ++ .../Tests/Core/StringTranslation/TranslationWrapperTest.php | 2 ++ .../Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php | 2 ++ .../Drupal/Tests/Core/TempStore/SharedTempStoreTest.php | 2 ++ .../Drupal/Tests/Core/Template/AttributeHelperTest.php | 2 ++ core/tests/Drupal/Tests/Core/Template/AttributeTest.php | 2 ++ .../Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php | 2 ++ core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php | 2 ++ core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php | 2 ++ .../tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php | 2 ++ .../Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php | 2 ++ .../Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php | 2 ++ .../Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php | 2 ++ core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php | 2 ++ .../tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php | 2 ++ .../Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php | 2 ++ .../Tests/Core/Theme/CoreThemesAutoloadedForTests.php | 2 ++ core/tests/Drupal/Tests/Core/Theme/RegistryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php | 2 ++ .../Tests/Core/Transliteration/PhpTransliterationTest.php | 2 ++ .../Core/TypedData/RecursiveContextualValidatorTest.php | 2 ++ core/tests/Drupal/Tests/Core/UnroutedUrlTest.php | 2 ++ .../Drupal/Tests/Core/Update/UpdateHookRegistryTest.php | 2 ++ core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php | 2 ++ core/tests/Drupal/Tests/Core/UrlTest.php | 2 ++ .../Drupal/Tests/Core/Utility/CallableResolverTest.php | 2 ++ core/tests/Drupal/Tests/Core/Utility/ErrorTest.php | 2 ++ core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php | 2 ++ .../tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php | 2 ++ core/tests/Drupal/Tests/Core/Utility/TokenTest.php | 2 ++ .../Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php | 2 ++ .../Constraint/PrimitiveTypeConstraintValidatorTest.php | 2 ++ core/tests/Drupal/Tests/PhpCs/SortTest.php | 2 ++ core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php | 2 ++ core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php | 2 ++ 900 files changed, 1800 insertions(+), 6 deletions(-) diff --git a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php index 04f1cf99c217..08a2ac0752f7 100644 --- a/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php +++ b/core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\action\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php b/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php index 5177a0255dd7..6e8f9097fb29 100644 --- a/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php +++ b/core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\announcements_feed\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php b/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php index 42d61eee5ae4..4b43d161715e 100644 --- a/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php +++ b/core/modules/ban/tests/src/Unit/BanMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\ban\Unit; use Drupal\ban\BanMiddleware; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php index 32ddc51fc297..964154eb5ce8 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipeResponse; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php b/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php index 657ee25e8560..c3c7be0a9e34 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/FiberPlaceholderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipe; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php b/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php index 9849e116cfa0..44c6e2688668 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render; use Drupal\big_pipe\Render\BigPipe; diff --git a/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php b/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php index dd41f836a47c..cedb65d997d4 100644 --- a/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php +++ b/core/modules/big_pipe/tests/src/Unit/Render/Placeholder/BigPipeStrategyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\big_pipe\Unit\Render\Placeholder; use Drupal\big_pipe\Render\Placeholder\BigPipeStrategy; diff --git a/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php b/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php index 199aac1c7fb2..b12f180a703d 100644 --- a/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php +++ b/core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/block/tests/src/Unit/BlockFormTest.php b/core/modules/block/tests/src/Unit/BlockFormTest.php index 9c0047155f89..73edd5b4cf2e 100644 --- a/core/modules/block/tests/src/Unit/BlockFormTest.php +++ b/core/modules/block/tests/src/Unit/BlockFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\block\BlockForm; diff --git a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php index 9a13978fe134..a5abcdf59624 100644 --- a/core/modules/block/tests/src/Unit/BlockRepositoryTest.php +++ b/core/modules/block/tests/src/Unit/BlockRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\block\BlockRepository; diff --git a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php index c4d83aaba9a4..589d1c3f4b21 100644 --- a/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php +++ b/core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit; use Drupal\Component\Utility\Html; diff --git a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php index 0141e107e81c..06093da237d0 100644 --- a/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php +++ b/core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php index 946387c7c291..5842e957d6d2 100644 --- a/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\DisplayVariant; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php index c72fed64a294..ccd22a0c3529 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockRegion; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php index d73489337f3b..1aaaf0c451b0 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockSettings; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php index 746f3deedfcf..ed5e8b81b837 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockThemeDeprecationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockTheme; diff --git a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php index c6551da82e15..f8f939aeae04 100644 --- a/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php +++ b/core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockVisibilityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block\Unit\Plugin\migrate\process; use Drupal\block\Plugin\migrate\process\BlockVisibility; diff --git a/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php b/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php index d1d38b89d2da..080ba55c245d 100644 --- a/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php +++ b/core/modules/block_content/tests/src/Unit/Access/AccessGroupAndTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\block_content\Access\AccessGroupAnd; diff --git a/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php b/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php index 8aab22782b05..a407e2388754 100644 --- a/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php +++ b/core/modules/block_content/tests/src/Unit/Access/AccessibleTestingTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\Core\Access\AccessibleInterface; diff --git a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php index d5d773d36a40..338240e751c5 100644 --- a/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php +++ b/core/modules/block_content/tests/src/Unit/Access/DependentAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Access; use Drupal\block_content\Access\AccessGroupAnd; diff --git a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php index f1b0c6c97833..1da30a5e54d8 100644 --- a/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php +++ b/core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\block_content\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/book/tests/src/Unit/BookManagerTest.php b/core/modules/book/tests/src/Unit/BookManagerTest.php index ebb8ec976380..945b21f788f8 100644 --- a/core/modules/book/tests/src/Unit/BookManagerTest.php +++ b/core/modules/book/tests/src/Unit/BookManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit; use Drupal\book\BookManager; diff --git a/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php b/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php index 382e778dffc5..8d2eddc952bf 100644 --- a/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php +++ b/core/modules/book/tests/src/Unit/BookUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php index 82aa9fb93727..db1732cb7f43 100644 --- a/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php +++ b/core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\book\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php index dbd9de9b1384..20a45dceb0ea 100644 --- a/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php +++ b/core/modules/breakpoint/tests/src/Unit/BreakpointTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\breakpoint\Unit; use Drupal\breakpoint\Breakpoint; diff --git a/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php b/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php index b4dd7db1bdc6..7b85d9becf1f 100644 --- a/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php +++ b/core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php b/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php index cdad42b7a22c..a923d34f8905 100644 --- a/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php +++ b/core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php b/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php index 0a10ef778ac7..f590ef6311a1 100644 --- a/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php +++ b/core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\ckeditor5\Unit; diff --git a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php index 8bfe6f072a92..e3163c440bab 100644 --- a/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php +++ b/core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentLinkBuilder; diff --git a/core/modules/comment/tests/src/Unit/CommentManagerTest.php b/core/modules/comment/tests/src/Unit/CommentManagerTest.php index e93f9c86d077..1409a886d4e3 100644 --- a/core/modules/comment/tests/src/Unit/CommentManagerTest.php +++ b/core/modules/comment/tests/src/Unit/CommentManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentManager; diff --git a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php index dc20d2336165..7658c7d8b091 100644 --- a/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php +++ b/core/modules/comment/tests/src/Unit/CommentStatisticsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit; use Drupal\comment\CommentStatistics; diff --git a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php index 3e70f0bb8a15..27441f6d4261 100644 --- a/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php +++ b/core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php index 4f769b938200..c25bb7489739 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php index 96d59bc77de0..779137cea013 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/EntityLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\EntityLink; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php index b8e21dda9218..b66e6714701e 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\LinkApprove; diff --git a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php index ed48b8dabd40..a8fd169c6b0b 100644 --- a/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php +++ b/core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\comment\Unit\Plugin\views\field; use Drupal\comment\Plugin\views\field\LinkReply; diff --git a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php index e6705d54037b..496b57fbfbc8 100644 --- a/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php +++ b/core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php index ad2aa8894511..39b4f2a90bed 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigEntityMapper; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php index 5e436db32208..35fc7a10f201 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigFieldMapper; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php index 6aad4e192de5..81d55a2d5796 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigMapperManager; diff --git a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php index fc2791fb1de1..23a13bed5f97 100644 --- a/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php +++ b/core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\config_translation\Unit; use Drupal\config_translation\ConfigNamesMapper; diff --git a/core/modules/contact/tests/src/Unit/ContactLinkTest.php b/core/modules/contact/tests/src/Unit/ContactLinkTest.php index 883044103267..78abf82e04b2 100644 --- a/core/modules/contact/tests/src/Unit/ContactLinkTest.php +++ b/core/modules/contact/tests/src/Unit/ContactLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\contact\Unit; use Drupal\contact\Plugin\views\field\ContactLink; diff --git a/core/modules/contact/tests/src/Unit/MailHandlerTest.php b/core/modules/contact/tests/src/Unit/MailHandlerTest.php index 50b32628d8b2..173c9c775232 100644 --- a/core/modules/contact/tests/src/Unit/MailHandlerTest.php +++ b/core/modules/contact/tests/src/Unit/MailHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\contact\Unit; use Drupal\contact\MailHandler; diff --git a/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php b/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php index 01125ef76484..10970b448479 100644 --- a/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ContentModerationRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\Routing\ContentModerationRouteSubscriber; diff --git a/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php b/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php index 8084716346fb..0a12971d0dfc 100644 --- a/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ContentPreprocessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\ContentPreprocess; diff --git a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php index 5b84b44fdead..c384425e3e5e 100644 --- a/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php +++ b/core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\block_content\Entity\BlockContent; diff --git a/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php b/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php index eb88edd31a1d..0d92309af9ae 100644 --- a/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php +++ b/core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\Entity\Handler\ModerationHandler; diff --git a/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php b/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php index 4aa71ece42f9..bb3141497593 100644 --- a/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php +++ b/core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_moderation\Unit; use Drupal\content_moderation\ModerationInformationInterface; diff --git a/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php b/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php index 9c440fb0e02c..37151e77df2d 100644 --- a/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php +++ b/core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_translation\Unit\Access; use Drupal\content_translation\Access\ContentTranslationManageAccessCheck; diff --git a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php index 00e300ba0696..a21d03fb5763 100644 --- a/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php +++ b/core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\content_translation\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php b/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php index e3a7b8ed35e9..b5dc4b4f42b7 100644 --- a/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php +++ b/core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\datetime\Unit\Plugin\migrate\field; use Drupal\datetime\Plugin\migrate\field\DateField; diff --git a/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php b/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php index 13644b499c87..ac7af5b79d54 100644 --- a/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php +++ b/core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\editor\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php index af2990ffbdad..ec4c927676db 100644 --- a/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php +++ b/core/modules/editor/tests/src/Unit/EditorXssFilter/StandardTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\editor\Unit\EditorXssFilter; use Drupal\editor\EditorXssFilter\Standard; diff --git a/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php b/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php index 986131d8a43a..67d900c626e0 100644 --- a/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php +++ b/core/modules/field/tests/src/Unit/FieldConfigAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\field\Entity\FieldConfig; diff --git a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php index 99c7b0c89b59..5797c8a35205 100644 --- a/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php +++ b/core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Core\Entity\EntityType; diff --git a/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php b/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php index 7ce3c92c7f8b..ab0f9d2492e6 100644 --- a/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php +++ b/core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Component\Uuid\UuidInterface; diff --git a/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php b/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php index f510bf7b08f5..9cec8d16d89c 100644 --- a/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php +++ b/core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php b/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php index 6bb7575f5172..ebd28aaacf46 100644 --- a/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php +++ b/core/modules/field/tests/src/Unit/FieldUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php index 4b801b12ba42..4cf3a3fb4c73 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/ProcessFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php index 9d099b9a1192..e72ddecdbaea 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldInstanceSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php index 1664d97aab1a..657cfb327303 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php index 5c4a66c54612..d3f3c3b7b1a9 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldTypeDefaultsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d6; use Drupal\field\Plugin\migrate\process\d6\FieldTypeDefaults; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php index d6860a78800e..c7c61905970b 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldInstanceSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldInstanceSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php index 5a55adec32a0..f7d53f61e09b 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldSettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldSettings; diff --git a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php index 0a46b82dfa61..eef26b0c4e05 100644 --- a/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php +++ b/core/modules/field/tests/src/Unit/Plugin/migrate/process/d7/FieldTypeDefaultsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field\Unit\Plugin\migrate\process\d7; use Drupal\field\Plugin\migrate\process\d7\FieldTypeDefaults; diff --git a/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php b/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php index 431b8c1d35e8..8c1d21d20d09 100644 --- a/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php +++ b/core/modules/field_layout/tests/src/Unit/FieldLayoutBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_layout\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php b/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php index d680842acc1d..e9c3a14a3169 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldConfigEditFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php b/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php index ae8d8bff5479..8ba2415b13e0 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldUiTableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/field_ui/tests/src/Unit/FieldUiTest.php b/core/modules/field_ui/tests/src/Unit/FieldUiTest.php index 9582b70bde3d..1130714566ae 100644 --- a/core/modules/field_ui/tests/src/Unit/FieldUiTest.php +++ b/core/modules/field_ui/tests/src/Unit/FieldUiTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\field_ui\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php index 4f3a13f209bf..2e8e046dc558 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php index 37e27a234072..10b3297c07c9 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\field\d7; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php index ef42c6a2d5ee..be96d280e92d 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\process\d6; use Drupal\file\Plugin\migrate\process\d6\FieldFile; diff --git a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php index baf04dc41673..a984e42424c1 100644 --- a/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php +++ b/core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FileUriTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Plugin\migrate\process\d6; use Drupal\file\Plugin\migrate\process\d6\FileUri; diff --git a/core/modules/file/tests/src/Unit/SanitizeNameTest.php b/core/modules/file/tests/src/Unit/SanitizeNameTest.php index dfe3b4675c21..33b544f7bba2 100644 --- a/core/modules/file/tests/src/Unit/SanitizeNameTest.php +++ b/core/modules/file/tests/src/Unit/SanitizeNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit; use Drupal\Component\Transliteration\PhpTransliteration; diff --git a/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php b/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php index 04c6f9d1f614..2d3545306b8a 100644 --- a/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php +++ b/core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\file\Unit\Upload; use Drupal\file\Upload\ContentDispositionFilenameParser; diff --git a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php index 7ffb1691dd09..1c3e3f054d61 100644 --- a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php +++ b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\filter\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php b/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php index 9686beb343a0..847b3dcc5ff0 100644 --- a/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php +++ b/core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php @@ -1,6 +1,6 @@ <?php -declare(strict_types = 1); +declare(strict_types=1); namespace Drupal\Tests\filter\Unit; diff --git a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php index 2af37aa02013..b3319192cc60 100644 --- a/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php +++ b/core/modules/filter/tests/src/Unit/FilterUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\filter\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php index 9d4c3ff64d78..185455e9e030 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php index 42d15d46b55a..269c13f44764 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php index 893b483050e0..de013135980d 100644 --- a/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php +++ b/core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit\Breadcrumb; use Drupal\Core\Cache\Cache; diff --git a/core/modules/forum/tests/src/Unit/ForumManagerTest.php b/core/modules/forum/tests/src/Unit/ForumManagerTest.php index e0c9055846b3..e61dcbf07f3b 100644 --- a/core/modules/forum/tests/src/Unit/ForumManagerTest.php +++ b/core/modules/forum/tests/src/Unit/ForumManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php b/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php index c6c84c8fb847..d07bc5f9f969 100644 --- a/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php +++ b/core/modules/forum/tests/src/Unit/ForumUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\forum\Unit; use Drupal\Core\Url; diff --git a/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php b/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php index 7ad1c6f20e54..7ee16b4b40a8 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Component\Discovery\DiscoveryException; diff --git a/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php b/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php index c4cbfff7436c..df47e13b930a 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php b/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php index acc48c144657..01fef4ec5b81 100644 --- a/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php +++ b/core/modules/help/tests/src/Unit/HelpTopicTwigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\help\Unit; use Drupal\Core\Cache\Cache; diff --git a/core/modules/image/tests/src/Unit/ImageStyleTest.php b/core/modules/image/tests/src/Unit/ImageStyleTest.php index 60fbbc76504a..5025e43911dc 100644 --- a/core/modules/image/tests/src/Unit/ImageStyleTest.php +++ b/core/modules/image/tests/src/Unit/ImageStyleTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\image\Unit; use Drupal\Component\Utility\Crypt; diff --git a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php index 9e1fe476d99a..ecdff2372f8c 100644 --- a/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php +++ b/core/modules/image/tests/src/Unit/PageCache/DenyPrivateImageStyleDownloadTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\image\Unit\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php b/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php index 962f1079559e..ac80dbe713b2 100644 --- a/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php +++ b/core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\inline_form_errors\Unit; use Drupal\Core\Form\FormState; diff --git a/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php b/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php index 90b5f5f8bbd4..5875ebc06c74 100644 --- a/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php +++ b/core/modules/jsonapi/tests/src/Unit/EventSubscriber/ResourceResponseValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\EventSubscriber; use Drupal\jsonapi\EventSubscriber\ResourceResponseValidator; diff --git a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php index 5dbfe01ed418..fb5a075550bb 100644 --- a/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php +++ b/core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\JsonApiResource; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php b/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php index ce7d02b77e29..7e347fdadcc6 100644 --- a/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php +++ b/core/modules/jsonapi/tests/src/Unit/JsonApiSpecTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit; use Drupal\jsonapi\JsonApiSpec; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php index 5c061fe519f2..30eddf58a10f 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Config\ConfigFactory; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php index ee83fd93e361..e88a8d29b62d 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php b/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php index be3ad9317de8..4b15495a0975 100644 --- a/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Normalizer/ResourceIdentifierNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Normalizer; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php index cc0c416398fd..2cc50c559dc8 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\jsonapi\Query\EntityConditionGroup; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php index 7f9b628174ea..9ea56e57056d 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php b/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php index 3189b1d2e572..af1b3292bd96 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php b/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php index f49b2f77122f..5aa88a11c71e 100644 --- a/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Query/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Query; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php b/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php index e6c08a655955..5ea0022b5318 100644 --- a/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php +++ b/core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\jsonapi\Unit\Routing; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php b/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php index 4dcbcde30135..8f8725b8d733 100644 --- a/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php +++ b/core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Config; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php b/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php index ef02b319d9f2..02c35d10bb76 100644 --- a/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php +++ b/core/modules/language/tests/src/Unit/ConfigurableLanguageUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\language\Entity\ConfigurableLanguage; diff --git a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php index eb442a12c2bc..960730908f18 100644 --- a/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php +++ b/core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php index a74f22abdacf..a78b36aa0705 100644 --- a/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php +++ b/core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit; use Drupal\Core\Cache\Cache; diff --git a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php index 7d49f1faec33..c246618cfb13 100644 --- a/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php +++ b/core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php index 0f26e1da12af..324d748828a6 100644 --- a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php +++ b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Plugin\LanguageNegotiation; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php index ce2ab9b09a0b..e35731c47b9f 100644 --- a/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php +++ b/core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\Plugin\LanguageNegotiation; use Drupal\Core\Plugin\ContainerFactoryPluginInterface; diff --git a/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php b/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php index 64e9b3b879fe..8f6c3105ec59 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageDomainsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageDomains; diff --git a/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php b/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php index 64eb1c304638..ef5d2921bea1 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageNegotiationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageNegotiation; diff --git a/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php b/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php index 3b41a6682530..5be238b35295 100644 --- a/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php +++ b/core/modules/language/tests/src/Unit/process/LanguageTypesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\language\Unit\process; use Drupal\language\Plugin\migrate\process\LanguageTypes; diff --git a/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php b/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php index a34c02b943fa..7ace912fc5b0 100644 --- a/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php +++ b/core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\block_content\Access\RefinableDependentAccessInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php b/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php index 302658068a39..a0abb96c7b58 100644 --- a/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php b/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php index 49cba472ccaf..1806219066bb 100644 --- a/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Database\Connection; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php index f62e0428950b..2b8cbd00f8b5 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php index b8169951d39f..8bb67e92aa96 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutBuilderRoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php index 15cbb2dd1446..d1c9978f2d32 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php index e89c36689174..e4bf73efbf1a 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutSectionStorageParamConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\layout_builder\Routing\LayoutSectionStorageParamConverter; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php index 6269c7afa4a0..694e2db22659 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\TempStore\SharedTempStore; diff --git a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php index 2575e5c5945d..98e8d3eef6b1 100644 --- a/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php +++ b/core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Routing\RouteObjectInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php b/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php index 4e7fd27d4180..fbab039a0c9c 100644 --- a/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php +++ b/core/modules/layout_builder/tests/src/Unit/OverridesSectionStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php b/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php index e50fe65e3586..c3dc9732430c 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\Block\BlockManagerInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php index a149ff846753..de8ecb220f27 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php b/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php index 50d11c371a12..64ffbf5abd38 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Component\Plugin\Context\ContextInterface; diff --git a/core/modules/layout_builder/tests/src/Unit/SectionTest.php b/core/modules/layout_builder/tests/src/Unit/SectionTest.php index 65f65d6a6a9f..f911459daff0 100644 --- a/core/modules/layout_builder/tests/src/Unit/SectionTest.php +++ b/core/modules/layout_builder/tests/src/Unit/SectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\layout_builder\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/link/tests/src/Unit/LinkFormatterTest.php b/core/modules/link/tests/src/Unit/LinkFormatterTest.php index 3670652847a7..600a1aa603ee 100644 --- a/core/modules/link/tests/src/Unit/LinkFormatterTest.php +++ b/core/modules/link/tests/src/Unit/LinkFormatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php index 5e2d911d2410..b4639f2aadd5 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraint; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php index cc975309b4d1..1ed27c509762 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\Component\Utility\UrlHelper; diff --git a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php index ac0a3e151715..9c519b1c3cc5 100644 --- a/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\Validation\Constraint; use Drupal\Core\Url; diff --git a/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php b/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php index 1c1d88f20769..b3996a7330b8 100644 --- a/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/migrate/field/d6/LinkFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php index bcbda9e238f4..87c399172e9b 100644 --- a/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php +++ b/core/modules/link/tests/src/Unit/Plugin/migrate/process/FieldLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\link\Unit\Plugin\migrate\process; use Drupal\link\Plugin\migrate\process\FieldLink; diff --git a/core/modules/locale/tests/src/Unit/LocaleLookupTest.php b/core/modules/locale/tests/src/Unit/LocaleLookupTest.php index 59b439354a10..d4de8d8106eb 100644 --- a/core/modules/locale/tests/src/Unit/LocaleLookupTest.php +++ b/core/modules/locale/tests/src/Unit/LocaleLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\Component\Gettext\PoItem; diff --git a/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php b/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php index a441b30fb704..d146fceb6384 100644 --- a/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php +++ b/core/modules/locale/tests/src/Unit/LocaleTranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php b/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php index 5d2f9257e505..72ad654bad75 100644 --- a/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php +++ b/core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/locale/tests/src/Unit/StringBaseTest.php b/core/modules/locale/tests/src/Unit/StringBaseTest.php index 99bb0377a4c0..e05a069a5b15 100644 --- a/core/modules/locale/tests/src/Unit/StringBaseTest.php +++ b/core/modules/locale/tests/src/Unit/StringBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\locale\Unit; use Drupal\locale\SourceString; diff --git a/core/modules/media/tests/src/Unit/EndpointTest.php b/core/modules/media/tests/src/Unit/EndpointTest.php index f925b09b7f7f..042beabe424e 100644 --- a/core/modules/media/tests/src/Unit/EndpointTest.php +++ b/core/modules/media/tests/src/Unit/EndpointTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\media\OEmbed\Endpoint; diff --git a/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php b/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php index 1d2837958397..8bcf151c7f8b 100644 --- a/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php +++ b/core/modules/media/tests/src/Unit/IFrameUrlHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Core\PrivateKey; diff --git a/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php b/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php index 7bd6cfbd8c20..ec353f195435 100644 --- a/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php +++ b/core/modules/media/tests/src/Unit/ProviderRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Core\KeyValueStore\KeyValueMemoryFactory; diff --git a/core/modules/media/tests/src/Unit/ResourceFetcherTest.php b/core/modules/media/tests/src/Unit/ResourceFetcherTest.php index 8cd96683c9fb..af8123ab3d10 100644 --- a/core/modules/media/tests/src/Unit/ResourceFetcherTest.php +++ b/core/modules/media/tests/src/Unit/ResourceFetcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\Component\Serialization\Json; diff --git a/core/modules/media/tests/src/Unit/ResourceTest.php b/core/modules/media/tests/src/Unit/ResourceTest.php index 5043565cd3e0..b47099e212f8 100644 --- a/core/modules/media/tests/src/Unit/ResourceTest.php +++ b/core/modules/media/tests/src/Unit/ResourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media\Unit; use Drupal\media\OEmbed\Resource; diff --git a/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php b/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php index 5a4863b22f00..c188a57a400e 100644 --- a/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php +++ b/core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\media_library\Unit; use Drupal\Core\Form\FormStateInterface; diff --git a/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php b/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php index 6751fcf296ed..0c718a0ff048 100644 --- a/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php +++ b/core/modules/menu_link_content/tests/src/Unit/MenuLinkContentEntityAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\menu_link_content\Unit; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php b/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php index 1643a55ad9a1..871214664c1b 100644 --- a/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php +++ b/core/modules/menu_link_content/tests/src/Unit/MenuLinkPluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\menu_link_content\Unit; use Drupal\menu_link_content\Plugin\Menu\MenuLinkContent; diff --git a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php index fee181f582b1..06632b51c55c 100644 --- a/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/EventBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\EventBase; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php index 89638507ddef..7a900c883186 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigrateImportEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigrateImportEvent; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php index ad381805b16d..5939bafe53aa 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigratePostRowSaveEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigratePostRowSaveEvent; diff --git a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php index aee14e5bbb74..b021cca20965 100644 --- a/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php +++ b/core/modules/migrate/tests/src/Unit/Event/MigratePreRowSaveEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Event; use Drupal\migrate\Event\MigratePreRowSaveEvent; diff --git a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php index 0a61d2821f37..c68752cfb0a6 100644 --- a/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php +++ b/core/modules/migrate/tests/src/Unit/Exception/RequirementsExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Exception; use Drupal\migrate\Exception\RequirementsException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php index acf3e64c09e6..6d59a8987369 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; /** diff --git a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php index 073a21a4a310..24a606390ad2 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Utility\Html; diff --git a/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php b/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php index 744be766c22b..9805916fd54e 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\PluginException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php index 833a6f7e9ed5..f8c42d46510d 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php index f4a4dc25960f..33a0438f2f76 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapEnsureTablesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrateIdMapInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php index 77fa22e563b0..0ba79e1aab5d 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/MigrateStubTest.php b/core/modules/migrate/tests/src/Unit/MigrateStubTest.php index a89ab3562861..0494f4c18ef2 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateStubTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrateStubTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php index 6021fab24097..e0f4e16ff443 100644 --- a/core/modules/migrate/tests/src/Unit/MigrateTestCase.php +++ b/core/modules/migrate/tests/src/Unit/MigrateTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\sqlite\Driver\Database\sqlite\Connection; diff --git a/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php b/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php index 0982d783336f..223ade26c774 100644 --- a/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrationPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/modules/migrate/tests/src/Unit/MigrationTest.php b/core/modules/migrate/tests/src/Unit/MigrationTest.php index 5bf5d79e5aa3..adc40320100d 100644 --- a/core/modules/migrate/tests/src/Unit/MigrationTest.php +++ b/core/modules/migrate/tests/src/Unit/MigrationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php index 23326ed3d1a5..b53f0004dfee 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php index a7d7516f1fdc..17f4a2fae1a1 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php index 1ed293cfdb38..e2a223256ddd 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php index e88ac677fb32..4176c3935024 100644 --- a/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php +++ b/core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\Plugin\migrate\destination; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/migrate/tests/src/Unit/RowTest.php b/core/modules/migrate/tests/src/Unit/RowTest.php index 81453d1ce1d1..fe89748acdb6 100644 --- a/core/modules/migrate/tests/src/Unit/RowTest.php +++ b/core/modules/migrate/tests/src/Unit/RowTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrateIdMapInterface; diff --git a/core/modules/migrate/tests/src/Unit/SqlBaseTest.php b/core/modules/migrate/tests/src/Unit/SqlBaseTest.php index 3ad88c6296c4..0f62b7f34f7a 100644 --- a/core/modules/migrate/tests/src/Unit/SqlBaseTest.php +++ b/core/modules/migrate/tests/src/Unit/SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php b/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php index 0fe7d79a6957..277a8929dd52 100644 --- a/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php +++ b/core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\StringTranslation\TranslationInterface; diff --git a/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php b/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php index 433b3907ee14..06a87e4339fb 100644 --- a/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php +++ b/core/modules/migrate/tests/src/Unit/TestSqlIdMap.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit; use Drupal\Core\Database\Connection; diff --git a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php index cf3f77b5bfde..e99dafbcce42 100644 --- a/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php index 5434404026b6..98647c5d594b 100644 --- a/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php index 4a401bc3434f..60f0a7a3dd55 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase; diff --git a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php index ceea7010bac2..be6b38b07140 100644 --- a/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php +++ b/core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\destination; use Drupal\migrate\Plugin\migrate\destination\PerComponentEntityFormDisplay; diff --git a/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php b/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php index 60812e2c64a4..0cf92f27eac3 100644 --- a/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php index d7040b9f3ffa..5170c85959b2 100644 --- a/core/modules/migrate/tests/src/Unit/process/CallbackTest.php +++ b/core/modules/migrate/tests/src/Unit/process/CallbackTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php index d45ff4bab9c4..049e1e21d313 100644 --- a/core/modules/migrate/tests/src/Unit/process/ConcatTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ConcatTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php b/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php index 82fb728c7a7a..3eed164eda74 100644 --- a/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php +++ b/core/modules/migrate/tests/src/Unit/process/DefaultValueTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\DefaultValue; diff --git a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php index 426f45631a11..4eede4309f5d 100644 --- a/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ExplodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/ExtractTest.php b/core/modules/migrate/tests/src/Unit/process/ExtractTest.php index 9972ecf9f478..d83ed31866ab 100644 --- a/core/modules/migrate/tests/src/Unit/process/ExtractTest.php +++ b/core/modules/migrate/tests/src/Unit/process/ExtractTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php b/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php index 72d55143b45d..62e3752247c3 100644 --- a/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FileCopyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\File\FileSystemInterface; diff --git a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php index ff83ad9def69..ff7072682050 100644 --- a/core/modules/migrate/tests/src/Unit/process/FlattenTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FlattenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php index 58d61538b641..7d2c1313ed80 100644 --- a/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php +++ b/core/modules/migrate/tests/src/Unit/process/FormatDateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/GetTest.php b/core/modules/migrate/tests/src/Unit/process/GetTest.php index 0e6a0fa2d8f5..20e7d1e9752b 100644 --- a/core/modules/migrate/tests/src/Unit/process/GetTest.php +++ b/core/modules/migrate/tests/src/Unit/process/GetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\Get; diff --git a/core/modules/migrate/tests/src/Unit/process/LogTest.php b/core/modules/migrate/tests/src/Unit/process/LogTest.php index 6bb61d337e21..13244ad1d31a 100644 --- a/core/modules/migrate/tests/src/Unit/process/LogTest.php +++ b/core/modules/migrate/tests/src/Unit/process/LogTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\Log; diff --git a/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php b/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php index fe082acbdbc9..eae1f1647ec5 100644 --- a/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MachineNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\MachineName; diff --git a/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php b/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php index 465de7e3dadb..175b9f3efa01 100644 --- a/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php b/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php index 08f9712d71e8..885aaba15bf4 100644 --- a/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php b/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php index 0f50059a3ff3..d625dfc66ee3 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrateProcessTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Tests\migrate\Unit\MigrateTestCase; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php index c022175f5358..3d2558bd9165 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php index f23883aa8cec..797ae3fb4168 100644 --- a/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php +++ b/core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php b/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php index b740e37a52f1..d822e142a1bb 100644 --- a/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php +++ b/core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php b/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php index 0f2ddf8e00ec..751ebecc3a15 100644 --- a/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateSkipProcessException; diff --git a/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php b/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php index acd33d3d778a..e299df149832 100644 --- a/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateSkipRowException; diff --git a/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php b/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php index 6cd043d5d441..ae46691d704b 100644 --- a/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php +++ b/core/modules/migrate/tests/src/Unit/process/StaticMapTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\Component\Utility\Variable; diff --git a/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php b/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php index e398036dfaba..1adbeda5ca97 100644 --- a/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SubProcessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/SubstrTest.php b/core/modules/migrate/tests/src/Unit/process/SubstrTest.php index af430d27a250..fa0db16e8a29 100644 --- a/core/modules/migrate/tests/src/Unit/process/SubstrTest.php +++ b/core/modules/migrate/tests/src/Unit/process/SubstrTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\MigrateException; diff --git a/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php b/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php index 8df9dd36b659..7cb29c2863fa 100644 --- a/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php +++ b/core/modules/migrate/tests/src/Unit/process/UrlEncodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate\Unit\process; use Drupal\migrate\Plugin\migrate\process\UrlEncode; diff --git a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php index d99b8cec8d06..1d32387523ee 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/FieldDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Logger\LoggerChannelInterface; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php index 340a28e15a85..75c4853e3546 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrateFieldPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php index 3e6e052147f1..042d9c85e53b 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Database\DatabaseExceptionWrapper; diff --git a/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php b/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php index 1dd8f926960f..0b3808109b54 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/MigrationStateUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php index d21e103e4dec..8ce8b03e2acc 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit\source; use Drupal\Core\Database\Connection; diff --git a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php index 470af2de0680..f4dde78af2b7 100644 --- a/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php +++ b/core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\migrate_drupal\Unit\source\d6; use Drupal\Tests\migrate\Unit\MigrateTestCase; diff --git a/core/modules/mysql/tests/src/Unit/ConnectionTest.php b/core/modules/mysql/tests/src/Unit/ConnectionTest.php index 84200f8aaa04..a3c0f50f064e 100644 --- a/core/modules/mysql/tests/src/Unit/ConnectionTest.php +++ b/core/modules/mysql/tests/src/Unit/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\mysql\Unit; use Drupal\mysql\Driver\Database\mysql\Connection; diff --git a/core/modules/mysql/tests/src/Unit/InstallTasksTest.php b/core/modules/mysql/tests/src/Unit/InstallTasksTest.php index b31bbf05f6fe..0abcef6e6b99 100644 --- a/core/modules/mysql/tests/src/Unit/InstallTasksTest.php +++ b/core/modules/mysql/tests/src/Unit/InstallTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\mysql\Unit; use Drupal\mysql\Driver\Database\mysql\Connection; diff --git a/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php b/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php index ee530d629ab5..d09572235f3f 100644 --- a/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php +++ b/core/modules/node/tests/src/Unit/NodeOperationAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php index 7505dc3e1291..4e58aa7b59fe 100644 --- a/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php +++ b/core/modules/node/tests/src/Unit/PageCache/DenyNodePreviewTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php index 67e1ad4e9129..517013ad8b5f 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php index d8b1b8183faf..bc6c19d959ac 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php index f6c189b1c2cc..aec2ed583180 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php index 46966dff6060..e3d766685743 100644 --- a/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php +++ b/core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\node\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php b/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php index 21e0f4d3407a..6858ef56965e 100644 --- a/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php +++ b/core/modules/path/tests/src/Unit/Field/PathFieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path\Unit\Field; use Drupal\Tests\Core\Field\BaseFieldDefinitionTestBase; diff --git a/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php b/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php index 1af7e53e4c89..7f234ec6b3b7 100644 --- a/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php +++ b/core/modules/path/tests/src/Unit/migrate/process/PathSetTranslatedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path\Unit\migrate\process; use Drupal\path\Plugin\migrate\process\PathSetTranslated; diff --git a/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php b/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php index a03417c3517c..2a52e3e719d4 100644 --- a/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php +++ b/core/modules/path_alias/tests/src/Unit/AliasManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path_alias\Unit; use Drupal\Core\Language\Language; diff --git a/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php b/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php index f82bd3ab8930..d0789615701f 100644 --- a/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php +++ b/core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\path_alias\Unit\PathProcessor; use Drupal\Core\Cache\Cache; diff --git a/core/modules/pgsql/tests/src/Unit/SchemaTest.php b/core/modules/pgsql/tests/src/Unit/SchemaTest.php index 3b9192fdea4e..1dd286a2187c 100644 --- a/core/modules/pgsql/tests/src/Unit/SchemaTest.php +++ b/core/modules/pgsql/tests/src/Unit/SchemaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\pgsql\Unit; use Drupal\pgsql\Driver\Database\pgsql\Schema; diff --git a/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php b/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php index 586d20818ce9..1386980498be 100644 --- a/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php +++ b/core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\phpass\Unit; use Drupal\phpass\Password\PhpassHashedPassword; diff --git a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php index c130029ee185..92ff768a5ed8 100644 --- a/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php +++ b/core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\phpass\Unit; use Drupal\phpass\Password\PhpassHashedPassword; diff --git a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php index 685811cf20c3..cf2ff03c4aa4 100644 --- a/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php +++ b/core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\responsive_image\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php index 8e60baa9b779..b70073e23815 100644 --- a/core/modules/rest/tests/src/Unit/CollectRoutesTest.php +++ b/core/modules/rest/tests/src/Unit/CollectRoutesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php b/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php index bf9a989c5fbc..50ad05eb9c82 100644 --- a/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php +++ b/core/modules/rest/tests/src/Unit/Entity/RestResourceConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\Entity; use Drupal\rest\Entity\RestResourceConfig; diff --git a/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php b/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php index 83630dbeb84c..1814b113a2bd 100644 --- a/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php +++ b/core/modules/rest/tests/src/Unit/EntityResourceValidationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit; use Drupal\Core\Entity\EntityConstraintViolationList; diff --git a/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php b/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php index b0126a2f1f25..6234c72b7a5e 100644 --- a/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php +++ b/core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\EventSubscriber; use Drupal\Component\Serialization\Json; diff --git a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php index b46b05d8ad5e..0f3eee1a3a7d 100644 --- a/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php +++ b/core/modules/rest/tests/src/Unit/Plugin/views/style/SerializerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\rest\Unit\Plugin\views\style; use Drupal\rest\Plugin\views\display\RestExport; diff --git a/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php b/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php index 86b248b1be7d..3b1f439a2fd9 100644 --- a/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php +++ b/core/modules/sdc/tests/src/Unit/ComponentMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Component\ComponentMetadata; diff --git a/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php b/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php index 2490fd079c49..ddabdae49e56 100644 --- a/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php +++ b/core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\Core\Template\Attribute; diff --git a/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php b/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php index 927c11c1a487..142c7939c45d 100644 --- a/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php +++ b/core/modules/sdc/tests/src/Unit/SchemaCompatibilityCheckerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Component\SchemaCompatibilityChecker; diff --git a/core/modules/sdc/tests/src/Unit/UtilitiesTest.php b/core/modules/sdc/tests/src/Unit/UtilitiesTest.php index baaba75c9d21..04cd8f7d2cc0 100644 --- a/core/modules/sdc/tests/src/Unit/UtilitiesTest.php +++ b/core/modules/sdc/tests/src/Unit/UtilitiesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sdc\Unit; use Drupal\sdc\Utilities; diff --git a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php index d551495120d5..4baecec35ccc 100644 --- a/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php +++ b/core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\search\Unit; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php b/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php index aeddb24d5b52..df643317630f 100644 --- a/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php +++ b/core/modules/search/tests/src/Unit/SearchPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\search\Unit; use Drupal\search\Plugin\SearchPluginCollection; diff --git a/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php b/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php index ab7185e80f5c..99bd8da87f00 100644 --- a/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php +++ b/core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\CompilerPass; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php b/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php index 1a8a8c419820..82cb1768e9cd 100644 --- a/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php +++ b/core/modules/serialization/tests/src/Unit/Encoder/JsonEncoderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Encoder; use Drupal\serialization\Encoder\JsonEncoder; diff --git a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php index e6f9f7df0501..151413de3e01 100644 --- a/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php +++ b/core/modules/serialization/tests/src/Unit/Encoder/XmlEncoderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Encoder; use Drupal\serialization\Encoder\XmlEncoder; diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php index 81ea03be5cae..7e0c50c20f7f 100644 --- a/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php +++ b/core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EntityResolver; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php index 73c890173668..545c41c47d47 100644 --- a/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php +++ b/core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EntityResolver; use Drupal\Core\Entity\EntityRepositoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php b/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php index ed09e27fc1cb..59732c4b9b4f 100644 --- a/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php +++ b/core/modules/serialization/tests/src/Unit/EventSubscriber/DefaultExceptionSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\EventSubscriber; use Drupal\serialization\Encoder\JsonEncoder; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php index c106f1bdea6e..608fb3693551 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\ComplexDataInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php index 69d58a22a889..65fc0c35e610 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ConfigEntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\Entity\ConfigEntityTypeInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php index e048d3f1db42..2fbc10d3cbfe 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php index 98ca2ac7d0cd..4676ea218b09 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php index 0d270d5e89f4..c229ee6f56b2 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php index 28403d6b0500..759f98c4f7e3 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/EntityNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\ContentEntityBase; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php index 95defa821cc9..f48fe477d8c0 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php b/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php index 3829934b508a..025ddb9c0397 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/InternalTypedDataTestTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinitionInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php index 7db6e7ce37e4..823f4166311f 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php index f8ec2abffaa8..c07224e4f1c5 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/NormalizerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php index cc7402041cf6..c26417520e63 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\serialization\Normalizer\NullNormalizer; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php index 3218b28674ce..c32bbf8adf04 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php index 71d1c2c032df..0bc9e6b3de41 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php index 750d9d2997af..2023a4d8c704 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php index 92fbbb667a74..4bd2140ead63 100644 --- a/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php +++ b/core/modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\serialization\Unit\Normalizer; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php b/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php index 46f3984fc143..3c9e1903106c 100644 --- a/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php +++ b/core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\settings_tray\Unit\Access; use Drupal\block\BlockInterface; diff --git a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php index 1bbe28f2d3f6..ea8e975c7a06 100644 --- a/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php +++ b/core/modules/shortcut/tests/src/Unit/Menu/ShortcutLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\shortcut\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/sqlite/tests/src/Unit/ConnectionTest.php b/core/modules/sqlite/tests/src/Unit/ConnectionTest.php index 1555d83f112e..37e3062d5e24 100644 --- a/core/modules/sqlite/tests/src/Unit/ConnectionTest.php +++ b/core/modules/sqlite/tests/src/Unit/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\sqlite\Unit; use Drupal\sqlite\Driver\Database\sqlite\Connection; diff --git a/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php b/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php index ad69dac6c4f8..c811fcfd3d46 100644 --- a/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php +++ b/core/modules/statistics/tests/src/Unit/StatisticsViewsResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\statistics\Unit; use Drupal\statistics\StatisticsViewsResult; diff --git a/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php b/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php index e68649fd37a6..ceae340f1af4 100644 --- a/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php +++ b/core/modules/system/tests/src/Unit/Batch/BatchControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Batch; use Drupal\Core\Batch\BatchStorageInterface; diff --git a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php index 78dd3fdeb3e5..a27944c418ba 100644 --- a/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php +++ b/core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Breadcrumbs; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php b/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php index 9703ef1f754b..f2c8ba390968 100644 --- a/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php +++ b/core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Event; use Drupal\Core\File\Event\FileUploadSanitizeNameEvent; diff --git a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php index 6032ff399dc0..d736e39aa0b4 100644 --- a/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php +++ b/core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php b/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php index ab0ff1186543..df7f74162d95 100644 --- a/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php +++ b/core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Menu; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php b/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php index cf210b4ec8aa..7a529f254f1d 100644 --- a/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php +++ b/core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Pager; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php b/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php index a02c7550d917..117346713824 100644 --- a/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php +++ b/core/modules/system/tests/src/Unit/Routing/AdminRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Routing; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php b/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php index 8a499fbc62bd..13c63ded2096 100644 --- a/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php +++ b/core/modules/system/tests/src/Unit/SecurityAdvisories/SecurityAdvisoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\SecurityAdvisories; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/system/tests/src/Unit/TraitAccessTest.php b/core/modules/system/tests/src/Unit/TraitAccessTest.php index c9ac7ff668da..2abd92171b42 100644 --- a/core/modules/system/tests/src/Unit/TraitAccessTest.php +++ b/core/modules/system/tests/src/Unit/TraitAccessTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php index 4b68b453cd4a..3fb6283db197 100644 --- a/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php +++ b/core/modules/system/tests/src/Unit/Transliteration/MachineNameControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\system\Unit\Transliteration; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php index c90533fbeee8..7635b266d78f 100644 --- a/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php +++ b/core/modules/taxonomy/tests/src/Unit/Menu/TaxonomyLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\taxonomy\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php b/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php index d31c9e61b096..687ca4557402 100644 --- a/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php +++ b/core/modules/taxonomy/tests/src/Unit/Plugin/migrate/field/TaxonomyTermReferenceFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\taxonomy\Unit\Plugin\migrate\field; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php index 04e63780d5ad..2787a99d132e 100644 --- a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php +++ b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d6/TextFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\text\Unit\Plugin\migrate\field\d6; use Drupal\migrate\Plugin\MigrationInterface; diff --git a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php index 64679992eec7..0bae0bec6445 100644 --- a/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php +++ b/core/modules/text/tests/src/Unit/Plugin/migrate/field/d7/TextFieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\text\Unit\Plugin\migrate\field\d7; use Drupal\migrate\Row; diff --git a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php index 027613c8758c..a11a1bd66ada 100644 --- a/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php +++ b/core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\toolbar\Unit\PageCache; use Drupal\toolbar\PageCache\AllowToolbarPath; diff --git a/core/modules/tour/tests/src/Unit/Entity/TourTest.php b/core/modules/tour/tests/src/Unit/Entity/TourTest.php index b1f3db0bbc2e..ff398e28670b 100644 --- a/core/modules/tour/tests/src/Unit/Entity/TourTest.php +++ b/core/modules/tour/tests/src/Unit/Entity/TourTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\tour\Unit\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php b/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php index 5db0e3ab3289..aca693e563e9 100644 --- a/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php +++ b/core/modules/tour/tests/src/Unit/TipPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\tour\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php index c345f3551ddc..a62714e70d03 100644 --- a/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php +++ b/core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit\Menu; use Drupal\Tests\Core\Menu\LocalTaskIntegrationTestBase; diff --git a/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php b/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php index e29771154cd6..1b68ef27d41b 100644 --- a/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php +++ b/core/modules/update/tests/src/Unit/ProjectCoreCompatibilityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/ProjectReleaseTest.php b/core/modules/update/tests/src/Unit/ProjectReleaseTest.php index 4e38599ca9cc..ebd538338b75 100644 --- a/core/modules/update/tests/src/Unit/ProjectReleaseTest.php +++ b/core/modules/update/tests/src/Unit/ProjectReleaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php index 2c1256e9f94a..26544d929c73 100644 --- a/core/modules/update/tests/src/Unit/UpdateFetcherTest.php +++ b/core/modules/update/tests/src/Unit/UpdateFetcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use ColinODell\PsrTestLogger\TestLogger; diff --git a/core/modules/update/tests/src/Unit/UpdateMailTest.php b/core/modules/update/tests/src/Unit/UpdateMailTest.php index 34f17d69c2e7..cba4fbb1ffaf 100644 --- a/core/modules/update/tests/src/Unit/UpdateMailTest.php +++ b/core/modules/update/tests/src/Unit/UpdateMailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\update\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php b/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php index cc994d858e2a..d0120508d901 100644 --- a/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php +++ b/core/modules/user/tests/src/Unit/Form/EntityPermissionsFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Form; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php index a6dc74eb8432..5a791d66cd58 100644 --- a/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php +++ b/core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Menu; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php index 8ffce00cdddb..4ed2bedac1ed 100644 --- a/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php +++ b/core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php index 50eb4790c5e9..ccdc171c67d5 100644 --- a/core/modules/user/tests/src/Unit/PermissionHandlerTest.php +++ b/core/modules/user/tests/src/Unit/PermissionHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Extension\Extension; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php b/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php index a2c91e3027d5..218587428e4f 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\user\Plugin\Action\AddRoleUser; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php b/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php index 476afe94d3d8..e52542b15b1a 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/RemoveRoleUserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\user\Plugin\Action\RemoveRoleUser; diff --git a/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php b/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php index 118835f1cc0e..dd6244626a64 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php +++ b/core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Action; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php b/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php index f96d126e6833..8851dae88c80 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Core\Entity; use Drupal\Tests\Core\Session\UserSessionTest; diff --git a/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php b/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php index 9d2a0209914d..770b56107872 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Derivative/UserLocalTaskTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Derivative; use Drupal\Core\Entity\EntityTypeInterface; diff --git a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php index 6a6e9f0ec33e..6bfb796faee1 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/ProtectedUserFieldConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Validation\Constraint; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php index f1a316087491..02ac593f8cdd 100644 --- a/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\Validation\Constraint; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php b/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php index 1cbc849a8107..f7e6dd297085 100644 --- a/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/migrate/process/ConvertTokensTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\migrate\process; use Drupal\user\Plugin\migrate\process\ConvertTokens; diff --git a/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php b/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php index 0beff242bee5..3625fe131ec7 100644 --- a/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php b/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php index 9b007ff11f3b..95703a459204 100644 --- a/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php +++ b/core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Plugin\views\field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php b/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php index e4bcd038bbf7..0ad90dbc4a0e 100644 --- a/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php +++ b/core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Theme; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php b/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php index 40be72a66645..5c40206ee3ce 100644 --- a/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php +++ b/core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Session\AccountProxyInterface; diff --git a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php index de7482a3ba2e..8abe7759a116 100644 --- a/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php +++ b/core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/user/tests/src/Unit/UserAuthTest.php b/core/modules/user/tests/src/Unit/UserAuthTest.php index 1809d4985d0a..e14e40225a37 100644 --- a/core/modules/user/tests/src/Unit/UserAuthTest.php +++ b/core/modules/user/tests/src/Unit/UserAuthTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/user/tests/src/Unit/UserNameItemTest.php b/core/modules/user/tests/src/Unit/UserNameItemTest.php index 11ca5a87bdd4..0a0a3ce594b3 100644 --- a/core/modules/user/tests/src/Unit/UserNameItemTest.php +++ b/core/modules/user/tests/src/Unit/UserNameItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php b/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php index a403f69f7733..5bb7511e973f 100644 --- a/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php +++ b/core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit; use Drupal\Core\Config\ImmutableConfig; diff --git a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php index 8e18649ee70d..7e5bebfbf2e4 100644 --- a/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php +++ b/core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\user\Unit\Views\Argument; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php index c342a48d93d1..6ef1a332fef5 100644 --- a/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php +++ b/core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Controller; use Drupal\Core\Render\RenderContext; diff --git a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php index a458bddafba7..377a0c227f82 100644 --- a/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php +++ b/core/modules/views/tests/src/Unit/EventSubscriber/RouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\EventSubscriber; use Drupal\Core\Entity\EntityTypeManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php index ed0deb1868a1..a535e971eeef 100644 --- a/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\Block; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php index be6c2851d63e..e09ac60407eb 100644 --- a/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/Derivative/ViewsLocalTaskTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\Derivative; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php index 52cd88de7952..31f5c9399834 100644 --- a/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/HandlerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php b/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php index 1bde6f0381cc..3760d65d1146 100644 --- a/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php +++ b/core/modules/views/tests/src/Unit/Plugin/HandlerTestTrait.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin; /** diff --git a/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php b/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php index 1a759fd45ce5..2379c9567f6a 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php b/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php index 70c30b96c36f..1c81c8200189 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/MessagesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php index 5f85d89476d9..c8e65c97b1bb 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/ResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Core\Routing\RouteProviderInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php index 4f095fb4476f..b8d2a81725c6 100644 --- a/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/area/ViewTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\area; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php index f6ac061f99e6..28f1adc6d2c4 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_default; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php index 66c5c9772f9e..83a370ed868f 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_default; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php b/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php index 0b021fd61d88..e10477d46081 100644 --- a/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/argument_validator/EntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\argument_validator; use Drupal\Core\Entity\EntityTypeBundleInfoInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php b/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php index 89b1cf2c836b..c801ec556fcf 100644 --- a/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/display/PageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\display; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php index 968adcc38eed..ae4701156864 100644 --- a/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\display; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php b/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php index aeb8cae4d068..9e9c39f9376a 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php index 4ddf6ab5644e..11e082f29704 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Core\GeneratedUrl; diff --git a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php index 6cda638d760e..999d55fb91d3 100644 --- a/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\field; use Drupal\Core\Entity\EntityFieldManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php index 004f65370974..45b1778deaa5 100644 --- a/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\filter; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php b/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php index 7f80c6842d77..7a208c3b0a95 100644 --- a/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\filter; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php index 89dbc931d3b0..053382c8838d 100644 --- a/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\pager; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php index b10019b5f29b..a51f267792f6 100644 --- a/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\pager; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php b/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php index 875cf47f19f0..90366e10bc29 100644 --- a/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\query; use Drupal\Core\Entity\EntityInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php b/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php index bc191018246d..29c3851b2ce3 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/display/BlockTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\display; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php index e7629346c6ac..c2282bf5fa38 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Form\FormStateInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php index c575aa6b21cd..4e6dad459784 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php index 897a86ae3fc6..effdc2e36e0b 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Access\AccessManagerInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php b/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php index 8639db20f9ab..64cd8f7dbeef 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/field/RenderedEntityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\field; use Drupal\Core\Entity\EntityDisplayRepositoryInterface; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php index bbfc7b638e7b..03f381174b71 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/MysqlDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php index e1892b961288..e9379825d511 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/PostgresqlDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php b/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php index 3de9ba72fae3..e2406750a793 100644 --- a/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php +++ b/core/modules/views/tests/src/Unit/Plugin/views/query/SqliteDateSqlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Plugin\views\query; use Drupal\Core\Database\Connection; diff --git a/core/modules/views/tests/src/Unit/PluginBaseTest.php b/core/modules/views/tests/src/Unit/PluginBaseTest.php index 8d2f8e0d4cce..e185aa7ca928 100644 --- a/core/modules/views/tests/src/Unit/PluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/PluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/PluginTypeListTest.php b/core/modules/views/tests/src/Unit/PluginTypeListTest.php index ee84e5312717..228b1052c7aa 100644 --- a/core/modules/views/tests/src/Unit/PluginTypeListTest.php +++ b/core/modules/views/tests/src/Unit/PluginTypeListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\views\ViewExecutable; diff --git a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php index 841fe19c4772..57db7fe28718 100644 --- a/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php +++ b/core/modules/views/tests/src/Unit/Routing/ViewPageControllerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit\Routing; use Drupal\Core\Routing\RouteMatch; diff --git a/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php b/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php index e683f9aee85e..815fd1e186de 100644 --- a/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php +++ b/core/modules/views/tests/src/Unit/ViewExecutableFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewExecutableTest.php b/core/modules/views/tests/src/Unit/ViewExecutableTest.php index e377b89536f6..f8eaaafedb70 100644 --- a/core/modules/views/tests/src/Unit/ViewExecutableTest.php +++ b/core/modules/views/tests/src/Unit/ViewExecutableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php b/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php index e481bb3faa77..fae9639b996a 100644 --- a/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php +++ b/core/modules/views/tests/src/Unit/ViewsDataHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewsDataTest.php b/core/modules/views/tests/src/Unit/ViewsDataTest.php index b382c427cd40..84d7835037af 100644 --- a/core/modules/views/tests/src/Unit/ViewsDataTest.php +++ b/core/modules/views/tests/src/Unit/ViewsDataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Language\Language; diff --git a/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php b/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php index 70aeecb98e3f..159f860c29be 100644 --- a/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php +++ b/core/modules/views/tests/src/Unit/ViewsHandlerManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views/tests/src/Unit/ViewsTest.php b/core/modules/views/tests/src/Unit/ViewsTest.php index 5eb36e4c0de5..5c750c9b0a9c 100644 --- a/core/modules/views/tests/src/Unit/ViewsTest.php +++ b/core/modules/views/tests/src/Unit/ViewsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php b/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php index 965fab2565c9..97f5dfd0f21f 100644 --- a/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php +++ b/core/modules/views/tests/src/Unit/WizardPluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views\Unit; use Drupal\Core\Form\FormState; diff --git a/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php b/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php index b2d3f96ab626..a47c8450bdd4 100644 --- a/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php +++ b/core/modules/views_ui/tests/src/Unit/Form/Ajax/RearrangeFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit\Form\Ajax; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php index 9556687d97f5..19566a9ed2bc 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php index 36b4933a6f53..d98a31dd04c4 100644 --- a/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php +++ b/core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\views_ui\Unit; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/workflows/tests/src/Unit/StateTest.php b/core/modules/workflows/tests/src/Unit/StateTest.php index 2790a8051a50..2ce55c4745c6 100644 --- a/core/modules/workflows/tests/src/Unit/StateTest.php +++ b/core/modules/workflows/tests/src/Unit/StateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/workflows/tests/src/Unit/TransitionTest.php b/core/modules/workflows/tests/src/Unit/TransitionTest.php index bbab5cf53129..5ff7d02abbde 100644 --- a/core/modules/workflows/tests/src/Unit/TransitionTest.php +++ b/core/modules/workflows/tests/src/Unit/TransitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Tests\UnitTestCase; diff --git a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php index 63f1fec26e71..ad01d100e8ac 100644 --- a/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php +++ b/core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/workflows/tests/src/Unit/WorkflowTest.php b/core/modules/workflows/tests/src/Unit/WorkflowTest.php index 7db051e46296..d15567d22cd9 100644 --- a/core/modules/workflows/tests/src/Unit/WorkflowTest.php +++ b/core/modules/workflows/tests/src/Unit/WorkflowTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workflows\Unit; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php b/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php index 8ecc144800c6..b5093824ca92 100644 --- a/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php +++ b/core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workspaces\Unit; use Drupal\Core\Access\AccessResult; diff --git a/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php b/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php index 8eb381737dea..2e40fff58c48 100644 --- a/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php +++ b/core/modules/workspaces/tests/src/Unit/WorkspaceRequestSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\workspaces\Unit; use Drupal\path_alias\AliasManagerInterface; diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index ec7fb9dc49ae..195479831ccb 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -276,11 +276,15 @@ <!-- <include-pattern>*/tests/*</include-pattern> --> <include-pattern>*/tests/src/FunctionalJavascript/*</include-pattern> <include-pattern>*/tests/src/Traits/*</include-pattern> + <include-pattern>*/tests/src/Unit/*</include-pattern> <include-pattern>./tests/Drupal/BuildTests/*</include-pattern> <include-pattern>./tests/Drupal/FunctionalJavascriptTests/*</include-pattern> + <include-pattern>./tests/Drupal/Tests/*/*.php</include-pattern> <include-pattern>./tests/Drupal/Tests/*Trait.php</include-pattern> <include-pattern>./tests/Drupal/Tests/Traits/*</include-pattern> <exclude-pattern>./tests/Drupal/Tests/Listeners/*</exclude-pattern> + <exclude-pattern>./tests/Drupal/Tests/*/Fixture/*</exclude-pattern> + <exclude-pattern>./tests/Drupal/Tests/*/fixtures/*</exclude-pattern> </rule> <!-- Squiz sniffs --> diff --git a/core/tests/Drupal/Tests/CSpell/SortTest.php b/core/tests/Drupal/Tests/CSpell/SortTest.php index cfc1621167fc..1b55eb542ce2 100644 --- a/core/tests/Drupal/Tests/CSpell/SortTest.php +++ b/core/tests/Drupal/Tests/CSpell/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\CSpell; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php index 899295cbeb3e..944f479a7cd8 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryCachedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php index ceada7a5a969..97e1a6bec507 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotatedClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php b/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php index 91d5ae28c3ec..28824ecb5d93 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\AnnotationBase; diff --git a/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php b/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php index bf1a4cdbf97d..7ef3f2638a63 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/DocParserIgnoredClassesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php index e9addd67e7db..14314de2d886 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php index 7b7967290873..a13eeb72157e 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/AnnotWithDefaultValue.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php index 6102dc32d42a..6718468b1e28 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Autoload.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php index e32464fa12bb..da3eb2f1d3a9 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Route.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php index 48336f1eefcc..c1bdc8705d7a 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php index bc31bad21abd..6362b60f5cbd 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Template.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** @Annotation */ diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php index 5c4789dc455b..cecfcfebd665 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Version.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures\Annotation; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php index 8c8993dcd858..65f4001659a5 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnum.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php index 3a1f94ff0000..5737ede3404c 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumInvalid.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php index 3dc91a66bc45..9c68bfd61e1f 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteral.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationEnumLiteral as SelfEnum; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php index b4c9abd9be44..a50c1f117a85 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationEnumLiteralInvalid.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php index c40c380630aa..fb256bd8b3f1 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAll.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php index bfd65032ea2e..fab208f762bf 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetAnnotation.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php index f36e90512817..58e5770079ba 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php index 31586b1e7aa2..984eee91289a 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationTargetPropertyMethod.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php index 89985aedf539..594a159a39e4 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php index f03957c31ac5..a2ef97ddf620 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php index 77983ef745fd..767d7d86f7bb 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributes.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php index f0b3c1d486ef..dbfa95f659f9 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithRequiredAttributesWithoutContructor.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php index 4ab0423ca352..852d7ca4affb 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithTargetSyntaxError.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php index 17cc5e02a1b9..07492496a94d 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithVarType.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php index 485d8cbb2d0f..75e55bc6bb94 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; class ClassWithConstants diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php index 896b64a8bee8..9b2b7912016f 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetPropertyMethod; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php index 5a023ec46e23..a42ef04eb6d2 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtMethod.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php index 456c1bbfd223..162d8fa33152 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithInvalidAnnotationTargetAtProperty.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php index 08551525b0ac..d35e5f289c43 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/ClassWithValidAnnotationTarget.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; use Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationTargetClass; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php index 0b9db8ce0cce..9102b1487399 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/IntefaceWithConstants.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Fixtures; interface IntefaceWithConstants diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php index 870ccc91aa79..58687d033206 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Entity.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + // Some class named Entity in the global namespace /** * This class is a near-copy of diff --git a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php index 8f0d3f945a82..58c79c5a9677 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Doctrine/Ticket/DCOM58Test.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Doctrine\Ticket; use Drupal\Component\Annotation\Doctrine\DocParser; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php b/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php index e99ad5fb3270..d99bf9e135e1 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Fixtures/PluginNamespace/DiscoveryTest1.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; /** diff --git a/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php b/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php index f1983ffcd917..7e45602d9112 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/MockFileFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Reflection\MockFileFinder; diff --git a/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php b/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php index 848f499ee106..d4fbd465c76d 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation\Plugin\Discovery; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php b/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php index 15cd6e860d60..cb22ff6f0713 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/PluginIdTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\PluginID; diff --git a/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php b/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php index 54655e722c10..5c106d70a5b8 100644 --- a/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php +++ b/core/tests/Drupal/Tests/Component/Annotation/PluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Annotation; use Drupal\Component\Annotation\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php index 4f79f764634f..384bb30ed5d9 100644 --- a/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php +++ b/core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Assertion; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php b/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php index eb6c32dcc8fe..c7742e4cd7e1 100644 --- a/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php +++ b/core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\ClassFinder; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php index dcfa56ca9135..28c91f351c9e 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\DateTimePlus; diff --git a/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php b/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php index f5de7d970820..7065141c39f4 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\Time; diff --git a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php index c66e1bb44007..7eaf6e6130f4 100644 --- a/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php +++ b/core/tests/Drupal/Tests/Component/Datetime/TimeWithNoRequestTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Datetime; use Drupal\Component\Datetime\Time; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php index 5a43e8290c7d..5dfc90fea553 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php index 3f9547b2e572..2942dd808786 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection\Dumper { use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php index 91abfe4fc64f..1005b57deea0 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection\Dumper; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php index 0623ceab339c..03cb68a3dc05 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php b/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php index 8fa731916508..22a2539071e9 100644 --- a/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php +++ b/core/tests/Drupal/Tests/Component/DependencyInjection/ReverseContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\DependencyInjection; use Drupal\Component\DependencyInjection\ReverseContainer; diff --git a/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php b/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php index c5fab90921d0..b0f25967fc70 100644 --- a/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/DiffFormatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff; use Drupal\Component\Diff\Diff; diff --git a/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php b/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php index 50b20ff8e167..6c169fcb6dfc 100644 --- a/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/DiffOpOutputBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff; use Drupal\Component\Diff\DiffOpOutputBuilder; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php index 5feba62a3a95..dce6e52b2cb1 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffEngineTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\DiffEngine; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php index fa2dee1a029e..d45aef5858df 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/DiffOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\DiffOp; diff --git a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php index 194f37f50eb4..3c75df16e424 100644 --- a/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php +++ b/core/tests/Drupal/Tests/Component/Diff/Engine/HWLDFWordAccumulatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Diff\Engine; use Drupal\Component\Diff\Engine\HWLDFWordAccumulator; diff --git a/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php index 3d1be4721607..ce8744744c4e 100644 --- a/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Discovery; use Drupal\Component\Discovery\DiscoveryException; diff --git a/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php index 8f5d01ec6fca..2f0cf2af14d3 100644 --- a/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Discovery; use Drupal\Component\Discovery\YamlDiscovery; diff --git a/core/tests/Drupal/Tests/Component/DrupalComponentTest.php b/core/tests/Drupal/Tests/Component/DrupalComponentTest.php index 11855926a641..09e356765d34 100644 --- a/core/tests/Drupal/Tests/Component/DrupalComponentTest.php +++ b/core/tests/Drupal/Tests/Component/DrupalComponentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component; use org\bovigo\vfs\vfsStream; diff --git a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php index bc61186c0fb6..a8fd9e87d602 100644 --- a/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php +++ b/core/tests/Drupal/Tests/Component/EventDispatcher/ContainerAwareEventDispatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\EventDispatcher; use Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher; diff --git a/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php b/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php index c21bc5bf3812..7e6d9c2a61b5 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCache; diff --git a/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php b/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php index 30edddb32276..610a90905c56 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php +++ b/core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCache; diff --git a/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php b/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php index 32fa21526114..15efaf8b1a86 100644 --- a/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php +++ b/core/tests/Drupal/Tests/Component/FileCache/StaticFileCacheBackend.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileCache; use Drupal\Component\FileCache\FileCacheBackendInterface; diff --git a/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php b/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php index 4e4182bae605..8b1cd24194fc 100644 --- a/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php +++ b/core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileSecurity; use Drupal\Component\FileSecurity\FileSecurity; diff --git a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php index 0d1ef58c1952..c340f14630b0 100644 --- a/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php +++ b/core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FileSystem; use Drupal\Component\FileSystem\RegexDirectoryIterator; diff --git a/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php b/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php index 3e6a27aabf1d..5c91f5efb343 100644 --- a/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php +++ b/core/tests/Drupal/Tests/Component/FrontMatter/FrontMatterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\FrontMatter; use Drupal\Component\FrontMatter\Exception\FrontMatterParseException; diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php index 0d000d59d633..c0ba7cf6ff1a 100644 --- a/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php +++ b/core/tests/Drupal/Tests/Component/Gettext/PoHeaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Gettext; use Drupal\Component\Gettext\PoHeader; diff --git a/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php b/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php index b9127a408b80..f120955571da 100644 --- a/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php +++ b/core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Gettext; use Drupal\Component\Gettext\PoHeader; diff --git a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php index 2773d46ba309..3fa25a7f1fa1 100644 --- a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php +++ b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Graph; use Drupal\Component\Graph\Graph; diff --git a/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php b/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php index 3cc97464f751..893072de6fb4 100644 --- a/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php +++ b/core/tests/Drupal/Tests/Component/HttpFoundation/SecuredRedirectResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\HttpFoundation; use Drupal\Component\HttpFoundation\SecuredRedirectResponse; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php index 22975ddea42b..6233e5b1b41c 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\FileStorage; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php index 51426a28576e..d7ca82e28bef 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\FileStorage; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php index 66ea316fdfe9..222ca9031bf0 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFastFileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; /** diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php index b04a9f4ac5e6..d38cdefba60e 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\FileSecurity\FileSecurity; diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php index 775a43ff2887..ef3b0ac478ad 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; /** diff --git a/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php b/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php index c670bebadf4e..84456df49ce2 100644 --- a/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php +++ b/core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\PhpStorage; use Drupal\Component\PhpStorage\PhpStorageInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php index 1f9a5657a66a..877a0fae2e5e 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\AttributeBase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php index d68a724b566f..4798504927b5 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryCachedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Discovery\AttributeClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php index 965254c719e3..92b8fede1c44 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/AttributeClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Discovery\AttributeClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php index 9100fb800d99..eb9730348178 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/CustomPlugin.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php index d550e99303e9..3d9d2c79078c 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/Fixtures/Plugins/PluginNamespace/AttributeDiscoveryTest1.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace com\example\PluginNamespace; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php index 8c8391228330..ef34597e786e 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\PluginID; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php index 7fdfaa1eb903..48d707f0fa88 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Attribute; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php b/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php index 5a653b49005a..e48973a39f65 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Context/ContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Context; use Drupal\Component\Plugin\Context\Context; diff --git a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php index 4d1e5a3d34ca..0413216eeb13 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php index 67e9c090e773..28577e83c25e 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AnnotatedClassDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php index f6b37647a498..8d7be68c1662 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/AttributeBridgeDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Plugin\Attribute\Plugin; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php index 7895ecddcf35..c6466ba66905 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryCachedTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php index d3a079655204..b18c95c0c3e7 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/DiscoveryTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php index 518eaddc1d3b..b05a7be50281 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Discovery; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php index 7e19100a81f6..d4446b188632 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Factory/ReflectionFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Factory; use Drupal\Component\Plugin\Factory\ReflectionFactory; diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php index 63c7ed54e381..acf3394748c1 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Broccoli.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php index 201b9b139585..e50b29f06682 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/Corn.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php index b9d53ce5a1c5..e79d3fd8521f 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php +++ b/core/tests/Drupal/Tests/Component/Plugin/Fixtures/vegetable/VegetableInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin\Fixtures\vegetable; /** diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php index ea095b2c0e59..f90fd02a9252 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php index 5dc3c674215b..7e775a1b54a8 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginHelperLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php b/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php index 11e0a403b627..b4c5a6952e4d 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php +++ b/core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php b/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php index 50283c6614b5..e59bf38c6275 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php +++ b/core/tests/Drupal/Tests/Component/Plugin/StubFallbackPluginManager.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\FallbackPluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php index 025c684ae745..21661b2bbde8 100644 --- a/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php +++ b/core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Plugin; use Drupal\Component\Plugin\Mapper\MapperInterface; diff --git a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php index f539886c7c2f..1105b3f1934d 100644 --- a/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php +++ b/core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\ProxyBuilder; use Drupal\Component\ProxyBuilder\ProxyBuilder; diff --git a/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php b/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php index d9a050e12409..57a79b185cfe 100644 --- a/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php +++ b/core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php b/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php index 26fd085e3852..2f09bf1821f0 100644 --- a/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php +++ b/core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\HtmlEscapedText; diff --git a/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php b/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php index d68e03521b83..afae2d777fe2 100644 --- a/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php +++ b/core/tests/Drupal/Tests/Component/Render/PlainTextOutputTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Render; use Drupal\Component\Render\PlainTextOutput; diff --git a/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php b/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php index 2876661d2f8d..a48d7adb15c2 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/JsonTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php index f002567268da..52e4f6eaab5f 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php index 6e88c1571feb..e6c39fba3c25 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlSymfonyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php b/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php index 040dcc8e3b25..473de7a5eb8b 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use Drupal\Component\Serialization\Exception\InvalidDataTypeException; diff --git a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php index 82226d0d3425..eebd0a22d68c 100644 --- a/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php +++ b/core/tests/Drupal/Tests/Component/Serialization/YamlTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Serialization; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php index 83eb5d910aab..fa7f8ab14f06 100644 --- a/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php +++ b/core/tests/Drupal/Tests/Component/Transliteration/PhpTransliterationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Transliteration; use Drupal\Component\Transliteration\PhpTransliteration; diff --git a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php index 1a7f2f231da7..7b97b39c26bd 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\ArgumentsResolver; diff --git a/core/tests/Drupal/Tests/Component/Utility/BytesTest.php b/core/tests/Drupal/Tests/Component/Utility/BytesTest.php index 6b10659f0556..b9294b6cae36 100644 --- a/core/tests/Drupal/Tests/Component/Utility/BytesTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/BytesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Bytes; diff --git a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php index b0db7191b27e..d3b457e3f20d 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ColorTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ColorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Color; diff --git a/core/tests/Drupal/Tests/Component/Utility/CryptTest.php b/core/tests/Drupal/Tests/Component/Utility/CryptTest.php index b541e574e867..8894d9cf21cb 100644 --- a/core/tests/Drupal/Tests/Component/Utility/CryptTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/CryptTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php index 26318ebe380b..d5d4577baf57 100644 --- a/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/EmailValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\EmailValidator; diff --git a/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php b/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php index 5d484b2903ca..10a5c2800a8a 100644 --- a/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/EnvironmentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Environment; diff --git a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php index ebe9668d7486..b309ea2c5a73 100644 --- a/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php index be3cdd75eb02..5860e9bea307 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ImageTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ImageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Image; diff --git a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php index 35c0be969088..f6f687394823 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\NestedArray; diff --git a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php index 0c5a5fa5072c..f719ec07a345 100644 --- a/core/tests/Drupal/Tests/Component/Utility/NumberTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/NumberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Number; diff --git a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php index aaa75d57285e..fde2dbbb824b 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RandomTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RandomTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php index 6a4dc778bd35..47d1c0c7a0aa 100644 --- a/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/RectangleTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Rectangle; diff --git a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php index 0a52a305f8e1..f82392b189e2 100644 --- a/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Reflection; diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php index 413991ff5e01..34b191184cdf 100644 --- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\SortArray; diff --git a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php index a7cbf8732eb4..3c12f9a19df6 100644 --- a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Timer; diff --git a/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php b/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php index fc52e7ba25f6..4c9d301337ff 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Unicode; diff --git a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php index 254058339fbd..da578931b3ec 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php b/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php index bb3e69d105aa..d19292c62de6 100644 --- a/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/UserAgentTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php index 88c2b756cfcd..196f0db029ce 100644 --- a/core/tests/Drupal/Tests/Component/Utility/VariableTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/VariableTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Variable; diff --git a/core/tests/Drupal/Tests/Component/Utility/XssTest.php b/core/tests/Drupal/Tests/Component/Utility/XssTest.php index e076e977b392..2cf89d233e6a 100644 --- a/core/tests/Drupal/Tests/Component/Utility/XssTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/XssTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Utility; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php index 1253803155c4..3170d7ce0757 100644 --- a/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php +++ b/core/tests/Drupal/Tests/Component/Uuid/UuidTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Uuid; use Drupal\Component\Uuid\Uuid; diff --git a/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php b/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php index 292fd123e654..08edcaff96a0 100644 --- a/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php +++ b/core/tests/Drupal/Tests/Component/Version/ConstraintTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Component\Version; use Drupal\Component\Version\Constraint; diff --git a/core/tests/Drupal/Tests/Composer/ComposerTest.php b/core/tests/Drupal/Tests/Composer/ComposerTest.php index 38b4d51a3605..552f25c2166a 100644 --- a/core/tests/Drupal/Tests/Composer/ComposerTest.php +++ b/core/tests/Drupal/Tests/Composer/ComposerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer; use Drupal\Composer\Composer; diff --git a/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php b/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php index 2f19ea8342b0..ca4b9701ef7a 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/BuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder; diff --git a/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php b/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php index 5de506456f76..87e940507f2e 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php +++ b/core/tests/Drupal/Tests/Composer/Generator/Fixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Util\DrupalCoreComposer; diff --git a/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php b/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php index 80d4f73799b4..664ffd7a73a9 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder; diff --git a/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php b/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php index fbbf6ac92666..69616f7fa63b 100644 --- a/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php +++ b/core/tests/Drupal/Tests/Composer/Generator/OverlapWithTopLevelDependenciesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Generator; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php b/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php index ba7077fa9516..f1ed74713955 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/ProjectMessage/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\ProjectMessage; use Composer\Package\RootPackageInterface; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php index 5391087cf1c8..b25c5072a98b 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold; use Composer\Console\Application; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php index 4f831bdceea6..24fcdfce2982 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php index 29189438fc21..9e50d3c92bf0 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php index 12868c0facea..8f3055f7ce2d 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php index 5102b6233fc8..20eb6d1e5a1b 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldUpgradeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Functional; use Composer\Util\Filesystem; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php index b113afa3220c..45806562416b 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/AppendOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\AppendOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php index 7792034af7d3..00deb085684d 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ReplaceOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\ReplaceOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php index 69b8acfeb57a..2741a77d3389 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/ScaffoldFileCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php index 3f90f79bad1b..8fd239540bde 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Integration/SkipOpTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold\Integration; use Drupal\Composer\Plugin\Scaffold\Operations\SkipOp; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php index a82bcf4fbe36..668665400b22 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/Scaffold/ScaffoldTestResult.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\Scaffold; /** diff --git a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php index 8b6001b6afed..bf154ca10fc5 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\VendorHardening; use Composer\Package\RootPackageInterface; diff --git a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php index 30cc3bf10ef9..0a5fcee9c451 100644 --- a/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php +++ b/core/tests/Drupal/Tests/Composer/Plugin/VendorHardening/VendorHardeningPluginTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Composer\Plugin\VendorHardening; use Composer\Composer; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php index 568a2b0820f7..74de788258ea 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessCheckInterface; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php index 0c42d2c191e3..cdf7a8c99f6d 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResultForbidden; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php index 77b16e316736..2a0c4f3bc2e9 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResultNeutral; diff --git a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php index a82d3debb82d..ae25925f2943 100644 --- a/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php +++ b/core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php index d32912f16a88..b6678722ecca 100644 --- a/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php b/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php index 118e5c041391..f81f9960b0dc 100644 --- a/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Site\Settings; diff --git a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php index 5f5a2e136881..c487ded7c97c 100644 --- a/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php index addef57973f0..372b35159848 100644 --- a/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Access/DefaultAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php index acabe3cbbdce..6e356b7f244b 100644 --- a/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php +++ b/core/tests/Drupal/Tests/Core/Access/RouteProcessorCsrfTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Access; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php index 90169e978e4a..1f6b02bc188a 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\AnnounceCommand; diff --git a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php index 18543f8ec650..0033fd3b41ef 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/AjaxResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\AjaxResponse; diff --git a/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php b/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php index a53e10f1ecc5..7564d77e5203 100644 --- a/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php +++ b/core/tests/Drupal/Tests/Core/Ajax/OpenOffCanvasDialogCommandTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Ajax; use Drupal\Core\Ajax\OpenOffCanvasDialogCommand; diff --git a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php index 98513ca93d0c..845e624685a9 100644 --- a/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php +++ b/core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Annotation; use Drupal\Core\Annotation\PluralTranslation; diff --git a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php index 8873b9b19ea1..2a6e79aa48ad 100644 --- a/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php +++ b/core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Annotation; use Drupal\Core\Annotation\Translation; diff --git a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php index 258716826308..07db8514ed3d 100644 --- a/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetResolver; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php index 7d8345ea2cdb..34adf3fe4974 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionGrouperUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\CssCollectionGrouper; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php index d1d5364f4fff..561807d20eb4 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerLazyUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Component\Datetime\TimeInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php index 9fc8e0309cdb..195afc7daddd 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetCollectionGrouperInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php index 2458ed307305..bf3071056b9e 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\AssetQueryStringInterface; diff --git a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php index e4833ec41a2b..318f2c62b0e3 100644 --- a/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\CssOptimizer; diff --git a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php index cc2596566c77..d698dcda1706 100644 --- a/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/JsOptimizerUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\JsOptimizer; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php b/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php index dab1ef3db07c..bf3a7f02d83f 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibrariesDirectoryFileFinderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibrariesDirectoryFileFinder; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php index a8425ac20783..40327713c063 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDependencyResolver; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php index fd96a0783b15..5528ca294fb6 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDiscoveryCollector; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php index a05a5a0e4cff..ddc83a815aed 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\Exception\IncompleteLibraryDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php index b53d6a72b928..72bc4add577d 100644 --- a/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Asset; use Drupal\Core\Asset\LibraryDiscovery; diff --git a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php index 00cec2a6209f..9f19efe1113e 100644 --- a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Authentication; use Drupal\Core\Authentication\AuthenticationCollector; diff --git a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php index f1964a2d2a5f..d67b3309584c 100644 --- a/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Authentication/AuthenticationManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Authentication; use Drupal\Core\Authentication\AuthenticationCollector; diff --git a/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php b/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php index 64c0963004c2..5971692a116b 100644 --- a/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Batch; use Drupal\Core\Batch\BatchBuilder; diff --git a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php index 382ae29da804..128f4d5da8dc 100644 --- a/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php +++ b/core/tests/Drupal/Tests/Core/Batch/PercentagesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Batch; use Drupal\Core\Batch\Percentage; diff --git a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php index 21ada5c8d0ac..0ac1f6c775cd 100644 --- a/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Block/BlockBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Block; use Drupal\block_test\Plugin\Block\TestBlockInstantiation; diff --git a/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php b/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php index 5ce1b499fc3c..dc993a5faadd 100644 --- a/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Block; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php index b6317841fea7..579a7168636f 100644 --- a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Breadcrumb; use Drupal\Core\Breadcrumb\Breadcrumb; diff --git a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php index f578301941c8..c0f91db54a61 100644 --- a/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php +++ b/core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Breadcrumb; use Drupal\Core\Breadcrumb\Breadcrumb; diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php index 9be88bbcb1ab..6dba9c583293 100644 --- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\BackendChain; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php index a44e8d4acd92..aecbfee826b7 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheCollector; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php index d345763c6ea3..627cef0feff4 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php index c67dc843dd58..8c555465c759 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php index 02f6731e94ff..20a5aef43c0b 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheTagsInvalidator; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheTest.php index 7b5b3f56e3d3..71090f46c24d 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php index ff12edabe678..d0b4c2f65361 100644 --- a/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php index 837c0f2a386f..6b14a97c3a82 100644 --- a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php index ac5fb40a3b9e..560a1a7d97e6 100644 --- a/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/ChainedFastBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\ChainedFastBackend; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php index 36b23bf6fc90..562eda98897a 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php index 71959b03d055..3dee9fc94757 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/CookieCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\CookiesCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php index 8f69e21740c9..1a946b5760a8 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/HeadersCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\HeadersCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php index 84fe9b1b33d5..ef732eb9cec6 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/IsFrontPathCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\IsFrontPathCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php index 69120e27f551..440e0e5c07d4 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/PathParentCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\PathParentCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php index 530565cfa332..72f1de4094a1 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/ProtocolVersionCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\ProtocolVersionCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php index 5c30a92fbb76..ae8009f24f2b 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/QueryArgsCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\QueryArgsCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php index e591f4f13a0c..87993d50f98f 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/SessionCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\SessionCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php b/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php index a9c010410887..6b889c07105c 100644 --- a/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache\Context; use Drupal\Core\Cache\Context\UserRolesCacheContext; diff --git a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php index 9d5ac4bdf924..bf94caa009ea 100644 --- a/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/DatabaseBackendFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheTagsChecksumInterface; diff --git a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php index bf79f70903db..e5067a697d8e 100644 --- a/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php b/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php index 60f50db41554..a63a73637851 100644 --- a/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cache; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php b/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php index a64881c051c5..5a401044e97d 100644 --- a/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php +++ b/core/tests/Drupal/Tests/Core/Command/GenerateThemeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Command; use Drupal\BuildTests\QuickStart\QuickStartTestBase; diff --git a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php index ff6c3c5462ac..735624438ae7 100644 --- a/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php +++ b/core/tests/Drupal/Tests/Core/Command/QuickStartTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Command; use Drupal\sqlite\Driver\Database\sqlite\Install\Tasks; diff --git a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php index e96704038927..f2fd29e16dc0 100644 --- a/core/tests/Drupal/Tests/Core/Common/AttributesTest.php +++ b/core/tests/Drupal/Tests/Core/Common/AttributesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php index 8c963af1ca62..3394fca907f6 100644 --- a/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php +++ b/core/tests/Drupal/Tests/Core/Common/DiffArrayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Component\Utility\DiffArray; diff --git a/core/tests/Drupal/Tests/Core/Common/TagsTest.php b/core/tests/Drupal/Tests/Core/Common/TagsTest.php index a0ca0ac7c676..57511048acf8 100644 --- a/core/tests/Drupal/Tests/Core/Common/TagsTest.php +++ b/core/tests/Drupal/Tests/Core/Common/TagsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Common; use Drupal\Component\Utility\Tags; diff --git a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php index 82e1c6d551ec..8adee3fc1b0a 100644 --- a/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Condition; use Drupal\Component\Plugin\Exception\ContextException; diff --git a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php index a33c05187e56..32bb2b0fde03 100644 --- a/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php index bd1af594a2bc..92a6342c262f 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigDependencyManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\Entity\ConfigDependencyManager; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php index f81352f712db..d4ba1b1a0636 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryOverrideBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ConfigCollectionInfo; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php index ce57d2cbe4d1..ae0944489eba 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php index c75964465c13..1bdc3cbd28af 100644 --- a/core/tests/Drupal/Tests/Core/Config/ConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php index 9f058d56f361..1bf92c0ec495 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigDependencyManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php index 2a50bd6882f1..c1dac0ec459d 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php index f689db48ab26..d41ac6d92c3a 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityDependencyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php index 65c70288f965..77ab459be41b 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Component\Uuid\UuidInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php index 4edb98e27ed6..09b47a11c3dc 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Core\Config\TypedConfigManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php index ca315415fc3b..13163a10828e 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php index c3a9c10b836a..bc44483ed202 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php index 6dc9d9817e69..4013130c37dd 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Fixtures/ConfigEntityBaseWithPluginCollections.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity\Fixtures; use Drupal\Core\Config\Entity\ConfigEntityBase; diff --git a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php index e54d3c6959e4..9bab605732fc 100644 --- a/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config\Entity\Query; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php b/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php index 86c217bd1ecd..4444073b0873 100644 --- a/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ExtensionInstallStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php index 25a75d3428df..29375c3e5254 100644 --- a/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\ImmutableConfig; diff --git a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php index 9cb15a81f5ba..1a8f92287879 100644 --- a/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/NullStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\NullStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php b/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php index 59a170488db4..69855da4c9c3 100644 --- a/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\MemoryStorage; diff --git a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php index 64fce17b2e0e..51131d7284b5 100644 --- a/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php +++ b/core/tests/Drupal/Tests/Core/Config/StorageComparerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Component\Uuid\Php; diff --git a/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php b/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php index d3710b278df4..9b13f9328a53 100644 --- a/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Config; use Drupal\Core\Config\MemoryStorage; diff --git a/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php b/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php index e9d9c00e0c1e..a1d4e38e27fd 100644 --- a/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Render\MainContent\AjaxRenderer; diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php index 5044789637c5..0ddb46e121a1 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php index 2c0b853e51ab..3bb192f08ef9 100644 --- a/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Controller\ControllerResolver; diff --git a/core/tests/Drupal/Tests/Core/Controller/TestController.php b/core/tests/Drupal/Tests/Core/Controller/TestController.php index 976071077e60..3628df300ccd 100644 --- a/core/tests/Drupal/Tests/Core/Controller/TestController.php +++ b/core/tests/Drupal/Tests/Core/Controller/TestController.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Symfony\Component\HttpFoundation\Response; diff --git a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php index 2716e4e45ea3..73e3fe338b99 100644 --- a/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Controller/TitleResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Controller; use Drupal\Core\Controller\TitleResolver; diff --git a/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php b/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php index 6ac8367a995d..dc8af98f93a2 100644 --- a/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php +++ b/core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Cron; use Drupal\Component\Datetime\TimeInterface; diff --git a/core/tests/Drupal/Tests/Core/CronTest.php b/core/tests/Drupal/Tests/Core/CronTest.php index bc968777a539..09d3d5325b80 100644 --- a/core/tests/Drupal/Tests/Core/CronTest.php +++ b/core/tests/Drupal/Tests/Core/CronTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php index e51d5791e1a2..4e6908694bc1 100644 --- a/core/tests/Drupal/Tests/Core/Database/ConditionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/ConditionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php index b23d88b99c26..3cb735405bd8 100644 --- a/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php b/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php index 8205f338e6ac..433a72c49cab 100644 --- a/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php b/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php index 11ac1ae14423..38f518fc9f2c 100644 --- a/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php b/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php index 7926234ac029..0e7f3e707815 100644 --- a/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php +++ b/core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php b/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php index dbdc0ae338c4..460fe1129372 100644 --- a/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php +++ b/core/tests/Drupal/Tests/Core/Database/InstallerObjectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Database/LogTest.php b/core/tests/Drupal/Tests/Core/Database/LogTest.php index 7d5e5fec71a6..5d592cd48b81 100644 --- a/core/tests/Drupal/Tests/Core/Database/LogTest.php +++ b/core/tests/Drupal/Tests/Core/Database/LogTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Database; @@ -37,7 +39,7 @@ public function testContribDriverLog() { $result = (new StubConnection($pdo, []))->testLogCaller(); $this->assertSame([ 'file' => __FILE__, - 'line' => 37, + 'line' => 39, 'function' => 'testContribDriverLog', 'class' => 'Drupal\Tests\Core\Database\LogTest', 'type' => '->', @@ -51,7 +53,7 @@ public function testContribDriverLog() { $result = (new Log())->findCaller(); $this->assertSame([ 'file' => __FILE__, - 'line' => 51, + 'line' => 53, 'function' => 'testContribDriverLog', 'class' => 'Drupal\Tests\Core\Database\LogTest', 'type' => '->', diff --git a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php index e2ee06a24cf0..f6b21a04c24c 100644 --- a/core/tests/Drupal/Tests/Core/Database/OrderByTest.php +++ b/core/tests/Drupal/Tests/Core/Database/OrderByTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Query\Select; diff --git a/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php b/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php index 6d74d44908a7..9610b5249892 100644 --- a/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\RowCountException; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php b/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php index 41c7c6e4df49..b78383d6a120 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/Driver/Schema.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub\Driver; /** diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/Select.php b/core/tests/Drupal/Tests/Core/Database/Stub/Select.php index a8dcd399d33d..c004d7f0a726 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/Select.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/Select.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Select as QuerySelect; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php index 3b7b79a69973..abe543fd1e75 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Condition; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php index 2ce07e0646b8..fbc02bdb8809 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Connection; diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php index 74737b073bf9..eb4010fe3164 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubPDO.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; /** diff --git a/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php b/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php index 34b28e939815..2626c11c3741 100644 --- a/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php +++ b/core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database\Stub; use Drupal\Core\Database\Query\Upsert; diff --git a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php index 9a93304e7841..6f87304b590b 100644 --- a/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php +++ b/core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Database; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php b/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php index 43eeee5fa4b6..4d3476665614 100644 --- a/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php +++ b/core/tests/Drupal/Tests/Core/Database/fixtures/core/modules/driver_missing_dependency_test/src/Driver/Database/MissingDependency/Install/Tasks.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\driver_missing_dependency_test\Driver\Database\MissingDependency\Install; use Drupal\Core\Database\Install\Tasks as CoreTasks; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php index 9c1bd69b05bd..e9295ad379bd 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\DateHelper; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php index b73fb66ccf8e..c9010bdcd7c7 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php index e7debc17d6f2..fc0213793f13 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\DrupalDateTime; diff --git a/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php b/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php index 72a0f74ae203..92ce77bc5d6e 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Datetime; use Drupal\Core\Datetime\TimeZoneFormHelper; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php index 658d6e2eaa21..7e106cefcc65 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\AuthenticationProviderPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php index bd99c0dd1a29..51064a317b86 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/BackendCompilerPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\BackendCompilerPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php index b6a94b8c063e..5ff1c829b0bd 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php index bec9f692334e..27ee74a64500 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\StackedKernelPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php index 364158004816..ed07b2fb7cee 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Compiler; use Drupal\Core\DependencyInjection\Compiler\TaggedHandlersPass; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php index 3fd75cadfc41..32f4c3cfaf80 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php index 2d7bd078b16c..426d392bf304 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/ContainerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Core\DependencyInjection\Container; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php index bfba22cddc08..d37088fba0da 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Component\DependencyInjection\ReverseContainer; diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php index 4fc0a6487f4a..1399ac131372 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BarClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Fixture; /** diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php index 1ffe9ac5b471..b4f836401952 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/Fixture/BazClass.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection\Fixture; /** diff --git a/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php b/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php index 6462a473f00b..7f55c404fb23 100644 --- a/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php +++ b/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DependencyInjection; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php index 34a76528b5dd..b5094f067596 100644 --- a/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Discovery; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php b/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php index b4fa731ae399..71a39d0cfb90 100644 --- a/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php +++ b/core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Display; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php index 5a6e6c924ba5..2763f40b530e 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DiscoverServiceProvidersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php index cb04af7ff544..a6b05c73c461 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Drupal\Core\DrupalKernel; diff --git a/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php b/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php index 2010f49ba4d1..d48adaaf1039 100644 --- a/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalKernel/ValidateHostnameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\DrupalKernel; use Drupal\Core\DrupalKernel; diff --git a/core/tests/Drupal/Tests/Core/DrupalTest.php b/core/tests/Drupal/Tests/Core/DrupalTest.php index 38c59dfa0824..49c6226f6aee 100644 --- a/core/tests/Drupal/Tests/Core/DrupalTest.php +++ b/core/tests/Drupal/Tests/Core/DrupalTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\DependencyInjection\ClassResolverInterface; diff --git a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php index 029f9f12ca90..d5a691dd951b 100644 --- a/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Enhancer/EntityRevisionRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Enhancer; use Drupal\Core\Entity\EntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php b/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php index ec9224eb3f4a..261a93590a61 100644 --- a/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Enhancer; use Drupal\Core\Routing\Enhancer\ParamConversionEnhancer; diff --git a/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php index 23ec2b8607f8..df0e46e0d9db 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Access; use Drupal\Component\Plugin\PluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php b/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php index becbb3c26239..c0c695451af9 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Access/EntityViewDisplayAccessControlHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Access; use Drupal\Core\Entity\Entity\Access\EntityViewDisplayAccessControlHandler; diff --git a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php index 5b104a3aa2ec..7583848a1ecf 100644 --- a/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php index 38908b9aa605..6d7951bc9743 100644 --- a/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php index c3c2cbc0021a..5df0b8c7a6e5 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Enhancer; use Drupal\Core\Entity\Enhancer\EntityRouteEnhancer; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php index ad5d0984de20..c5028fc654cb 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php index 3de507802fa6..6aeda12d3d5c 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityConstraintViolationList; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php index d9069f9382b8..7e93fa4f70c4 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php index d7e87ff4d787..cf2293b8d3ff 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php index 56ae73b6fbf5..aecf223435e3 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityFormBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php index b4cd603777af..3712b7fac625 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityForm; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php index 978ab70e3a36..1398c4503d8d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Config\Entity\ConfigEntityBase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php index d2a2b46716de..4ab0e17c0bae 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php index 80328ea93b35..7048f2fbac76 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\ContentEntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php index 5ef74c2e1500..cdb68553e454 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityResolverManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Entity\EntityBase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php index d5bf5f40af7b..bc6621b719e1 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityStorageBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php index 344af4a889b9..a18491f9a4ef 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php index 246b925d7577..ba0031958a3b 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php index 3488d3ea5aa0..e86fb2e484da 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php index 01a9fc1394b6..2a2c510d1418 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Config\Entity\ConfigEntityInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php index e23eabea6c41..c564a3e17f1e 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php b/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php index cd9dc82ce775..2fc1f84b3f45 100644 --- a/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php index 44e7f522fa54..fd72a312cb31 100644 --- a/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php index ea94a0c07ce1..208f3cddd351 100644 --- a/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\KeyValueStore; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php b/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php index b733e8169565..5da95031017f 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Query\Sql; use Drupal\Core\Entity\EntityType; diff --git a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php index 6b9ed71b79f3..e8e207dadde6 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Routing/DefaultHtmlRouteProviderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Routing; use Drupal\Core\Config\Entity\ConfigEntityTypeInterface; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php index d403e8dabc61..cd97ea8b379d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Entity\Sql\DefaultTableMapping; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php index ac6941caa380..52882bf1599d 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Entity\ContentEntityType; diff --git a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php index d9aab845abb2..f414fa399399 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\Sql; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php index f960b296b382..3b4de81d80b1 100644 --- a/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Entity\TypedData; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php index b201625730fe..d07c425ea545 100644 --- a/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php +++ b/core/tests/Drupal/Tests/Core/Error/DrupalLogErrorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Error; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php index fecf8786d432..5657fa656ab8 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php index ea35df8665bd..50cbfb2e147f 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php index c8a33bce0a72..921d37019044 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ExceptionJsonSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Cache\CacheableJsonResponse; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php index 9e971cb4f041..5ed6330240d0 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\FinalExceptionSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php index f83951cc85a3..4a5033e939a4 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php index fe9b7203340f..3b65d4039714 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/ModuleRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\Routing\RouteBuildEvent; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php index bcc51bb8abad..c186267eece7 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/OptionsRequestSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\OptionsRequestSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php index a330aaa17fa2..705de8068140 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/PathRootsSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\PathRootsSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php index a67c61918b61..e8fbd62b3f80 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/PsrResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php index 7b76476ceed8..42921760ed73 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\RedirectResponseSubscriber; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php index fe0dd1d170f5..e126fdc54350 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\RssResponseRelativeUrlFilter; diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php index 440b1e48c90b..179e09950408 100644 --- a/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\EventSubscriber; use Drupal\Core\EventSubscriber\SpecialAttributesRouteSubscriber; diff --git a/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php b/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php index 99509d47a664..7f7c281a096b 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php b/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php index 29677b2c6ec9..44a01e2f6c7b 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DefaultConfigTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php b/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php index 865997272a5e..a57cd28156c3 100644 --- a/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/DependencyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Version\Constraint; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php index 64df82b79e06..45c286c53253 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\FileCache\FileCacheFactory; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php index a1ebab060ce1..fb96f146b409 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Serialization\Yaml; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php index 02c7ec19a1e9..8016d36ed1c4 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php b/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php index 1d5f08c1faa4..06aa51e53fdf 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ExtensionVersion; diff --git a/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php b/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php index a879b691f9c1..63696bb5d93c 100644 --- a/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/GenericTestExistsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php index 67583e509a99..bf70c5522d47 100644 --- a/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ExtensionLifecycle; diff --git a/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php b/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php index e37238aad355..22c4f3f2960d 100644 --- a/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/LegacyExtensionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\Extension; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php index c989ea870db3..4f093a736c3e 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Cache\CacheBackendInterface; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php index c941a15ee86e..af1c33a56d77 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Component\Serialization\Yaml; diff --git a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php index d3b5e03ea01d..d1900369c26c 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Extension\ModuleExtensionList; diff --git a/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php b/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php index 9bd41d040dff..2e00d9e74812 100644 --- a/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php index 51057ea77c33..19a9d2aabb51 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php index 2e0012c7a9e0..935a28142174 100644 --- a/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Extension; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php b/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php index 3398baf9f866..cda4a7d24b58 100644 --- a/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php +++ b/core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php b/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php index bff677cec036..614969324281 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldDefinitionListenerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php b/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php index bae9edf30d73..645c67f5fbc6 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldFilteredMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php b/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php index 855622f24d72..1fa81d6bfb60 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldInputValueNormalizerTrait; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php index a49f269aa504..e50b29b344fd 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php b/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php index b0253acc06e5..5e8aef87c08d 100644 --- a/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php b/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php index 391eb2f658f3..355d4c22bb1f 100644 --- a/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php +++ b/core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\InternalViolation; diff --git a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php index 25327ce3cdd7..b743c692b0fd 100644 --- a/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\PluginSettingsBase; diff --git a/core/tests/Drupal/Tests/Core/Field/StringItemTest.php b/core/tests/Drupal/Tests/Core/Field/StringItemTest.php index b339f0a8fb84..b3b6cc0aac38 100644 --- a/core/tests/Drupal/Tests/Core/Field/StringItemTest.php +++ b/core/tests/Drupal/Tests/Core/Field/StringItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php b/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php index 953c90209f99..e60a5856821f 100644 --- a/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php +++ b/core/tests/Drupal/Tests/Core/Field/TestBaseFieldDefinitionInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Field/UriItemTest.php b/core/tests/Drupal/Tests/Core/Field/UriItemTest.php index 4c1406b55554..92d88b7ea985 100644 --- a/core/tests/Drupal/Tests/Core/Field/UriItemTest.php +++ b/core/tests/Drupal/Tests/Core/Field/UriItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Field; use Drupal\Core\Field\FieldDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php index 7e1b691f70ae..f8a3a402a22e 100644 --- a/core/tests/Drupal/Tests/Core/File/FileSystemTest.php +++ b/core/tests/Drupal/Tests/Core/File/FileSystemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\File; use Drupal\Core\File\Exception\FileException; diff --git a/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php b/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php index 64fbd778236a..c1cf737df9e2 100644 --- a/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php +++ b/core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\File; use Drupal\Core\File\Event\FileUploadSanitizeNameEvent; diff --git a/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php b/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php index 369e79e91493..74d9fe20ddf2 100644 --- a/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php +++ b/core/tests/Drupal/Tests/Core/Flood/MemoryBackendTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Flood; use Drupal\Core\Flood\MemoryBackend; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php index e2c5554216b3..89c277ded385 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\ConfigFormBaseTrait; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php b/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php index 5b153c0fd1dc..09e272230efc 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Config\Config; diff --git a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php index f50abc125391..cec16f9e06b4 100644 --- a/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\ConfirmFormHelper; diff --git a/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php b/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php index 6f3f4e44f628..32b928b18961 100644 --- a/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php +++ b/core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form\EventSubscriber; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php index 3d4ff0414377..67ea24184478 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormAjaxResponseBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Ajax\AjaxResponse; diff --git a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php index a89ee1179a4b..fe5f2c4d4570 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php index 765fcfe2814e..5b7f323fe05b 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormCache; diff --git a/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php b/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php index 9a6a5bffff8e..03f09b904116 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormElementHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormElementHelper; diff --git a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php index 237050d1b735..163df6a1fa79 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormErrorHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php b/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php index 3fa9ab1b04ee..c29ebef96e8e 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Serialization\Json; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php index 114340c47217..b81d1ea6b4b0 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormInterface; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php index 8f48f16fcc12..f8fb239b12e3 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormInterface; diff --git a/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php b/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php index f5b2147b64ad..389955669382 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormStateValuesTrait; diff --git a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php index a7d8157ff802..e5fa53b2d34b 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php index a7d3c8122001..9de2c5e1ac99 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormTestBase.php +++ b/core/tests/Drupal/Tests/Core/Form/FormTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php index 4190834d19c1..db334a0feef6 100644 --- a/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php b/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php index b38f336709a6..dcd20b47b36a 100644 --- a/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php +++ b/core/tests/Drupal/Tests/Core/Form/OptGroupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php index 01d57e46a3ea..1f6d3df502f6 100644 --- a/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php +++ b/core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Form; use Drupal\Component\Utility\NestedArray; diff --git a/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php b/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php index 59290c3149d8..7dbd3f9fb405 100644 --- a/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php +++ b/core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php index 4dfcaf7441eb..94a35cecbaad 100644 --- a/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Http/ClientFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\ClientFactory; diff --git a/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php b/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php index 0d739989f193..a4b9d1c324c6 100644 --- a/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php +++ b/core/tests/Drupal/Tests/Core/Http/RequestStackLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\RequestStack; diff --git a/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php b/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php index 8adb03cbca0e..b9895ee4e8fb 100644 --- a/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Http/TrustedHostsRequestFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Http; use Drupal\Core\Http\TrustedHostsRequestFactory; diff --git a/core/tests/Drupal/Tests/Core/Image/ImageTest.php b/core/tests/Drupal/Tests/Core/Image/ImageTest.php index df0aa4cbecd8..80cb15d75162 100644 --- a/core/tests/Drupal/Tests/Core/Image/ImageTest.php +++ b/core/tests/Drupal/Tests/Core/Image/ImageTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Image; use Drupal\Core\File\FileSystemInterface; diff --git a/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php b/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php index f7e146f47804..67e16ab64ec7 100644 --- a/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Language; use Drupal\Core\Language\Language; diff --git a/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php b/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php index 30b147100576..142b31a3d76c 100644 --- a/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Layout/LayoutDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Layout; use Drupal\Core\Layout\LayoutDefault; diff --git a/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php index 58e03dc70698..7ce72081d8e3 100644 --- a/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Layout; use Drupal\Component\Plugin\Derivative\DeriverBase; diff --git a/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php b/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php index d323a2b433b5..6c54105dc267 100644 --- a/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php +++ b/core/tests/Drupal/Tests/Core/Listeners/DrupalStandardsListenerDeprecationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Listeners; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php index 25d0d204c176..0fcefcd0a8b1 100644 --- a/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php +++ b/core/tests/Drupal/Tests/Core/Lock/LockBackendAbstractTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Lock; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php index 088a26e01eb6..a9a71766c180 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LogMessageParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LogMessageParser; diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php index 50f2e3c55986..fe9884151d60 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LoggerChannelFactory; diff --git a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php index fa82a208b96a..b0896b3fc4ff 100644 --- a/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php +++ b/core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Logger; use Drupal\Core\Logger\LoggerChannel; diff --git a/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php b/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php index 84a3981e0a8e..52b4bbd0f6e8 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail; use Drupal\Core\Mail\MailFormatHelper; diff --git a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php index b90ae632d642..c4640b90ae54 100644 --- a/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php index a139d8a0ac95..35d783e7725c 100644 --- a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail\Plugin\Mail; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php index 99ec411a754f..40fa0911daab 100644 --- a/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php +++ b/core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/SymfonyMailerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Mail\Plugin\Mail; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php index 49a764680bcf..ccba55d707e3 100644 --- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\ContextualLinkDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php index 55087bb87b40..94735d890faa 100644 --- a/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Component\Plugin\Exception\PluginException; diff --git a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php index 05bf62108219..ff585943c483 100644 --- a/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php b/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php index 0fd857184747..45034adaba09 100644 --- a/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php +++ b/core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Session\AccountInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php index de7f2c5c1374..09bf2b601e1a 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\LocalActionDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php index 90477abd323e..b2ab4446e9b3 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Component\Plugin\Discovery\DiscoveryInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php index 905107086d2c..7d966e36aaa2 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\LocalTaskDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php index 7639ee7ddb36..afe1db28365e 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Plugin\Discovery\ContainerDerivativeDiscoveryDecorator; diff --git a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php index dfb55098a369..7c554e0a22e8 100644 --- a/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php index 7966ba20314d..54c2d22eb6b8 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuActiveTrail; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php index 0bb828b2ff1e..60176e4d1ff3 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultFormTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Extension\ModuleHandlerInterface; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php index 11c0292c2e6e..2e300cfffad8 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkDefaultTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuLinkDefault; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php index 52bb6bb9e9f7..82b38aa8f9a7 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php index 9eaa8c68cedb..720b0da0381c 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuLinkTreeElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuLinkTreeElement; diff --git a/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php b/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php index 864ab5f4c238..8b87382fb920 100644 --- a/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\MenuTreeParameters; diff --git a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php index a440d539d367..8dabf4ccae16 100644 --- a/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php +++ b/core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Menu; use Drupal\Core\Menu\StaticMenuLinkOverrides; diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php index 69dfb6625fc4..cf612b8f3777 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/ChainRequestPolicyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php index 571958865b4e..5daf21b7743d 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/ChainResponsePolicyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\ResponsePolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php index 2ae2e965e0a5..fab3ccd2996a 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/CommandLineOrUnsafeMethodTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicyInterface; diff --git a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php index f863cd27621f..026705cc9863 100644 --- a/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php +++ b/core/tests/Drupal/Tests/Core/PageCache/NoSessionOpenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PageCache; use Drupal\Core\PageCache\RequestPolicy\NoSessionOpen; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php index 827b8d79b39b..b595fdb74a38 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php index a74b87cf633c..2592562b9e2b 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php index b3858a136a5b..017c50179c9a 100644 --- a/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php +++ b/core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ParamConverter; use Drupal\Core\ParamConverter\ParamConverterManager; diff --git a/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php b/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php index 2bbf38d1a191..aa8db53413ef 100644 --- a/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Password/DefaultPasswordGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\DefaultPasswordGenerator; diff --git a/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php b/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php index 32066b8f9f16..997ad0a0f9b7 100644 --- a/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php +++ b/core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\PhpassHashedPassword; diff --git a/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php b/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php index f781fd7d6e94..646df5091637 100644 --- a/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php +++ b/core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Password; use Drupal\Core\Password\PhpPassword; diff --git a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php index 02c3ef15a8c7..d733204fa14d 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Path; use Drupal\Core\Path\PathMatcher; diff --git a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php index 1d25ee6f37a2..62e295861d03 100644 --- a/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Path/PathValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Path; use Drupal\Core\ParamConverter\ParamNotConvertedException; diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php index df82584fa4ff..782fe3b55c92 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorFrontTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PathProcessor; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php index 08186df8fe74..a7018c32b520 100644 --- a/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\PathProcessor; use Drupal\Core\Language\Language; diff --git a/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php index 98c2f4098131..967ac68bb098 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/CategorizingPluginManagerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\CategorizingPluginManagerInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php index af5f1a1cc0a8..66266bd616ca 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php index 7d68889da6ff..6a54511a545a 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Component\Plugin\Context\ContextDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php index a1c49a6b54f4..4e2d49a28829 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\CacheableDependencyInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php index 0a8a50a67c30..58cc1e1102ab 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php index a1b9c8012b12..82240491a19f 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Context; use Drupal\Core\Plugin\Context\Context; diff --git a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php index 554882383177..c3a655eb3837 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php index 8b3ba096ed75..5f78e8ac8930 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php index 49369cc58b28..196598b40f1a 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinition; diff --git a/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php b/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php index d73bb5d5a284..fac04e78ddd8 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php index c47eba77faec..b1bebdd43ade 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\Plugin\Discovery\ContainerDerivativeDiscoveryDecorator; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php index e3b45e77d06e..d7a2c5b8256d 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Definition\DerivablePluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php index 5e3957a7f73d..f5020d85706c 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/HookDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Exception\PluginNotFoundException; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php index 9c3c3c348c4b..149589d3fb13 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestContainerDerivativeDiscovery.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php index 63f50d64c796..5731c0526959 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Derivative\DeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php index f05142de62de..5142ad81adb1 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscoveryWithObject.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Plugin\Derivative\DeriverInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php index 3aec91645105..8f5d9dad20a5 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Component\Discovery\YamlDirectoryDiscovery as ComponentYamlDirectoryDiscovery; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php index 5717f75ca115..634979c8d51d 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryDecoratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php index fa12c88f2e1d..fe41eb82a230 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Discovery; use Drupal\Core\StringTranslation\TranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php index 9642949de250..e0a5f141ffba 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/FilteredPluginManagerTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\PluginManagerBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php index f1b9839de7dc..39d8fc5cf204 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/InheritedContextDefinition.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures; use Drupal\Core\Plugin\Context\ContextDefinition; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php index f647238accca..01529603ddc3 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataType.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType; use Drupal\Core\TypedData\TypedData; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php index b7328270b2d2..d94b695592b5 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/Plugin/DataType/TestDataTypeDeriver.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures\Plugin\DataType; use Drupal\Component\Plugin\Derivative\DeriverBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php index e31fba7b59df..5ba42ba21604 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php +++ b/core/tests/Drupal/Tests/Core/Plugin/Fixtures/TestConfigurablePlugin.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin\Fixtures; use Drupal\Component\Plugin\ConfigurableInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php index 0b1468c459e1..d14cff7867f8 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php +++ b/core/tests/Drupal/Tests/Core/Plugin/LazyPluginCollectionTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Core\Plugin\DefaultLazyPluginCollection; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php index b5998c1f4d63..0befb6181f42 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginDependencyTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Definition\PluginDefinitionInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php index d5210d2e0963..f9a6ace94088 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\DependencyInjection\ContainerInterface; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php index 0d6ad57500b5..cc1da0d5809b 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException; diff --git a/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php b/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php index 2a78baca9fb3..4c1b10ebf610 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Plugin/PluginWithFormsTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\PluginBase; diff --git a/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php b/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php index d1ba489d23a4..4f001bfda58d 100644 --- a/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php +++ b/core/tests/Drupal/Tests/Core/Plugin/TestPluginManager.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Plugin; use Drupal\Component\Plugin\Discovery\StaticDiscovery; diff --git a/core/tests/Drupal/Tests/Core/PrivateKeyTest.php b/core/tests/Drupal/Tests/Core/PrivateKeyTest.php index 932bf0a2f74c..7a0c86f02e40 100644 --- a/core/tests/Drupal/Tests/Core/PrivateKeyTest.php +++ b/core/tests/Drupal/Tests/Core/PrivateKeyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\PrivateKey; diff --git a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php index 1804182b799c..969c70a345de 100644 --- a/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\ProxyBuilder; use Drupal\Core\ProxyBuilder\ProxyBuilder; diff --git a/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php b/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php index b95bf82a0a28..8f71e30fbdf7 100644 --- a/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php +++ b/core/tests/Drupal/Tests/Core/Queue/QueueExceptionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Queue; use Drupal\Core\Queue\DelayedRequeueException; diff --git a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php index 18d250c2d540..c0502152bea5 100644 --- a/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php +++ b/core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php b/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php index 78da7e4fd724..e0f5bceb13f9 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Render\Markup; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php index 4ff41361ce66..c6ccbc3f3aa2 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php b/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php index 75035c99ceb2..655f8da70ea4 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/PasswordConfirmTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php b/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php index a908cc784b6a..35dcea028dba 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php b/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php index be8f53c2afa7..6ee1d37f1664 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php index f095ae57368e..95d7bcb952c7 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TableSelectTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormState; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php index 19b894c198fd..3218c61d6d99 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TextareaTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php index e15c85786872..640bff423eda 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TextfieldTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php b/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php index e5bbf6375e3a..1efeb73a88f2 100644 --- a/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Element/TokenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Element; use Drupal\Core\Form\FormStateInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php index 32eb55f315f9..d9a970c7c94b 100644 --- a/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php +++ b/core/tests/Drupal/Tests/Core/Render/ElementInfoManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Extension\ThemeHandlerInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/ElementTest.php b/core/tests/Drupal/Tests/Core/Render/ElementTest.php index da5f5694dcf2..39e0aae6aeca 100644 --- a/core/tests/Drupal/Tests/Core/Render/ElementTest.php +++ b/core/tests/Drupal/Tests/Core/Render/ElementTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php b/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php index 7bbdce9c43a1..2b1e75f32fdc 100644 --- a/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Render/MetadataBubblingUrlGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Render\MetadataBubblingUrlGenerator; diff --git a/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php b/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php index bbffcd04fd9c..3d9282d60e69 100644 --- a/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php +++ b/core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render\Placeholder; use Drupal\Core\Render\Placeholder\ChainedPlaceholderStrategy; diff --git a/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php b/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php index 35ab27829b2b..c248c9f78faf 100644 --- a/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php index eec25807ded5..b1ef2e2f7f04 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php b/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php index ca63dee68e1b..941455add108 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Security\UntrustedCallbackException; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php index 428f33c38878..1933101ea4d0 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php index d9716c39ed29..d6efc9b3888f 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; /** diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTest.php b/core/tests/Drupal/Tests/Core/Render/RendererTest.php index de08a3d32228..e0e4ebd43882 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php index e871f5db0c1c..b5be54f89e32 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php index 298a2bf04c51..a73a83aef6df 100644 --- a/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php +++ b/core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Render; use Drupal\Core\Cache\CacheableDependencyInterface; diff --git a/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php b/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php index 96a01b431ca9..cd30ec3e1640 100644 --- a/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php +++ b/core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Route; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php index 0af99d38d08e..7541dbd687e0 100644 --- a/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php +++ b/core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\RouteProcessor; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php index 8b5e9c0d4c2e..d05e0fe67446 100644 --- a/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\accept_header_routing_test\Routing\AcceptHeaderMatcher; diff --git a/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php b/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php index 712197d8ee80..95e0bb96a8f4 100644 --- a/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Access\AccessResult; diff --git a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php index e07cefc85125..da8facef8dda 100644 --- a/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\ContentTypeHeaderMatcher; diff --git a/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php b/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php index 6af85f360210..3eeb8c36e069 100644 --- a/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\CurrentRouteMatch; diff --git a/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php b/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php index 2c1283e4c11b..54df9e2b819a 100644 --- a/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php b/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php index 563d6065a4de..31ac253a4dfc 100644 --- a/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\MethodFilter; diff --git a/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php b/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php index 8cdcbfb5d19c..ce07c2fc9311 100644 --- a/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\PathChangedHelper; diff --git a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php index 0a401af99c26..a41e39ef61f7 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php b/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php index 22296418aaee..e6ba2b480a79 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php index a9e33597dfdf..604b4a3c823a 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php index 2e73bdaeb8bb..304c1c61cc0d 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteCompiler; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php index e7105d57fb54..c86fa3f11050 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteMatch; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php index e37fc698cf8e..3cb1866f85bb 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RouteMatchInterface; diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php b/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php index 99de4c10ad5d..772a95679d02 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\RoutePreloader; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouterTest.php b/core/tests/Drupal/Tests/Core/Routing/RouterTest.php index a9f150aa2a79..cdee3b81c353 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouterTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php b/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php index 222dbb8a1cbb..a0368ea80d02 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Path\CurrentPathStack; diff --git a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php index f6fa1ebc40f2..d79506f7bad6 100644 --- a/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php +++ b/core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Symfony\Component\Routing\Route; diff --git a/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php b/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php index 5caf5e0d4cee..c74f28d733bb 100644 --- a/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php +++ b/core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Symfony\Component\Routing\Matcher\RequestMatcherInterface; diff --git a/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php b/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php index 17a5d5270078..53f977d427cf 100644 --- a/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php index 228a06051f25..5d3dc75ad19f 100644 --- a/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Routing; use Drupal\Core\Cache\Cache; diff --git a/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php b/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php index cab6e8d68d93..f16ad55421a0 100644 --- a/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Security; use Drupal\Core\Security\Attribute\TrustedCallback; diff --git a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php index 7cfc554cd3ec..1892b38e7220 100644 --- a/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php +++ b/core/tests/Drupal/Tests/Core/Security/RequestSanitizerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Security; use Drupal\Core\Security\RequestSanitizer; diff --git a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php index 77cd534c94d7..70f488e2528e 100644 --- a/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php +++ b/core/tests/Drupal/Tests/Core/Serialization/YamlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Serialization; use Drupal\Component\Serialization\SerializationInterface; diff --git a/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php b/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php index 1cb52b30cf2f..1eb14c8dabdf 100644 --- a/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\CacheableMetadata; diff --git a/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php b/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php index c3b23868ef50..770a732fcebb 100644 --- a/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\AccountInterface; diff --git a/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php b/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php index 031de8244620..23631aa86ddf 100644 --- a/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php +++ b/core/tests/Drupal/Tests/Core/Session/AnonymousUserSessionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php index a3d3cc1945fa..85cd51e2de58 100644 --- a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php +++ b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\CalculatedPermissionsItem; diff --git a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php index ccb740b0b28f..d24d3bfc539d 100644 --- a/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php +++ b/core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\CalculatedPermissions; diff --git a/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php b/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php index 12534749ad17..379b434379da 100644 --- a/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php +++ b/core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Session\MetadataBag; diff --git a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php index 182128863e44..79c191f59252 100644 --- a/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Component\Utility\Crypt; diff --git a/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php b/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php index 5bd68a249a41..454a86741836 100644 --- a/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php +++ b/core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\Context\CacheContextsManager; diff --git a/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php b/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php index 3c6508806ca0..1e2433a4a807 100644 --- a/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php +++ b/core/tests/Drupal/Tests/Core/Session/SessionConfigurationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php b/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php index 7d4da73a7352..bc8965dc5905 100644 --- a/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php +++ b/core/tests/Drupal/Tests/Core/Session/UserSessionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Core\Cache\MemoryCache\MemoryCache; diff --git a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php index bcbdf5851d79..e44988f5f0c5 100644 --- a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Session; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php index bcabd35f1713..928a7768607c 100644 --- a/core/tests/Drupal/Tests/Core/Site/SettingsTest.php +++ b/core/tests/Drupal/Tests/Core/Site/SettingsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Site; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php index 5882a20ecbb6..8e5cc374e0d0 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/NegotiationMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StackMiddleware; use Drupal\Core\StackMiddleware\NegotiationMiddleware; diff --git a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php index cbea48f0dd86..244d32d617d8 100644 --- a/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php +++ b/core/tests/Drupal/Tests/Core/StackMiddleware/ReverseProxyMiddlewareTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StackMiddleware; use Drupal\Core\Site\Settings; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php index a0eb2e40c030..64a54741ea92 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Utility\Bytes; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php index f4b25bf0ef6a..738c85f9f1d0 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php index 6f693318633f..69cea9cae735 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/StringTranslationTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\StringTranslation\PluralTranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php index 8f210609686d..a9a1b363d275 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Render\FormattableMarkup; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php index 8b2fd2d2907c..8e821c67ede8 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationManagerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php index 417d771247d4..cec3d9970002 100644 --- a/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php +++ b/core/tests/Drupal/Tests/Core/StringTranslation/TranslationWrapperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\StringTranslation; use Drupal\Core\StringTranslation\TranslatableMarkup; diff --git a/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php b/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php index c0959e11e93a..7825534f6704 100644 --- a/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php +++ b/core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TempStore; use Drupal\Core\TempStore\Lock; diff --git a/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php b/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php index c4a67a85d154..9b39ff791139 100644 --- a/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php +++ b/core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TempStore; use Drupal\Core\Session\AccountProxyInterface; diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php index 7f564331b661..c6b5ec39cd51 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php index 65e30b502a64..6953c5bf25d0 100644 --- a/core/tests/Drupal/Tests/Core/Template/AttributeTest.php +++ b/core/tests/Drupal/Tests/Core/Template/AttributeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php b/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php index 9325eaecafe2..861d1d4c0fec 100644 --- a/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php +++ b/core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template\Loader; use Drupal\Core\Template\Loader\ThemeRegistryLoader; diff --git a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php index 6acf1ceabb95..a86dc826df80 100644 --- a/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php +++ b/core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; // cspell:ignore mila diff --git a/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php b/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php index 318baa8635b6..bbd239406021 100644 --- a/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php +++ b/core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Template; use Drupal\Core\Template\Attribute; diff --git a/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php b/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php index 339f6577bc93..2b388facd23f 100644 --- a/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/AssertContentTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\KernelTests\AssertContentTrait; diff --git a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php index 4ab3ac21ab21..80f325231ebc 100644 --- a/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php index cfa287e672a4..94b4759e5b4f 100644 --- a/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php +++ b/core/tests/Drupal/Tests/Core/Test/JUnitConverterTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\JUnitConverter; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php index 919d588cc656..1620a8970c09 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php index edba3f56ba7e..92fa96d2a165 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php index 4b08f6b5b5c8..ccfd4a5d5fc9 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php index b8fc2823de4d..fe3d55182617 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php index d44f90047575..3ace88234c60 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php index 4678d233de91..a1e6534a05a3 100644 --- a/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php +++ b/core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\PhpUnitTestRunner; diff --git a/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php b/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php index 3d8d38876185..f4059252c11b 100644 --- a/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php +++ b/core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test\RunTests; use Drupal\Core\Test\RunTests\TestFileParser; diff --git a/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php b/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php index 1b7ea6f09ca8..8412a33c1d2e 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Test\TestDatabase; diff --git a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php index 9d9119f7b579..4c16fd7b11d8 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Composer\Autoload\ClassLoader; diff --git a/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php b/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php index b6ba4e389db9..e3affb3e7788 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Core\Database\Database; diff --git a/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php b/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php index 8a82e033c4c7..2589132ca2f8 100644 --- a/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php +++ b/core/tests/Drupal/Tests/Core/Test/TestSuiteBaseTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\TestSuites\TestSuiteBase; diff --git a/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php b/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php index d11d6cab9caf..d2dc38ba58f4 100644 --- a/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php +++ b/core/tests/Drupal/Tests/Core/Test/XdebugRequestTraitTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Test; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php b/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php index be5985da8a70..06dea22a55c7 100644 --- a/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\Access\CsrfTokenGenerator; diff --git a/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php b/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php index 51b51da3bbbe..dbd6ee688511 100644 --- a/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php +++ b/core/tests/Drupal/Tests/Core/Theme/CoreThemesAutoloadedForTests.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php index e532525e1d78..abec03963a76 100644 --- a/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/RegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\Extension\ModuleExtensionList; diff --git a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php index dd28938836ef..43c11bb584a1 100644 --- a/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php +++ b/core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Theme; use Drupal\Core\DependencyInjection\ClassResolver; diff --git a/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php b/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php index 8c7aa9252a02..a1f39fc1fc20 100644 --- a/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php +++ b/core/tests/Drupal/Tests/Core/Transliteration/PhpTransliterationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Transliteration; use Drupal\Component\Utility\Random; diff --git a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php index 30777f3e6c1c..46c8bd8b8eb2 100644 --- a/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\TypedData; use Drupal\Core\Cache\NullBackend; diff --git a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php index 066ad3a39b4e..6cd4baad895b 100644 --- a/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php +++ b/core/tests/Drupal/Tests/Core/UnroutedUrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Core\DependencyInjection\ContainerBuilder; diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php index a220a0ecb053..9dcd1ad1d33d 100644 --- a/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Update/UpdateHookRegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Update; use Drupal\Core\KeyValueStore\KeyValueFactoryInterface; diff --git a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php index f1ff0e0ed9bf..7a2f4b070042 100644 --- a/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php +++ b/core/tests/Drupal/Tests/Core/Update/UpdateRegistryTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Update; use Drupal\Core\KeyValueStore\KeyValueStoreInterface; diff --git a/core/tests/Drupal/Tests/Core/UrlTest.php b/core/tests/Drupal/Tests/Core/UrlTest.php index 054c6c0f13bb..db86a0e6bbf3 100644 --- a/core/tests/Drupal/Tests/Core/UrlTest.php +++ b/core/tests/Drupal/Tests/Core/UrlTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core; use Drupal\Component\Utility\UrlHelper; diff --git a/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php b/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php index d0836ec62623..50a823b27c01 100644 --- a/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\DependencyInjection\ClassResolver; diff --git a/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php b/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php index aac9812ed53c..476a2de79c6a 100644 --- a/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/ErrorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Tests\UnitTestCase; diff --git a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php index 189056d6f87f..33981539ddc9 100644 --- a/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Component\Render\MarkupInterface; diff --git a/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php b/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php index dd13b4f15766..af857527c2cc 100644 --- a/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/PhpRequirementsTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\Utility\PhpRequirements; diff --git a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php index c731a00e1226..7b5864b7b556 100644 --- a/core/tests/Drupal/Tests/Core/Utility/TokenTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/TokenTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Component\Utility\Html; diff --git a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php index 8acd7ea36411..9f354d61b58e 100644 --- a/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php +++ b/core/tests/Drupal/Tests/Core/Utility/UnroutedUrlAssemblerTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Utility; use Drupal\Core\GeneratedUrl; diff --git a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php index eefca1c96cd1..0bbf9c024e4c 100644 --- a/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php +++ b/core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Core\Validation\Plugin\Validation\Constraint; use Drupal\Core\TypedData\DataDefinition; diff --git a/core/tests/Drupal/Tests/PhpCs/SortTest.php b/core/tests/Drupal/Tests/PhpCs/SortTest.php index 768c9340a5dd..41ffab51b387 100644 --- a/core/tests/Drupal/Tests/PhpCs/SortTest.php +++ b/core/tests/Drupal/Tests/PhpCs/SortTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\PhpCs; use PHPUnit\Framework\TestCase; diff --git a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php index d15ef7946e83..3c91d151c036 100644 --- a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php +++ b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\Scripts; use Drupal\Component\FileSystem\FileSystem; diff --git a/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php b/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php index 00f375c03fee..bf6b368907fe 100644 --- a/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php +++ b/core/themes/olivero/tests/src/Unit/OliveroHexToHslTest.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + namespace Drupal\Tests\olivero\Unit; use Drupal\Tests\UnitTestCase; -- GitLab