Completed
Push — master ( b97ce5...b81d5b )
by Julián
08:35
created
src/CouchDBBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,9 +208,9 @@
 block discarded – undo
208 208
 
209 209
         if ($commandPrefix !== '') {
210 210
             $commands = array_map(
211
-                function (Command $command) use ($commandPrefix) {
211
+                function(Command $command) use ($commandPrefix) {
212 212
                     $commandNames = array_map(
213
-                        function ($commandName) use ($commandPrefix) {
213
+                        function($commandName) use ($commandPrefix) {
214 214
                             return preg_replace('/^couchdb:/', $commandPrefix . ':', $commandName);
215 215
                         },
216 216
                         array_merge([$command->getName()], $command->getAliases())
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
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 
423 423
         return array_filter(
424 424
             $functions,
425
-            function ($name) {
425
+            function($name) {
426 426
                 return is_string($name);
427 427
             },
428 428
             ARRAY_FILTER_USE_KEY
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
 
441 441
         return array_filter(
442 442
             $functions,
443
-            function ($name) {
443
+            function($name) {
444 444
                 return is_string($name);
445 445
             },
446 446
             ARRAY_FILTER_USE_KEY
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
 
459 459
         return array_filter(
460 460
             $functions,
461
-            function ($name) {
461
+            function($name) {
462 462
                 return is_string($name);
463 463
             },
464 464
             ARRAY_FILTER_USE_KEY
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
 
477 477
         return array_filter(
478 478
             $types,
479
-            function ($name) {
479
+            function($name) {
480 480
                 return is_string($name);
481 481
             },
482 482
             ARRAY_FILTER_USE_KEY
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
 
495 495
         return array_filter(
496 496
             $filters,
497
-            function ($name) {
497
+            function($name) {
498 498
                 return is_string($name);
499 499
             },
500 500
             ARRAY_FILTER_USE_KEY
@@ -547,9 +547,9 @@  discard block
 block discarded – undo
547 547
 
548 548
         if ($commandPrefix !== '') {
549 549
             $commands = array_map(
550
-                function (Command $command) use ($commandPrefix) {
550
+                function(Command $command) use ($commandPrefix) {
551 551
                     $commandNames = array_map(
552
-                        function ($commandName) use ($commandPrefix) {
552
+                        function($commandName) use ($commandPrefix) {
553 553
                             return preg_replace('/^(dbal|orm):/', $commandPrefix . ':$1:', $commandName);
554 554
                         },
555 555
                         array_merge([$command->getName()], $command->getAliases())
Please login to merge, or discard this patch.
src/MongoDBBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
 
376 376
         return array_filter(
377 377
             $filters,
378
-            function ($name) {
378
+            function($name) {
379 379
                 return is_string($name);
380 380
             },
381 381
             ARRAY_FILTER_USE_KEY
@@ -412,9 +412,9 @@  discard block
 block discarded – undo
412 412
 
413 413
         if ($commandPrefix !== '') {
414 414
             $commands = array_map(
415
-                function (Command $command) use ($commandPrefix) {
415
+                function(Command $command) use ($commandPrefix) {
416 416
                     $commandNames = array_map(
417
-                        function ($commandName) use ($commandPrefix) {
417
+                        function($commandName) use ($commandPrefix) {
418 418
                             return preg_replace('/^odm:/', $commandPrefix . ':odm:', $commandName);
419 419
                         },
420 420
                         array_merge([$command->getName()], $command->getAliases())
Please login to merge, or discard this patch.
src/AbstractManagerBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         $annotationFiles = (array) $this->getOption('annotation_files');
160 160
         array_walk(
161 161
             $annotationFiles,
162
-            function ($file) {
162
+            function($file) {
163 163
                 if (!file_exists($file)) {
164 164
                     throw new \RuntimeException(sprintf('"%s" file does not exist', $file));
165 165
                 }
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
         $annotationLoaders = (array) $this->getOption('annotation_autoloaders');
174 174
         array_walk(
175 175
             $annotationLoaders,
176
-            function ($autoLoader) {
176
+            function($autoLoader) {
177 177
                 AnnotationRegistry::registerLoader($autoLoader);
178 178
             }
179 179
         );
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 
191 191
         return array_filter(
192 192
             $namespaces,
193
-            function ($namespace) {
193
+            function($namespace) {
194 194
                 return is_string($namespace);
195 195
             },
196 196
             ARRAY_FILTER_USE_KEY
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
 
504 504
         return array_filter(
505 505
             $eventSubscribers,
506
-            function ($subscriber) {
506
+            function($subscriber) {
507 507
                 return $subscriber instanceof EventSubscriber;
508 508
             }
509 509
         );
Please login to merge, or discard this patch.