diff --git a/core/modules/node/src/NodeViewBuilder.php b/core/modules/node/src/NodeViewBuilder.php
index 8cf1c04..ea0dc1d 100644
--- a/core/modules/node/src/NodeViewBuilder.php
+++ b/core/modules/node/src/NodeViewBuilder.php
@@ -171,7 +171,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/src/Tests/NodeTitleTest.php b/core/modules/node/src/Tests/NodeTitleTest.php
index d692be5..46930e7 100644
--- a/core/modules/node/src/Tests/NodeTitleTest.php
+++ b/core/modules/node/src/Tests/NodeTitleTest.php
@@ -47,7 +47,7 @@ function testNodeTitle() {
     // Test <title> 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 733b10d..55ab8b4 100644
--- a/core/modules/node/src/Tests/NodeViewLanguageTest.php
+++ b/core/modules/node/src/Tests/NodeViewLanguageTest.php
@@ -39,7 +39,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/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 @@ class RevisionRelationshipsTest 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();
