From 1bf08a6c435af2acf1c2042f68b737172b2a3d16 Mon Sep 17 00:00:00 2001 From: nod_ <nod_@598310.no-reply.drupal.org> Date: Tue, 22 Oct 2024 15:52:10 +0200 Subject: [PATCH] Issue #3477613 by quietone: Add doc block for $modules in tests --- core/modules/block/tests/src/Kernel/BlockInterfaceTest.php | 3 +++ .../src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php | 3 +++ .../tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php | 3 +++ .../comment/tests/src/Functional/CommentFieldsTest.php | 4 +--- .../comment/tests/src/Functional/CommentLinksAlterTest.php | 3 +++ .../comment/tests/src/Functional/CommentNonNodeTest.php | 3 +++ .../src/Functional/ConfigTranslationDateFormatUiTest.php | 3 +++ .../Migrate/d6/MigrateSystemMaintenanceTranslationTest.php | 3 +++ .../Kernel/Migrate/d6/MigrateSystemSiteTranslationTest.php | 3 +++ .../Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php | 3 +++ .../Migrate/d7/MigrateSystemMaintenanceTranslationTest.php | 3 +++ .../src/Functional/ContentTranslationEntityBundleUITest.php | 3 +++ .../tests/src/Kernel/ContentTranslationSyncUnitTest.php | 3 +++ .../EntityReference/EntityReferenceAutoCreateTest.php | 3 +++ .../EntityReference/EntityReferenceFileUploadTest.php | 3 +++ .../Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php | 3 +++ core/modules/filter/tests/src/Kernel/FilterAPITest.php | 3 +++ .../filter/tests/src/Kernel/FilterDefaultConfigTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php | 3 +++ .../image/tests/src/Functional/ImageDimensionsTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php | 3 +++ .../src/Functional/AdminPathEntityConverterLanguageTest.php | 3 +++ .../src/Functional/LanguageBlockSettingsVisibilityTest.php | 3 +++ .../tests/src/Functional/LanguageBrowserDetectionTest.php | 3 +++ core/modules/language/tests/src/Kernel/LanguageTestBase.php | 3 +++ .../src/Functional/LocaleUpdateDevelopmentReleaseTest.php | 3 +++ .../tests/src/Kernel/LocaleDefaultConfigStorageTest.php | 3 +++ .../tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php | 3 +++ .../migrate/tests/src/Kernel/MigrateExecutableTest.php | 3 +++ core/modules/migrate/tests/src/Kernel/MigrateTestBase.php | 3 +++ .../src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php | 3 +++ .../src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php | 3 +++ .../src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php | 3 +++ core/modules/rest/tests/src/Kernel/RequestHandlerTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php | 3 +++ .../tests/src/Kernel/ShortcutClaroIntegrationTest.php | 3 +++ core/modules/syslog/tests/src/Kernel/SyslogTest.php | 3 +++ core/modules/system/tests/src/Functional/Common/UrlTest.php | 3 +++ .../tests/src/Functional/Condition/ConditionFormTest.php | 3 +++ .../tests/src/Functional/Entity/EntityTranslationFormTest.php | 3 +++ .../tests/src/Functional/ParamConverter/UpcastingTest.php | 3 +++ core/modules/system/tests/src/Kernel/Common/UrlTest.php | 3 +++ core/modules/system/tests/src/Kernel/DecoratedServiceTest.php | 3 +++ .../system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php | 3 +++ .../system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php | 3 +++ .../src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php | 3 +++ core/modules/system/tests/src/Kernel/System/InfoAlterTest.php | 3 +++ .../taxonomy/tests/src/Functional/TermLanguageTest.php | 3 +++ .../taxonomy/tests/src/Functional/VocabularyLanguageTest.php | 3 +++ .../tests/src/Kernel/Migrate/TaxonomyTermDeriverTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php | 3 +++ .../tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php | 3 +++ core/modules/text/tests/src/Kernel/TextSummaryTest.php | 3 +++ .../Migrate/d7/MigrateUserPictureEntityFormDisplayTest.php | 3 +++ .../Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php | 3 +++ .../src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php | 3 +++ core/modules/user/tests/src/Kernel/UserRoleEntityTest.php | 3 +++ core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php | 3 +++ .../views/tests/src/Kernel/Handler/AreaTextTokenTest.php | 3 +++ .../views/tests/src/Kernel/Handler/FieldKernelTest.php | 3 +++ core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php | 3 +++ .../views/tests/src/Kernel/Handler/FilterEqualityTest.php | 3 +++ .../views/tests/src/Kernel/Handler/FilterInOperatorTest.php | 3 +++ .../views/tests/src/Kernel/Handler/FilterNumericTest.php | 3 +++ .../views/tests/src/Kernel/Handler/FilterStringTest.php | 3 +++ .../views/tests/src/Kernel/Handler/HandlerAliasTest.php | 3 +++ .../views/tests/src/Kernel/Plugin/StyleMappingTest.php | 3 +++ core/modules/views/tests/src/Kernel/TokenReplaceTest.php | 3 +++ core/modules/views/tests/src/Kernel/ViewExecutableTest.php | 3 +++ .../FunctionalJavascriptTests/JavascriptDeprecationTest.php | 3 +++ .../Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php | 3 +++ .../Drupal/KernelTests/Core/Database/DatabaseTestBase.php | 3 +++ .../Core/DependencyInjection/ServicesDefaultsTest.php | 3 +++ .../KernelTests/Core/Entity/BundleConstraintValidatorTest.php | 3 +++ .../Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php | 3 +++ .../Core/Entity/EntityTypeConstraintValidatorTest.php | 3 +++ .../Core/Entity/FieldWidgetConstraintValidatorTest.php | 3 +++ .../Core/Extension/ModuleHandlerDeprecatedHookTest.php | 3 +++ .../Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php | 3 +++ .../Drupal/KernelTests/Core/Plugin/ContextPluginTest.php | 3 +++ core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php | 3 +++ core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php | 3 +++ 85 files changed, 253 insertions(+), 3 deletions(-) diff --git a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php index f74a05864f57..bf0174ed9f90 100644 --- a/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php +++ b/core/modules/block/tests/src/Kernel/BlockInterfaceTest.php @@ -17,6 +17,9 @@ */ class BlockInterfaceTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'block', 'block_test', 'user']; /** diff --git a/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php b/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php index bc48e30eea81..09bdc51540b5 100644 --- a/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php +++ b/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php @@ -17,6 +17,9 @@ */ class MigrateBlockContentBodyFieldTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['block', 'block_content', 'filter', 'text']; /** diff --git a/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php b/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php index 1b20314ec835..c9a677f28b95 100644 --- a/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php +++ b/core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentTypeTest.php @@ -15,6 +15,9 @@ */ class MigrateBlockContentTypeTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['block', 'block_content', 'filter', 'text']; /** diff --git a/core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php b/core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php index 7ba7ae83549b..cb2f5e5a2000 100644 --- a/core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php +++ b/core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockTest.php @@ -15,6 +15,9 @@ */ class MigrateCustomBlockTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'block_content', 'filter', diff --git a/core/modules/comment/tests/src/Functional/CommentFieldsTest.php b/core/modules/comment/tests/src/Functional/CommentFieldsTest.php index bce7eb07200f..b227e6cf22c8 100644 --- a/core/modules/comment/tests/src/Functional/CommentFieldsTest.php +++ b/core/modules/comment/tests/src/Functional/CommentFieldsTest.php @@ -17,9 +17,7 @@ class CommentFieldsTest extends CommentTestBase { /** - * Install the field UI. - * - * @var array + * {@inheritdoc} */ protected static $modules = ['field_ui']; diff --git a/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php b/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php index 20d1c06e9fbc..43837759b598 100644 --- a/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php +++ b/core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php @@ -11,6 +11,9 @@ */ class CommentLinksAlterTest extends CommentTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['comment_test']; /** diff --git a/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php b/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php index 67a498278f68..62048fd54c17 100644 --- a/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php +++ b/core/modules/comment/tests/src/Functional/CommentNonNodeTest.php @@ -27,6 +27,9 @@ class CommentNonNodeTest extends BrowserTestBase { use FieldUiTestTrait; use CommentTestTrait; + /** + * {@inheritdoc} + */ protected static $modules = [ 'comment', 'user', diff --git a/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php b/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php index 021fe1f17363..0c6a5ada3c97 100644 --- a/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php +++ b/core/modules/config_translation/tests/src/Functional/ConfigTranslationDateFormatUiTest.php @@ -14,6 +14,9 @@ */ class ConfigTranslationDateFormatUiTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'config_translation', diff --git a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php index 1c6c8a852b42..9bbd0fe41f7b 100644 --- a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php +++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemMaintenanceTranslationTest.php @@ -13,6 +13,9 @@ */ class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'config_translation', diff --git a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemSiteTranslationTest.php b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemSiteTranslationTest.php index 64e67ad63fcd..e80a6fe6eeba 100644 --- a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemSiteTranslationTest.php +++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateSystemSiteTranslationTest.php @@ -13,6 +13,9 @@ */ class MigrateSystemSiteTranslationTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'config_translation', diff --git a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php index c18edc10f1da..a565bd100fbf 100644 --- a/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php +++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTranslationTest.php @@ -16,6 +16,9 @@ class MigrateUserConfigsTranslationTest extends MigrateDrupal6TestBase { use SchemaCheckTestTrait; + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'locale', diff --git a/core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemMaintenanceTranslationTest.php b/core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemMaintenanceTranslationTest.php index d0fc20ddbaf5..3d23b377fe4e 100644 --- a/core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemMaintenanceTranslationTest.php +++ b/core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemMaintenanceTranslationTest.php @@ -13,6 +13,9 @@ */ class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'config_translation', diff --git a/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php b/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php index a1454538b870..9a36503dfe5b 100644 --- a/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php +++ b/core/modules/content_translation/tests/src/Functional/ContentTranslationEntityBundleUITest.php @@ -13,6 +13,9 @@ */ class ContentTranslationEntityBundleUITest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'content_translation', diff --git a/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php b/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php index 72d369824c31..1b64f6f13bd9 100644 --- a/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php +++ b/core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php @@ -56,6 +56,9 @@ class ContentTranslationSyncUnitTest extends KernelTestBase { */ protected $unchangedFieldValues; + /** + * {@inheritdoc} + */ protected static $modules = ['language', 'content_translation']; /** diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php index 5de1e0a9b8bc..784a484e5243 100644 --- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php +++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php @@ -21,6 +21,9 @@ class EntityReferenceAutoCreateTest extends BrowserTestBase { use EntityReferenceFieldCreationTrait; + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'taxonomy', 'entity_test']; /** diff --git a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php index d18cfb1cafc9..b024d8efea82 100644 --- a/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php +++ b/core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php @@ -19,6 +19,9 @@ class EntityReferenceFileUploadTest extends BrowserTestBase { use TestFileCreationTrait; + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'file']; /** diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php index ad426e82865e..f76d56d93528 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateFieldFormatterSettingsTest.php @@ -15,6 +15,9 @@ */ class MigrateFieldFormatterSettingsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'comment', 'datetime', diff --git a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php index 08ff4c30ff2a..ef226e192e7c 100644 --- a/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php +++ b/core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php @@ -15,6 +15,9 @@ */ class MigrateViewModesTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['comment', 'node', 'taxonomy', 'text']; /** diff --git a/core/modules/filter/tests/src/Kernel/FilterAPITest.php b/core/modules/filter/tests/src/Kernel/FilterAPITest.php index 4d50562b08f1..a302d60df1a9 100644 --- a/core/modules/filter/tests/src/Kernel/FilterAPITest.php +++ b/core/modules/filter/tests/src/Kernel/FilterAPITest.php @@ -21,6 +21,9 @@ */ class FilterAPITest extends EntityKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'filter', 'filter_test', 'user']; /** diff --git a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php index 6ef4a3307ef7..b249377e705c 100644 --- a/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php +++ b/core/modules/filter/tests/src/Kernel/FilterDefaultConfigTest.php @@ -15,6 +15,9 @@ */ class FilterDefaultConfigTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'user', 'filter', 'filter_test']; /** diff --git a/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php b/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php index 3a7c17cf6140..58e1e18852c9 100644 --- a/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php +++ b/core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php @@ -13,6 +13,9 @@ */ class MigrateFilterSettingsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['filter']; /** diff --git a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php index e9868df9cc1e..d65c2c8fa91e 100644 --- a/core/modules/image/tests/src/Functional/ImageDimensionsTest.php +++ b/core/modules/image/tests/src/Functional/ImageDimensionsTest.php @@ -31,6 +31,9 @@ class ImageDimensionsTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; + /** + * {@inheritdoc} + */ protected $profile = 'testing'; /** diff --git a/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php b/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php index e8ce5a8ddbe3..8bb22814ab3e 100644 --- a/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php +++ b/core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php @@ -13,6 +13,9 @@ */ class MigrateImageSettingsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['image']; /** diff --git a/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php b/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php index 1096c75419f8..ade872840966 100644 --- a/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php +++ b/core/modules/language/tests/src/Functional/AdminPathEntityConverterLanguageTest.php @@ -14,6 +14,9 @@ */ class AdminPathEntityConverterLanguageTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['language', 'language_test']; /** diff --git a/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php index ffaf49d6829f..95d72569ee60 100644 --- a/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php +++ b/core/modules/language/tests/src/Functional/LanguageBlockSettingsVisibilityTest.php @@ -13,6 +13,9 @@ */ class LanguageBlockSettingsVisibilityTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['block', 'language']; /** diff --git a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php index 92e843e0e5a4..310b428d5a55 100644 --- a/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php +++ b/core/modules/language/tests/src/Functional/LanguageBrowserDetectionTest.php @@ -14,6 +14,9 @@ */ class LanguageBrowserDetectionTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['language']; /** diff --git a/core/modules/language/tests/src/Kernel/LanguageTestBase.php b/core/modules/language/tests/src/Kernel/LanguageTestBase.php index f4452cfde58c..58aa1b527472 100644 --- a/core/modules/language/tests/src/Kernel/LanguageTestBase.php +++ b/core/modules/language/tests/src/Kernel/LanguageTestBase.php @@ -11,6 +11,9 @@ */ abstract class LanguageTestBase extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'language', 'language_test']; /** * The language manager. diff --git a/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php b/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php index 67476923dbc2..6988c62cec13 100644 --- a/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateDevelopmentReleaseTest.php @@ -13,6 +13,9 @@ */ class LocaleUpdateDevelopmentReleaseTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['locale', 'locale_test_development_release']; /** diff --git a/core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php b/core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php index f84c5b9c2c08..34666b8b7fa0 100644 --- a/core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php +++ b/core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php @@ -13,6 +13,9 @@ */ class LocaleDefaultConfigStorageTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'language', 'locale', diff --git a/core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php b/core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php index f999699a0319..002906f1ce96 100644 --- a/core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php +++ b/core/modules/menu_ui/tests/src/Kernel/Migrate/MigrateMenuSettingsTest.php @@ -13,6 +13,9 @@ */ class MigrateMenuSettingsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['menu_ui']; /** diff --git a/core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php b/core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php index c42db1e98091..bd7f1ae688a7 100644 --- a/core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php +++ b/core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php @@ -13,6 +13,9 @@ */ class MigrateExecutableTest extends MigrateTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'entity_test', 'user', diff --git a/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php b/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php index e3546cc2690a..f4234aa900b6 100644 --- a/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php +++ b/core/modules/migrate/tests/src/Kernel/MigrateTestBase.php @@ -60,6 +60,9 @@ abstract class MigrateTestBase extends KernelTestBase implements MigrateMessageI */ protected $logger; + /** + * {@inheritdoc} + */ protected static $modules = ['migrate']; /** diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php index ee3c3571327b..2e28e7d376bc 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php @@ -12,6 +12,9 @@ */ class MigrateNodeSettingPromoteTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'text', 'menu_ui']; /** diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php index d96f6b4f0c9f..4e9419b0738d 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php @@ -12,6 +12,9 @@ */ class MigrateNodeSettingStatusTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'text', 'menu_ui']; /** diff --git a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php index 5e017b2be182..bfc2912b8594 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php @@ -12,6 +12,9 @@ */ class MigrateNodeSettingStickyTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'text', 'menu_ui']; /** diff --git a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php index e1a2069d7065..67156fbbfe0b 100644 --- a/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php +++ b/core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeTitleLabelTest.php @@ -14,6 +14,9 @@ */ class MigrateNodeTitleLabelTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'text', 'menu_ui']; /** diff --git a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php index 81b9aba8817f..3ce0238cfd7b 100644 --- a/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php +++ b/core/modules/rest/tests/src/Kernel/RequestHandlerTest.php @@ -30,6 +30,9 @@ class RequestHandlerTest extends KernelTestBase { */ protected $requestHandler; + /** + * {@inheritdoc} + */ protected static $modules = ['serialization', 'rest']; /** diff --git a/core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php b/core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php index 4b065fd11af9..3b386b3b897d 100644 --- a/core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php +++ b/core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php @@ -13,6 +13,9 @@ */ class MigrateSearchSettingsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['search']; /** diff --git a/core/modules/shortcut/tests/src/Kernel/ShortcutClaroIntegrationTest.php b/core/modules/shortcut/tests/src/Kernel/ShortcutClaroIntegrationTest.php index 086f464b8d9d..8bcb6fc86278 100644 --- a/core/modules/shortcut/tests/src/Kernel/ShortcutClaroIntegrationTest.php +++ b/core/modules/shortcut/tests/src/Kernel/ShortcutClaroIntegrationTest.php @@ -13,6 +13,9 @@ */ class ShortcutClaroIntegrationTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/syslog/tests/src/Kernel/SyslogTest.php b/core/modules/syslog/tests/src/Kernel/SyslogTest.php index 15ff370d96e1..c3d85e71900a 100644 --- a/core/modules/syslog/tests/src/Kernel/SyslogTest.php +++ b/core/modules/syslog/tests/src/Kernel/SyslogTest.php @@ -17,6 +17,9 @@ */ class SyslogTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['syslog', 'syslog_test']; /** diff --git a/core/modules/system/tests/src/Functional/Common/UrlTest.php b/core/modules/system/tests/src/Functional/Common/UrlTest.php index 8e22d2a03bd8..f8602d5b057d 100644 --- a/core/modules/system/tests/src/Functional/Common/UrlTest.php +++ b/core/modules/system/tests/src/Functional/Common/UrlTest.php @@ -14,6 +14,9 @@ */ class UrlTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['common_test']; /** diff --git a/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php b/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php index 932f4d5fd7cf..c762a5dc5b78 100644 --- a/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php +++ b/core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php @@ -18,6 +18,9 @@ */ class ConditionFormTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'condition_test']; /** diff --git a/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php b/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php index 3aa2e65fb7c6..6a0cfb88a47e 100644 --- a/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php +++ b/core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php @@ -27,6 +27,9 @@ class EntityTranslationFormTest extends BrowserTestBase { */ protected $defaultTheme = 'stark'; + /** + * The test language codes. + */ protected $langcodes; /** diff --git a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php index be1587153d16..a3a89112afe3 100644 --- a/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php +++ b/core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php @@ -16,6 +16,9 @@ */ class UpcastingTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['paramconverter_test', 'node', 'language']; /** diff --git a/core/modules/system/tests/src/Kernel/Common/UrlTest.php b/core/modules/system/tests/src/Kernel/Common/UrlTest.php index d087d73c51e2..f58f4f6eea47 100644 --- a/core/modules/system/tests/src/Kernel/Common/UrlTest.php +++ b/core/modules/system/tests/src/Kernel/Common/UrlTest.php @@ -22,6 +22,9 @@ */ class UrlTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['common_test', 'url_alter_test']; /** diff --git a/core/modules/system/tests/src/Kernel/DecoratedServiceTest.php b/core/modules/system/tests/src/Kernel/DecoratedServiceTest.php index 6df2d23e5223..b9b4f96cec09 100644 --- a/core/modules/system/tests/src/Kernel/DecoratedServiceTest.php +++ b/core/modules/system/tests/src/Kernel/DecoratedServiceTest.php @@ -15,6 +15,9 @@ */ class DecoratedServiceTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'decorated_service_test', ]; diff --git a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php index 262d3589a414..92326b60eb92 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionsTest.php @@ -14,6 +14,9 @@ */ class MigrateActionsTest extends MigrateDrupal6TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['comment', 'node']; /** diff --git a/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php b/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php index 60dda796a078..147fa6193369 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionsTest.php @@ -14,6 +14,9 @@ */ class MigrateActionsTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['comment', 'node']; /** diff --git a/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php b/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php index eadbc007bcb2..60a0f2c4af6f 100644 --- a/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php +++ b/core/modules/system/tests/src/Kernel/Migrate/d7/MigrateSystemConfigurationTest.php @@ -13,6 +13,9 @@ */ class MigrateSystemConfigurationTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['file', 'system']; protected $expectedConfig = [ diff --git a/core/modules/system/tests/src/Kernel/System/InfoAlterTest.php b/core/modules/system/tests/src/Kernel/System/InfoAlterTest.php index 545d15074ab7..dbdbccc74397 100644 --- a/core/modules/system/tests/src/Kernel/System/InfoAlterTest.php +++ b/core/modules/system/tests/src/Kernel/System/InfoAlterTest.php @@ -13,6 +13,9 @@ */ class InfoAlterTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php b/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php index e33f700c3d02..bceadd594b12 100644 --- a/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php +++ b/core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php @@ -14,6 +14,9 @@ */ class TermLanguageTest extends TaxonomyTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['language']; /** diff --git a/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php b/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php index b2b64d6a6ee6..0307dd31d8d7 100644 --- a/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php +++ b/core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php @@ -14,6 +14,9 @@ */ class VocabularyLanguageTest extends TaxonomyTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['language']; /** diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/TaxonomyTermDeriverTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/TaxonomyTermDeriverTest.php index 0615b19afba4..f2acd9385230 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/TaxonomyTermDeriverTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/TaxonomyTermDeriverTest.php @@ -15,6 +15,9 @@ */ class TaxonomyTermDeriverTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['taxonomy', 'text']; /** diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php index 791052402c37..458496f2f05e 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateNodeTaxonomyTest.php @@ -13,6 +13,9 @@ */ class MigrateNodeTaxonomyTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'comment', 'datetime', diff --git a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php index 30f7521aa667..8f458a4bcfbd 100644 --- a/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php +++ b/core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyTermTest.php @@ -15,6 +15,9 @@ */ class MigrateTaxonomyTermTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'comment', 'content_translation', diff --git a/core/modules/text/tests/src/Kernel/TextSummaryTest.php b/core/modules/text/tests/src/Kernel/TextSummaryTest.php index 2a77312d18d3..f8eecabee7ad 100644 --- a/core/modules/text/tests/src/Kernel/TextSummaryTest.php +++ b/core/modules/text/tests/src/Kernel/TextSummaryTest.php @@ -22,6 +22,9 @@ class TextSummaryTest extends KernelTestBase { use UserCreationTrait; + /** + * {@inheritdoc} + */ protected static $modules = [ 'system', 'user', diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureEntityFormDisplayTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureEntityFormDisplayTest.php index 07520ce37f0c..dea7d62d64e8 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureEntityFormDisplayTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureEntityFormDisplayTest.php @@ -14,6 +14,9 @@ */ class MigrateUserPictureEntityFormDisplayTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['image', 'file']; /** diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php index 7d8e29de8d0f..3e17d48fc915 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldInstanceTest.php @@ -15,6 +15,9 @@ */ class MigrateUserPictureFieldInstanceTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['image', 'file']; /** diff --git a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php index 56a97206e700..e65621a87761 100644 --- a/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php +++ b/core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserPictureFieldTest.php @@ -15,6 +15,9 @@ */ class MigrateUserPictureFieldTest extends MigrateDrupal7TestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['image', 'file']; /** diff --git a/core/modules/user/tests/src/Kernel/UserRoleEntityTest.php b/core/modules/user/tests/src/Kernel/UserRoleEntityTest.php index 8f41d069017f..dacf9ed0124a 100644 --- a/core/modules/user/tests/src/Kernel/UserRoleEntityTest.php +++ b/core/modules/user/tests/src/Kernel/UserRoleEntityTest.php @@ -13,6 +13,9 @@ */ class UserRoleEntityTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'user', 'user_permissions_test']; public function testOrderOfPermissions(): void { diff --git a/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php b/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php index a05c1d923cc9..089c37c90288 100644 --- a/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php @@ -15,6 +15,9 @@ */ class AreaTextTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'user', 'filter']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/AreaTextTokenTest.php b/core/modules/views/tests/src/Kernel/Handler/AreaTextTokenTest.php index 04fce742be68..0ac5617897d6 100644 --- a/core/modules/views/tests/src/Kernel/Handler/AreaTextTokenTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/AreaTextTokenTest.php @@ -15,6 +15,9 @@ */ class AreaTextTokenTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system', 'user', 'filter']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php index 351c1de1b729..4be302ed0f93 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php @@ -17,6 +17,9 @@ */ class FieldKernelTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['user']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php index ee5255d2fe67..71437e6e7e0f 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FieldUrlTest.php @@ -16,6 +16,9 @@ */ class FieldUrlTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php index 94c6db047bae..a2ba005a0bdb 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FilterEqualityTest.php @@ -14,6 +14,9 @@ */ class FilterEqualityTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php index 9676a2c65cfb..e16e6f2cff87 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FilterInOperatorTest.php @@ -19,6 +19,9 @@ class FilterInOperatorTest extends ViewsKernelTestBase { use StringTranslationTrait; + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php index 4ac73995ac5d..27deea250d00 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FilterNumericTest.php @@ -15,6 +15,9 @@ */ class FilterNumericTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php index 83b566b5366a..48ccf9aabc7f 100644 --- a/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php @@ -15,6 +15,9 @@ */ class FilterStringTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php b/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php index bf594bba9c4d..26d9ab1c7365 100644 --- a/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php +++ b/core/modules/views/tests/src/Kernel/Handler/HandlerAliasTest.php @@ -14,6 +14,9 @@ */ class HandlerAliasTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['user']; /** diff --git a/core/modules/views/tests/src/Kernel/Plugin/StyleMappingTest.php b/core/modules/views/tests/src/Kernel/Plugin/StyleMappingTest.php index 008dfad6aada..46032cc0aeb4 100644 --- a/core/modules/views/tests/src/Kernel/Plugin/StyleMappingTest.php +++ b/core/modules/views/tests/src/Kernel/Plugin/StyleMappingTest.php @@ -14,6 +14,9 @@ */ class StyleMappingTest extends StyleTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/TokenReplaceTest.php b/core/modules/views/tests/src/Kernel/TokenReplaceTest.php index 95d11df2050d..b90e98f3ad89 100644 --- a/core/modules/views/tests/src/Kernel/TokenReplaceTest.php +++ b/core/modules/views/tests/src/Kernel/TokenReplaceTest.php @@ -15,6 +15,9 @@ */ class TokenReplaceTest extends ViewsKernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['system']; /** diff --git a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php index 501633cbbaef..4e057b59ff3e 100644 --- a/core/modules/views/tests/src/Kernel/ViewExecutableTest.php +++ b/core/modules/views/tests/src/Kernel/ViewExecutableTest.php @@ -36,6 +36,9 @@ class ViewExecutableTest extends ViewsKernelTestBase { use CommentTestTrait; + /** + * {@inheritdoc} + */ protected static $modules = [ 'system', 'node', diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptDeprecationTest.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptDeprecationTest.php index 7bdf7cd64153..e45026d8960a 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptDeprecationTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptDeprecationTest.php @@ -12,6 +12,9 @@ */ class JavascriptDeprecationTest extends WebDriverTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['js_deprecation_test']; /** diff --git a/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php b/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php index c306529a02ed..cf4eab8d67ec 100644 --- a/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php +++ b/core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php @@ -15,6 +15,9 @@ */ class PhpUnitBridgeTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['deprecation_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php index 9ede9f186394..fa13c96b2785 100644 --- a/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php +++ b/core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php @@ -18,6 +18,9 @@ abstract class DatabaseTestBase extends KernelTestBase { use DatabaseTestSchemaDataTrait; use DatabaseTestSchemaInstallTrait; + /** + * {@inheritdoc} + */ protected static $modules = ['database_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php b/core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php index 07828a27492f..cb2b5944644b 100644 --- a/core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php +++ b/core/tests/Drupal/KernelTests/Core/DependencyInjection/ServicesDefaultsTest.php @@ -14,6 +14,9 @@ */ class ServicesDefaultsTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['services_defaults_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php index c962a2a14e6c..406de9bb3413 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php @@ -21,6 +21,9 @@ class BundleConstraintValidatorTest extends KernelTestBase { */ protected $typedData; + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'field', 'text', 'user']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php index ca6e8cea5fa3..3922e80da303 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php @@ -41,6 +41,9 @@ abstract class EntityLanguageTestBase extends EntityKernelTestBase { */ protected $untranslatableFieldName; + /** + * {@inheritdoc} + */ protected static $modules = ['language', 'entity_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php index fa088a8343f0..b13215255d27 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintValidatorTest.php @@ -20,6 +20,9 @@ class EntityTypeConstraintValidatorTest extends EntityKernelTestBase { */ protected $typedData; + /** + * {@inheritdoc} + */ protected static $modules = ['node', 'field', 'user']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php b/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php index 9a0a81c5894e..090449136725 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/FieldWidgetConstraintValidatorTest.php @@ -17,6 +17,9 @@ */ class FieldWidgetConstraintValidatorTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'entity_test', 'field', diff --git a/core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php b/core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php index 91c4b426ff85..72b633be4a31 100644 --- a/core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php +++ b/core/tests/Drupal/KernelTests/Core/Extension/ModuleHandlerDeprecatedHookTest.php @@ -16,6 +16,9 @@ */ class ModuleHandlerDeprecatedHookTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['deprecation_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php b/core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php index 063917d5b590..cb577fe0a23c 100644 --- a/core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php +++ b/core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php @@ -16,6 +16,9 @@ */ class UrlTransformRelativeTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['file_test']; /** diff --git a/core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php b/core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php index d47d0aedffeb..870c532ef2ed 100644 --- a/core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php +++ b/core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php @@ -19,6 +19,9 @@ */ class ContextPluginTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = [ 'system', 'user', diff --git a/core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php b/core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php index 5480197f406c..335cdc0339ec 100644 --- a/core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php +++ b/core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php @@ -15,6 +15,9 @@ */ class PhpUnitBridgeTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['deprecation_test']; public function testDeprecatedClass(): void { diff --git a/core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php b/core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php index 395bf9055e83..b10d81be751c 100644 --- a/core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php +++ b/core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php @@ -16,6 +16,9 @@ */ class LinkGenerationTest extends KernelTestBase { + /** + * {@inheritdoc} + */ protected static $modules = ['link_generation_test']; /** -- GitLab