Passed
Push — master ( 2ddb63...c11914 )
by Allan
02:02
created
src/Utils/FilterUtils.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         $escapeChar = chr('27');
20 20
         $that = $this;
21 21
 
22
-        array_map(function ($filter) use (&$semanticGroups, $delimiter, $escapeChar, $that) {
22
+        array_map(function($filter) use (&$semanticGroups, $delimiter, $escapeChar, $that) {
23 23
             $escapedFilter = trim(
24 24
                 str_replace(
25 25
                     $escapeChar,
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $that = $this;
59 59
         
60 60
         return array_map(
61
-            function ($filter) use ($that) {
61
+            function($filter) use ($that) {
62 62
                 return (!$that->isInvertedFilter($filter) ? FilterUtils::NEGATION_PREFIX : '') .
63 63
                     ltrim($filter, FilterUtils::NEGATION_PREFIX);
64 64
             },
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public function trimRules(array $filters)
75 75
     {
76 76
         return array_map(
77
-            function ($filter) {
77
+            function($filter) {
78 78
                 return ltrim($filter, FilterUtils::NEGATION_PREFIX);
79 79
             },
80 80
             $filters
Please login to merge, or discard this patch.
src/Utils/PackageListUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     {
12 12
         return array_combine(
13 13
             array_map(
14
-                function ($package) {
14
+                function($package) {
15 15
                     return $package instanceof \Composer\Package\PackageInterface
16 16
                         ? $package->getName()
17 17
                         : $package['name'];
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $defaultType = gettype($default);
28 28
 
29 29
         return array_map(
30
-            function (\Composer\Package\PackageInterface $package) use ($key, $default, $defaultType) {
30
+            function(\Composer\Package\PackageInterface $package) use ($key, $default, $defaultType) {
31 31
                 $extra = $package->getExtra();
32 32
 
33 33
                 if (!$key) {
Please login to merge, or discard this patch.
src/Sources/PackageSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         
44 44
         return array_filter(
45 45
             $packages,
46
-            function (PackageInterface $package) use ($filter) {
46
+            function(PackageInterface $package) use ($filter) {
47 47
                 return preg_match($filter, $package->getName());
48 48
             }
49 49
         );
Please login to merge, or discard this patch.