diff --git a/core/modules/node/lib/Drupal/node/NodeViewBuilder.php b/core/modules/node/lib/Drupal/node/NodeViewBuilder.php
index 494183f..2043d69 100644
--- a/core/modules/node/lib/Drupal/node/NodeViewBuilder.php
+++ b/core/modules/node/lib/Drupal/node/NodeViewBuilder.php
@@ -177,7 +177,7 @@ protected function alterBuild(array &$build, EntityInterface $entity, EntityView
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/lib/Drupal/node/Tests/NodeTitleTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeTitleTest.php
index 9b503ff..46f84da 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeTitleTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeTitleTest.php
@@ -52,7 +52,7 @@ function testNodeTitle() {
// 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/lib/Drupal/node/Tests/NodeViewLanguageTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeViewLanguageTest.php
index f2bdf7f..a3ab731 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeViewLanguageTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeViewLanguageTest.php
@@ -46,7 +46,7 @@ public function testViewLanguage() {
$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/lib/Drupal/node/Tests/Views/RevisionRelationships.php b/core/modules/node/lib/Drupal/node/Tests/Views/RevisionRelationships.php
index 4968048..ccef956 100644
--- a/core/modules/node/lib/Drupal/node/Tests/Views/RevisionRelationships.php
+++ b/core/modules/node/lib/Drupal/node/Tests/Views/RevisionRelationships.php
@@ -20,7 +20,7 @@ class RevisionRelationships extends ViewTestBase {
*
* @var array
*/
- public static $modules = array('node' ,'node_test_views');
+ public static $modules = array('node', 'node_test_views');
protected function setUp() {
parent::setUp();
diff --git a/core/modules/node/node.pages.inc b/core/modules/node/node.pages.inc
index efc88fb..7dc502e 100644
--- a/core/modules/node/node.pages.inc
+++ b/core/modules/node/node.pages.inc
@@ -179,7 +179,7 @@ function node_revision_overview($node) {
'#type' => 'table',
'#rows' => $rows,
'#header' => $header,
- '#attached' => array (
+ '#attached' => array(
'css' => array(drupal_get_path('module', 'node') . '/css/node.admin.css'),
),
);
diff --git a/core/modules/node/node.views.inc b/core/modules/node/node.views.inc
index 742ec50..f07d1e4 100644
--- a/core/modules/node/node.views.inc
+++ b/core/modules/node/node.views.inc
@@ -69,7 +69,7 @@ function node_views_data() {
'group' => t('Content'),
'id' => 'node',
'link_to_node default' => TRUE,
- ),
+ ),
'sort' => array(
'id' => 'standard',
),
@@ -546,7 +546,7 @@ function node_views_data() {
'field' => array(
'field' => 'title',
'id' => 'node_revision',
- ),
+ ),
'sort' => array(
'id' => 'standard',
),