Completed
Push — master ( 1d5a37...311360 )
by Allan
02:18
created
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.
src/Managers/RepositoryManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $installer = $this->installationManager;
65 65
         
66 66
         $this->consoleSilencer->applyToCallback(
67
-            function () use ($installer, $repository, $operation) {
67
+            function() use ($installer, $repository, $operation) {
68 68
                 $installer->install($repository, $operation);
69 69
             }
70 70
         );
Please login to merge, or discard this patch.