Passed
Pull Request — 8.x-2.x (#75)
by Frédéric G.
04:52
created
modules/mongodb_watchdog/tests/src/Unit/ControllerBaseTest.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -46,30 +46,30 @@
 block discarded – undo
46 46
     $expectations = [
47 47
       // @codingStandardsIgnoreStart
48 48
       // page, count, result
49
-      [-1,    0,          0],
50
-      [-1,    $partial,   0],
51
-      [-1,    $one,       0],
52
-      [-1,    $oneplus,   0],
53
-      [-1,    $two,       0],
49
+      [-1, 0, 0],
50
+      [-1, $partial, 0],
51
+      [-1, $one, 0],
52
+      [-1, $oneplus, 0],
53
+      [-1, $two, 0],
54 54
 
55
-      [ 0,    0,          0],
56
-      [ 0,    $partial,   0],
57
-      [ 0,    $one,       0],
58
-      [ 0,    $oneplus,   0],
59
-      [ 0,    $two,       0],
55
+      [0, 0, 0],
56
+      [0, $partial, 0],
57
+      [0, $one, 0],
58
+      [0, $oneplus, 0],
59
+      [0, $two, 0],
60 60
 
61
-      [ 1,    0,          0],
62
-      [ 1,    $partial,   0],
63
-      [ 1,    $one,       0],
64
-      [ 1,    $oneplus,   1],
65
-      [ 1,    $two,       1],
61
+      [1, 0, 0],
62
+      [1, $partial, 0],
63
+      [1, $one, 0],
64
+      [1, $oneplus, 1],
65
+      [1, $two, 1],
66 66
 
67
-      [ 2,    0,          0],
68
-      [ 2,    $partial,   0],
69
-      [ 2,    $one,       0],
70
-      [ 2,    $oneplus,   1],
71
-      [ 2,    $two,       1],
72
-      [ 2,    $twoplus,   2],
67
+      [2, 0, 0],
68
+      [2, $partial, 0],
69
+      [2, $one, 0],
70
+      [2, $oneplus, 1],
71
+      [2, $two, 1],
72
+      [2, $twoplus, 2],
73 73
       // @codingStandardsIgnoreEnd
74 74
     ];
75 75
     return $expectations;
Please login to merge, or discard this patch.
modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -502,9 +502,11 @@
 block discarded – undo
502 502
       $this->drupalLogin($account);
503 503
       try {
504 504
         $this->verifyReports($statusCode);
505
-      } catch (ResponseTextException $e) {
505
+      }
506
+      catch (ResponseTextException $e) {
506 507
         $this->fail(sprintf("response text exception: %s", $e));
507
-      } catch (ExpectationException $e) {
508
+      }
509
+      catch (ExpectationException $e) {
508 510
         $this->fail(sprintf("expectation exception: %s", $e));
509 511
       }
510 512
     }
Please login to merge, or discard this patch.