Passed
Push — 8.x-2.x ( b65c24...82a225 )
by Frédéric G.
03:06
created
modules/mongodb_watchdog/tests/src/Unit/ControllerBaseTest.php 1 patch
Spacing   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\Tests\mongodb_watchdog\Unit;
6 6
 
@@ -51,30 +51,30 @@  discard block
 block discarded – undo
51 51
     $expectations = [
52 52
       // @codingStandardsIgnoreStart
53 53
       // page, count, result
54
-      [-1,    0,          0],
55
-      [-1,    $partial,   0],
56
-      [-1,    $one,       0],
57
-      [-1,    $oneplus,   0],
58
-      [-1,    $two,       0],
54
+      [-1, 0, 0],
55
+      [-1, $partial, 0],
56
+      [-1, $one, 0],
57
+      [-1, $oneplus, 0],
58
+      [-1, $two, 0],
59 59
 
60
-      [ 0,    0,          0],
61
-      [ 0,    $partial,   0],
62
-      [ 0,    $one,       0],
63
-      [ 0,    $oneplus,   0],
64
-      [ 0,    $two,       0],
60
+      [0, 0, 0],
61
+      [0, $partial, 0],
62
+      [0, $one, 0],
63
+      [0, $oneplus, 0],
64
+      [0, $two, 0],
65 65
 
66
-      [ 1,    0,          0],
67
-      [ 1,    $partial,   0],
68
-      [ 1,    $one,       0],
69
-      [ 1,    $oneplus,   1],
70
-      [ 1,    $two,       1],
66
+      [1, 0, 0],
67
+      [1, $partial, 0],
68
+      [1, $one, 0],
69
+      [1, $oneplus, 1],
70
+      [1, $two, 1],
71 71
 
72
-      [ 2,    0,          0],
73
-      [ 2,    $partial,   0],
74
-      [ 2,    $one,       0],
75
-      [ 2,    $oneplus,   1],
76
-      [ 2,    $two,       1],
77
-      [ 2,    $twoplus,   2],
72
+      [2, 0, 0],
73
+      [2, $partial, 0],
74
+      [2, $one, 0],
75
+      [2, $oneplus, 1],
76
+      [2, $two, 1],
77
+      [2, $twoplus, 2],
78 78
       // @codingStandardsIgnoreEnd
79 79
     ];
80 80
     return $expectations;
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/EventTemplate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog;
6 6
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
       'severity' => [
108 108
         'label' => t('Severity'),
109 109
         'creation_callback' => 'intval',
110
-        'display_callback' => function ($level) {
110
+        'display_callback' => function($level) {
111 111
           return RfcLogLevel::getLevels()[$level];
112 112
         },
113 113
       ],
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Command/SanityCheckCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Command;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Commands/MongoDbWatchdogCommands.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Commands;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Install/Requirements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Install;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/RequestController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Controller;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Form/ConfigForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\mongodb_watchdog\Form;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/tests/src/Kernel/DatabaseFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Drupal\Tests\mongodb\Kernel;
6 6
 
Please login to merge, or discard this patch.