Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Logger / LoggerChannelTest.php
index d2b283adb9b4eba5c8b2b83945189210269f80c0..2512602afaf20ba47726c449b92030031f939fd3 100644 (file)
@@ -113,14 +113,14 @@ class LoggerChannelTest extends UnitTestCase {
     $request_mock->headers = $this->getMock('Symfony\Component\HttpFoundation\ParameterBag');
 
     // No request or account.
-    $cases [] = [
+    $cases[] = [
       function ($context) {
         return $context['channel'] == 'test' && empty($context['uid']) && empty($context['ip']);
       },
     ];
     // With account but not request. Since the request is not available the
     // current user should not be used.
-    $cases [] = [
+    $cases[] = [
       function ($context) {
         return $context['uid'] === 0 && empty($context['ip']);
       },
@@ -128,14 +128,14 @@ class LoggerChannelTest extends UnitTestCase {
       $account_mock,
     ];
     // With request but not account.
-    $cases [] = [
+    $cases[] = [
       function ($context) {
         return $context['ip'] === '127.0.0.1' && empty($context['uid']);
       },
       $request_mock,
     ];
     // Both request and account.
-    $cases [] = [
+    $cases[] = [
       function ($context) {
         return $context['ip'] === '127.0.0.1' && $context['uid'] === 1;
       },