Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views / tests / src / Unit / Plugin / field / FieldPluginBaseTest.php
index e8ff8d7d965694833c2f2b9c710226bbaeb466ad..a7bcf81de6f2923e9160dd6bcd1a651a8b723573 100644 (file)
@@ -548,7 +548,7 @@ class FieldPluginBaseTest extends UnitTestCase {
       '#type' => 'inline_template',
       '#template' => 'test-path/' . explode('/', $path)[1],
       '#context' => ['foo' => 123],
-      '#post_render' => [function() {}],
+      '#post_render' => [function () {}],
     ];
 
     $this->renderer->expects($this->once())
@@ -612,7 +612,7 @@ class FieldPluginBaseTest extends UnitTestCase {
       '#type' => 'inline_template',
       '#template' => $path,
       '#context' => ['foo' => $context['context_path']],
-      '#post_render' => [function() {}],
+      '#post_render' => [function () {}],
     ];
 
     $this->renderer->expects($this->once())
@@ -740,7 +740,7 @@ class FieldPluginBaseTest extends UnitTestCase {
       '#type' => 'inline_template',
       '#template' => $test_class,
       '#context' => $tokens,
-      '#post_render' => [function() {}],
+      '#post_render' => [function () {}],
     ];
 
     // We're not testing the token rendering itself, just that the function