Completed
Push — master ( 2295a6...5db699 )
by Allan
21s queued 11s
created
src/Patch/SourceLoaders/PatchesSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
     private function normalizeDependencies($dependsList)
259 259
     {
260 260
         $dependsNormalized = array_map(
261
-            function ($item) {
261
+            function($item) {
262 262
                 $valueParts = explode(':', $item);
263 263
 
264 264
                 return array(
Please login to merge, or discard this patch.
src/Patch/DefinitionList/LoaderComponents/ConstraintsComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         $rootPackages = array_filter(
52 52
             $packagesByName,
53
-            function ($package) {
53
+            function($package) {
54 54
                 return $package instanceof \Composer\Package\RootPackage;
55 55
             }
56 56
         );
Please login to merge, or discard this patch.
src/Package/Collector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
         return array_combine(
42 42
             array_map(
43
-                function (\Composer\Package\PackageInterface $package) {
43
+                function(\Composer\Package\PackageInterface $package) {
44 44
                     return $package->getName();
45 45
                 },
46 46
                 $packages
Please login to merge, or discard this patch.
src/Utils/TemplateUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             
75 75
             $updateGroups[] = array_combine(
76 76
                 array_map(
77
-                    function ($item) use ($format) {
77
+                    function($item) use ($format) {
78 78
                         return sprintf($format, $item);
79 79
                     },
80 80
                     array_keys($arguments)
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $names = array_keys($variables);
89 89
         
90 90
         $values = array_map(
91
-            function ($value) {
91
+            function($value) {
92 92
                 return trim(
93 93
                     strtok($value, PHP_EOL)
94 94
                 );
Please login to merge, or discard this patch.
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.
src/Utils/PathUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     public static function composePath()
11 11
     {
12 12
         $pathSegments = array_map(
13
-            function ($item) {
13
+            function($item) {
14 14
                 return rtrim($item, DIRECTORY_SEPARATOR);
15 15
             },
16 16
             func_get_args()
Please login to merge, or discard this patch.
src/Patch/DefinitionList/LoaderComponents/DownloaderComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                     $downloader = $this->fileDownloader;
93 93
 
94 94
                     $this->consoleSilencer->applyToCallback(
95
-                        function () use ($downloader, $package, $destinationFolder) {
95
+                        function() use ($downloader, $package, $destinationFolder) {
96 96
                             $downloader->download($package, $destinationFolder, false);
97 97
                         }
98 98
                     );
Please login to merge, or discard this patch.