summaryrefslogtreecommitdiffstats
path: root/core/modules/field_layout
diff options
context:
space:
mode:
authorxjm2017-09-15 21:52:14 (GMT)
committerxjm2017-09-15 21:52:14 (GMT)
commit44a5c4cbe08a0e80209dc6c5ac688a247e36ca11 (patch)
tree26106647bb5dac7f2d89186353d4b4086c9e6823 /core/modules/field_layout
parentcc34cb8055821db244e9a916e7f31cca7ead115f (diff)
Issue #2901739 by andriyun, Jo Fitzgerald, mfernea, xjm: Fix 'Squiz.Arrays.ArrayDeclaration' coding standard
Diffstat (limited to 'core/modules/field_layout')
-rw-r--r--core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php6
-rw-r--r--core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php6
2 files changed, 6 insertions, 6 deletions
diff --git a/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php b/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
index 058e6c3..9bab0b5 100644
--- a/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
+++ b/core/modules/field_layout/tests/src/Functional/FieldLayoutTest.php
@@ -28,9 +28,9 @@ class FieldLayoutTest extends BrowserTestBase {
$this->createNode([
'type' => 'article',
'title' => 'The node title',
- 'body' => [[
- 'value' => 'The node body',
- ]],
+ 'body' => [
+ ['value' => 'The node body'],
+ ],
]);
$this->drupalLogin($this->drupalCreateUser([
'access administration pages',
diff --git a/core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php b/core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php
index 8ddbeaf..162d223 100644
--- a/core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php
+++ b/core/modules/field_layout/tests/src/FunctionalJavascript/FieldLayoutTest.php
@@ -25,9 +25,9 @@ class FieldLayoutTest extends JavascriptTestBase {
$entity = EntityTest::create([
'name' => 'The name for this entity',
- 'field_test_text' => [[
- 'value' => 'The field test text value',
- ]],
+ 'field_test_text' => [
+ ['value' => 'The field test text value'],
+ ],
]);
$entity->save();
$this->drupalLogin($this->drupalCreateUser([