diff --git a/core/modules/node/node.views.inc b/core/modules/node/node.views.inc
index 9243adf..c748461 100644
--- a/core/modules/node/node.views.inc
+++ b/core/modules/node/node.views.inc
@@ -69,7 +69,7 @@
'group' => t('Content'),
'id' => 'node',
'link_to_node default' => TRUE,
- ),
+ ),
'sort' => array(
'id' => 'standard',
),
@@ -569,7 +569,7 @@
'field' => array(
'field' => 'title',
'id' => 'node_revision',
- ),
+ ),
'sort' => array(
'id' => 'standard',
),
diff --git a/core/modules/node/src/NodeViewBuilder.php b/core/modules/node/src/NodeViewBuilder.php
index 606ef36..e153e20 100644
--- a/core/modules/node/src/NodeViewBuilder.php
+++ b/core/modules/node/src/NodeViewBuilder.php
@@ -176,7 +176,7 @@
parent::alterBuild($build, $entity, $display, $view_mode, $langcode);
if ($entity->id()) {
$build['#contextual_links']['node'] = array(
- 'route_parameters' =>array('node' => $entity->id()),
+ 'route_parameters' => array('node' => $entity->id()),
'metadata' => array('changed' => $entity->getChangedTime()),
);
}
diff --git a/core/modules/node/src/Tests/NodeTitleTest.php b/core/modules/node/src/Tests/NodeTitleTest.php
index e34862d..b4385b7 100644
--- a/core/modules/node/src/Tests/NodeTitleTest.php
+++ b/core/modules/node/src/Tests/NodeTitleTest.php
@@ -47,7 +47,7 @@
// Test
tag.
$this->drupalGet('node/' . $node->id());
$xpath = '//title';
- $this->assertEqual(current($this->xpath($xpath)), $node->label() .' | Drupal', 'Page title is equal to node title.', 'Node');
+ $this->assertEqual(current($this->xpath($xpath)), $node->label() . ' | Drupal', 'Page title is equal to node title.', 'Node');
// Test breadcrumb in comment preview.
$this->drupalGet('comment/reply/node/' . $node->id() . '/comment');
diff --git a/core/modules/node/src/Tests/NodeViewLanguageTest.php b/core/modules/node/src/Tests/NodeViewLanguageTest.php
index dbb07ae..e3b3268 100644
--- a/core/modules/node/src/Tests/NodeViewLanguageTest.php
+++ b/core/modules/node/src/Tests/NodeViewLanguageTest.php
@@ -40,7 +40,7 @@
$node = $this->drupalCreateNode(array('langcode' => 'es'));
$this->drupalGet($node->getSystemPath());
- $this->assertText('Spanish','The language field is displayed properly.');
+ $this->assertText('Spanish', 'The language field is displayed properly.');
}
}
diff --git a/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php b/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
index 1f862e9..c338995 100644
--- a/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
+++ b/core/modules/node/src/Tests/Views/RevisionRelationshipsTest.php
@@ -22,7 +22,7 @@
*
* @var array
*/
- public static $modules = array('node' ,'node_test_views');
+ public static $modules = array('node', 'node_test_views');
protected function setUp() {
parent::setUp();