Unverified Commit 2b166027 authored by alexpott's avatar alexpott

Issue #3132745 by jungle, longwave, xjm, swatichouhan012, daffie: Fix...

Issue #3132745 by jungle, longwave, xjm, swatichouhan012, daffie: Fix Drupal.Array.Array.LongLineDeclaration coding standard for instances of the $modules test property
parent eaf546fa
......@@ -34,7 +34,13 @@ abstract class AggregatorTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
public static $modules = [
'block',
'node',
'aggregator',
'aggregator_test',
'views',
];
/**
* {@inheritdoc}
......
......@@ -27,7 +27,13 @@ abstract class AggregatorTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'node', 'aggregator', 'aggregator_test', 'views'];
public static $modules = [
'block',
'node',
'aggregator',
'aggregator_test',
'views',
];
/**
* {@inheritdoc}
......
......@@ -18,7 +18,13 @@ class AggregatorTitleTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['file', 'field', 'options', 'aggregator', 'system'];
public static $modules = [
'file',
'field',
'options',
'aggregator',
'system',
];
/**
* The field name that is tested.
......
......@@ -22,7 +22,14 @@ class IntegrationTest extends ViewsKernelTestBase {
*
* @var array
*/
public static $modules = ['aggregator', 'aggregator_test_views', 'system', 'field', 'options', 'user'];
public static $modules = [
'aggregator',
'aggregator_test_views',
'system',
'field',
'options',
'user',
];
/**
* Views used by this test.
......
......@@ -23,7 +23,12 @@ class BasicAuthTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['basic_auth', 'router_test', 'locale', 'basic_auth_test'];
public static $modules = [
'basic_auth',
'router_test',
'locale',
'basic_auth_test',
];
/**
* {@inheritdoc}
......
......@@ -22,7 +22,13 @@ abstract class BlockTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
public static $modules = [
'block',
'filter',
'test_page_test',
'help',
'block_test',
];
/**
* A list of theme regions to test.
......
......@@ -15,7 +15,13 @@ abstract class BlockTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'filter', 'test_page_test', 'help', 'block_test'];
public static $modules = [
'block',
'filter',
'test_page_test',
'help',
'block_test',
];
/**
* A list of theme regions to test.
......
......@@ -31,7 +31,13 @@ class DisplayBlockTest extends ViewTestBase {
*
* @var array
*/
public static $modules = ['node', 'block_test_views', 'test_page_test', 'contextual', 'views_ui'];
public static $modules = [
'node',
'block_test_views',
'test_page_test',
'contextual',
'views_ui',
];
/**
* {@inheritdoc}
......
......@@ -39,7 +39,11 @@ abstract class BlockContentTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'block_content_test_views'];
public static $modules = [
'block',
'block_content',
'block_content_test_views',
];
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
......
......@@ -18,7 +18,12 @@ class BlockContentListViewsTest extends BlockContentTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'config_translation', 'views'];
public static $modules = [
'block',
'block_content',
'config_translation',
'views',
];
/**
* {@inheritdoc}
......
......@@ -34,7 +34,11 @@ abstract class BlockContentTestBase extends ViewTestBase {
*
* @var array
*/
public static $modules = ['block', 'block_content', 'block_content_test_views'];
public static $modules = [
'block',
'block_content',
'block_content_test_views',
];
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
......
......@@ -20,7 +20,12 @@ class BookContentModerationTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['book', 'block', 'book_test', 'content_moderation'];
public static $modules = [
'book',
'block',
'book_test',
'content_moderation',
];
/**
* {@inheritdoc}
......
......@@ -18,7 +18,15 @@ class BookPendingRevisionTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['system', 'user', 'field', 'filter', 'text', 'node', 'book'];
public static $modules = [
'system',
'user',
'field',
'filter',
'text',
'node',
'book',
];
/**
* {@inheritdoc}
......
......@@ -18,7 +18,15 @@ class BookUninstallTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['system', 'user', 'field', 'filter', 'text', 'node', 'book'];
public static $modules = [
'system',
'user',
'field',
'filter',
'text',
'node',
'book',
];
/**
* {@inheritdoc}
......
......@@ -20,7 +20,14 @@ class CKEditorTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['system', 'user', 'filter', 'editor', 'ckeditor', 'filter_test'];
public static $modules = [
'system',
'user',
'filter',
'editor',
'ckeditor',
'filter_test',
];
/**
* An instance of the "CKEditor" text editor plugin.
......
......@@ -30,7 +30,14 @@ abstract class CommentTestBase extends WebTestBase {
*
* @var array
*/
public static $modules = ['block', 'comment', 'node', 'history', 'field_ui', 'datetime'];
public static $modules = [
'block',
'comment',
'node',
'history',
'field_ui',
'datetime',
];
/**
* An administrative user with permission to configure comment settings.
......
......@@ -23,7 +23,15 @@ class CommentEntityTest extends CommentTestBase {
*
* @var array
*/
public static $modules = ['block', 'comment', 'node', 'history', 'field_ui', 'datetime', 'taxonomy'];
public static $modules = [
'block',
'comment',
'node',
'history',
'field_ui',
'datetime',
'taxonomy',
];
/**
* {@inheritdoc}
......
......@@ -27,7 +27,12 @@ class CommentLanguageTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['node', 'language', 'language_test', 'comment_test'];
public static $modules = [
'node',
'language',
'language_test',
'comment_test',
];
/**
* {@inheritdoc}
......
......@@ -26,7 +26,13 @@ class CommentNonNodeTest extends BrowserTestBase {
use FieldUiTestTrait;
use CommentTestTrait;
public static $modules = ['comment', 'user', 'field_ui', 'entity_test', 'block'];
public static $modules = [
'comment',
'user',
'field_ui',
'entity_test',
'block',
];
/**
* {@inheritdoc}
......
......@@ -24,7 +24,14 @@ abstract class CommentTestBase extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['block', 'comment', 'node', 'history', 'field_ui', 'datetime'];
public static $modules = [
'block',
'comment',
'node',
'history',
'field_ui',
'datetime',
];
/**
* An administrative user with permission to configure comment settings.
......
......@@ -55,7 +55,12 @@ class CommentTranslationUITest extends ContentTranslationUITestBase {
*
* @var array
*/
public static $modules = ['language', 'content_translation', 'node', 'comment'];
public static $modules = [
'language',
'content_translation',
'node',
'comment',
];
protected function setUp() {
$this->entityTypeId = 'comment';
......
......@@ -27,7 +27,13 @@ class CommentRestExportTest extends CommentTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['node', 'comment', 'comment_test_views', 'rest', 'hal'];
public static $modules = [
'node',
'comment',
'comment_test_views',
'rest',
'hal',
];
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
......
......@@ -24,7 +24,14 @@ class CommentIntegrationTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['comment', 'field', 'entity_test', 'user', 'system', 'dblog'];
public static $modules = [
'comment',
'field',
'entity_test',
'user',
'system',
'dblog',
];
/**
* {@inheritdoc}
......
......@@ -19,7 +19,13 @@ class ConfigImportUITest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['config', 'config_test', 'config_import_test', 'text', 'options'];
public static $modules = [
'config',
'config_test',
'config_import_test',
'text',
'options',
];
/**
* {@inheritdoc}
......
......@@ -29,7 +29,15 @@ class ContactSitewideTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['text', 'contact', 'field_ui', 'contact_test', 'block', 'error_service_test', 'dblog'];
public static $modules = [
'text',
'contact',
'field_ui',
'contact_test',
'block',
'error_service_test',
'dblog',
];
/**
* {@inheritdoc}
......
......@@ -11,7 +11,13 @@
*/
class ContentTranslationEntityBundleUITest extends BrowserTestBase {
public static $modules = ['language', 'content_translation', 'node', 'comment', 'field_ui'];
public static $modules = [
'language',
'content_translation',
'node',
'comment',
'field_ui',
];
/**
* {@inheritdoc}
......
......@@ -22,7 +22,15 @@ class ContentTranslationLanguageChangeTest extends NodeTestBase {
*
* @var array
*/
public static $modules = ['language', 'content_translation', 'content_translation_test', 'node', 'block', 'field_ui', 'image'];
public static $modules = [
'language',
'content_translation',
'content_translation_test',
'node',
'block',
'field_ui',
'image',
];
/**
* {@inheritdoc}
......
......@@ -17,7 +17,12 @@ class ContentTranslationLinkTagTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['entity_test', 'content_translation', 'content_translation_test', 'language'];
public static $modules = [
'entity_test',
'content_translation',
'content_translation_test',
'language',
];
/**
* {@inheritdoc}
......
......@@ -37,7 +37,13 @@ class ContentTranslationOperationsTest extends NodeTestBase {
*
* @var array
*/
public static $modules = ['language', 'content_translation', 'node', 'views', 'block'];
public static $modules = [
'language',
'content_translation',
'node',
'views',
'block',
];
/**
* {@inheritdoc}
......
......@@ -17,7 +17,12 @@ abstract class ContentTranslationPendingRevisionTestBase extends ContentTranslat
/**
* {@inheritdoc}
*/
public static $modules = ['language', 'content_translation', 'content_moderation', 'node'];
public static $modules = [
'language',
'content_translation',
'content_moderation',
'node',
];
/**
* The entity storage.
......
......@@ -25,7 +25,14 @@ class ContentTranslationSettingsTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['language', 'content_translation', 'node', 'comment', 'field_ui', 'entity_test'];
public static $modules = [
'language',
'content_translation',
'node',
'comment',
'field_ui',
'entity_test',
];
/**
* {@inheritdoc}
......
......@@ -44,7 +44,13 @@ class ContentTranslationSyncImageTest extends ContentTranslationTestBase {
*
* @var array
*/
public static $modules = ['language', 'content_translation', 'entity_test', 'image', 'field_ui'];
public static $modules = [
'language',
'content_translation',
'entity_test',
'image',
'field_ui',
];
protected function setUp() {
parent::setUp();
......
......@@ -25,7 +25,13 @@ class ContentTranslationConfigImportTest extends KernelTestBase {
*
* @var array
*/
public static $modules = ['system', 'user', 'entity_test', 'language', 'content_translation'];
public static $modules = [
'system',
'user',
'entity_test',
'language',
'content_translation',
];
/**
* {@inheritdoc}
......
......@@ -26,7 +26,13 @@ class ContentTranslationFieldSyncRevisionTest extends EntityKernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = ['file', 'image', 'language', 'content_translation', 'content_translation_test'];
public static $modules = [
'file',
'image',
'language',
'content_translation',
'content_translation_test',
];