Passed
Push — 8.x-2.x ( b65c24...82a225 )
by Frédéric G.
03:06
created
example.settings.local.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * of the MongoDB features by just commenting the last line out.
10 10
  */
11 11
 
12
-$configureMongoDb = function (array $settings): array {
12
+$configureMongoDb = function(array $settings): array {
13 13
   $settings['mongodb'] = [
14 14
     'clients' => [
15 15
       // Client alias => connection constructor parameters.
Please login to merge, or discard this patch.
modules/mongodb/tests/src/Kernel/MongoDbTest.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.
modules/mongodb/src/DatabaseFactory.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;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/src/Command/SettingsCommand.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\Command;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/src/Commands/MongodbCommands.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\Commands;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/src/Install/Tools.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\Install;
6 6
 
Please login to merge, or discard this patch.
modules/mongodb/mongodb_module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * Contains the main module connecting Drupal to MongoDB.
6 6
  */
7 7
 
8
-declare(strict_types = 1);
8
+declare(strict_types=1);
9 9
 
10 10
 /**
11 11
  * Implements hook_help().
Please login to merge, or discard this patch.
modules/mongodb/mongodb_install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * Install file for the MongoDB module.
6 6
  */
7 7
 
8
-declare(strict_types = 1);
8
+declare(strict_types=1);
9 9
 
10 10
 /**
11 11
  * Requirements check: MongoDB extension.
Please login to merge, or discard this patch.
modules/mongodb_watchdog/tests/src/Functional/ControllerTest.php 1 patch
Spacing   +4 added lines, -4 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\Functional;
6 6
 
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
    */
311 311
   protected function assertTypeCount(array $types) {
312 312
     $entries = $this->getLogEntries();
313
-    $reducer = function ($accu, $curr) {
313
+    $reducer = function($accu, $curr) {
314 314
       $accu[$curr['type'] . '-' . $curr['severity']] = [$curr['type'], $curr['severity']];
315 315
       return $accu;
316 316
     };
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
       $this->drupalPostForm(NULL, $edit, 'Filter');
573 573
 
574 574
       // Check whether the displayed event templates match our filter.
575
-      $filteredTypes = array_filter($types, function (array $type) use ($typeName) {
575
+      $filteredTypes = array_filter($types, function(array $type) use ($typeName) {
576 576
         return $type['type'] === $typeName;
577 577
       });
578 578
       $this->assertTypeCount($filteredTypes);
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
       ];
588 588
       $this->drupalPostForm(NULL, $edit, 'Filter');
589 589
 
590
-      $filteredTypes = array_filter($types, function (array $type) use ($typeType, $typeSeverity) {
590
+      $filteredTypes = array_filter($types, function(array $type) use ($typeType, $typeSeverity) {
591 591
         return $type['type'] === $typeType && $type['severity'] == $typeSeverity;
592 592
       });
593 593
 
Please login to merge, or discard this patch.