Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Render / RendererPlaceholdersTest.php
index 253a3580dc350336f31823fdbc68a59207a04329..36137b4a00d000ffd8d2d443b244a2bca5cb8346 100644 (file)
@@ -35,7 +35,7 @@ class RendererPlaceholdersTest extends RendererTestBase {
   /**
    * Provides the two classes of placeholders: cacheable and uncacheable.
    *
-   * i.e. with or without #cache[keys].
+   * I.e. with or without #cache[keys].
    *
    * Also, different types:
    * - A) automatically generated placeholder
@@ -574,6 +574,7 @@ class RendererPlaceholdersTest extends RendererTestBase {
       $this->assertEquals($expected_data, $cached_element, 'The correct data is cached: the stored #markup and #attached properties are not affected by the placeholder being replaced.');
     }
   }
+
   /**
    * @covers ::render
    * @covers ::doRender
@@ -1124,7 +1125,7 @@ HTML;
 EOS;
         $output = str_replace([
           '{{ title }}',
-          '{{ children }}'
+          '{{ children }}',
         ], [$vars['#title'], $vars['#children']], $output);
         return $output;
       });