Completed
Push — master ( 2e0ed7...c122af )
by Julián
02:41
created
src/CouchDBBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,13 +188,13 @@
 block discarded – undo
188 188
 
189 189
         if ($commandPrefix !== '') {
190 190
             $commands = array_map(
191
-                function (Command $command) use ($commandPrefix) {
192
-                    $command->setName(preg_replace('/^couchdb:/', $commandPrefix . ':', $command->getName()));
191
+                function(Command $command) use ($commandPrefix) {
192
+                    $command->setName(preg_replace('/^couchdb:/', $commandPrefix.':', $command->getName()));
193 193
 
194 194
                     $aliases = [];
195 195
                     // @codeCoverageIgnoreStart
196 196
                     foreach ($command->getAliases() as $alias) {
197
-                        $aliases[] = preg_replace('/^couchdb:/', $commandPrefix . ':$1:', $alias);
197
+                        $aliases[] = preg_replace('/^couchdb:/', $commandPrefix.':$1:', $alias);
198 198
                     }
199 199
                     // @codeCoverageIgnoreEnd
200 200
                     $command->setAliases($aliases);
Please login to merge, or discard this patch.
src/MongoDBBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
                 break;
188 188
 
189 189
             default:
190
-                throw new \InvalidArgumentException('Invalid argument: ' . $connection);
190
+                throw new \InvalidArgumentException('Invalid argument: '.$connection);
191 191
         }
192 192
 
193 193
         return $connection;
@@ -345,13 +345,13 @@  discard block
 block discarded – undo
345 345
 
346 346
         if ($commandPrefix !== '') {
347 347
             $commands = array_map(
348
-                function (Command $command) use ($commandPrefix) {
349
-                    $command->setName(preg_replace('/^odm:/', $commandPrefix . ':odm:', $command->getName()));
348
+                function(Command $command) use ($commandPrefix) {
349
+                    $command->setName(preg_replace('/^odm:/', $commandPrefix.':odm:', $command->getName()));
350 350
 
351 351
                     $aliases = [];
352 352
                     // @codeCoverageIgnoreStart
353 353
                     foreach ($command->getAliases() as $alias) {
354
-                        $aliases[] = preg_replace('/^odm:/', $commandPrefix . ':$1:', $alias);
354
+                        $aliases[] = preg_replace('/^odm:/', $commandPrefix.':$1:', $alias);
355 355
                     }
356 356
                     // @codeCoverageIgnoreEnd
357 357
                     $command->setAliases($aliases);
Please login to merge, or discard this patch.
src/RelationalBuilder.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 
394 394
         return array_filter(
395 395
             $functions,
396
-            function ($name) {
396
+            function($name) {
397 397
                 return is_string($name);
398 398
             },
399 399
             ARRAY_FILTER_USE_KEY
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
 
412 412
         return array_filter(
413 413
             $functions,
414
-            function ($name) {
414
+            function($name) {
415 415
                 return is_string($name);
416 416
             },
417 417
             ARRAY_FILTER_USE_KEY
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 
430 430
         return array_filter(
431 431
             $functions,
432
-            function ($name) {
432
+            function($name) {
433 433
                 return is_string($name);
434 434
             },
435 435
             ARRAY_FILTER_USE_KEY
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
 
448 448
         return array_filter(
449 449
             $types,
450
-            function ($name) {
450
+            function($name) {
451 451
                 return is_string($name);
452 452
             },
453 453
             ARRAY_FILTER_USE_KEY
@@ -496,12 +496,12 @@  discard block
 block discarded – undo
496 496
 
497 497
         if ($commandPrefix !== '') {
498 498
             $commands = array_map(
499
-                function (Command $command) use ($commandPrefix) {
500
-                    $command->setName(preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $command->getName()));
499
+                function(Command $command) use ($commandPrefix) {
500
+                    $command->setName(preg_replace('/^(dbal|orm):/', $commandPrefix.':$1:', $command->getName()));
501 501
 
502 502
                     $aliases = [];
503 503
                     foreach ($command->getAliases() as $alias) {
504
-                        $aliases[] = preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $alias);
504
+                        $aliases[] = preg_replace('/^(dbal|orm):/', $commandPrefix.':$1:', $alias);
505 505
                     }
506 506
                     $command->setAliases($aliases);
507 507
 
Please login to merge, or discard this patch.