Passed
Branch master (d39919)
by Allan
03:04 queued 01:07
created
src/Resolvers/ChangelogTemplateResolver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
         $templateGroups = array_combine(
41 41
             $outputFormats,
42
-            array_map(function ($type) use ($pluginRoot) {
42
+            array_map(function($type) use ($pluginRoot) {
43 43
                 return array(
44 44
                     'root' => array($pluginRoot, 'views', $type, 'changelog.mustache'),
45 45
                     'release' => array($pluginRoot, 'views', $type, 'release.mustache')
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
             }
77 77
 
78 78
             $templateGroups[$type] = array_map(
79
-                function ($templatePath) use ($installPath) {
79
+                function($templatePath) use ($installPath) {
80 80
                     return array($installPath, $templatePath);
81 81
                 },
82 82
                 $outputConfig['template']
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
 
89 89
     private function assembleGroupedFilePaths(array $groups)
90 90
     {
91
-        return array_map(function (array $group) {
92
-            return array_map(function (array $segments) {
91
+        return array_map(function(array $group) {
92
+            return array_map(function(array $segments) {
93 93
                 return implode(DIRECTORY_SEPARATOR, $segments);
94 94
             }, $group);
95 95
         }, $groups);
Please login to merge, or discard this patch.
src/Resolvers/PackageInfoResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         $installPath = $this->getInstallPath($package);
81 81
 
82 82
         $sourcePaths = array_map(
83
-            function ($path) use ($installPath) {
83
+            function($path) use ($installPath) {
84 84
                 return $installPath . DIRECTORY_SEPARATOR . $path;
85 85
             },
86 86
             $autoloadConfig[ConfigKeys::PSR4_CONFIG]
Please login to merge, or discard this patch.
src/Resolvers/ChangelogConfigResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         $installPath = $this->packageInfoResolver->getInstallPath($package);
66 66
 
67 67
         return array_filter(
68
-            array_map(function ($config) use ($installPath) {
68
+            array_map(function($config) use ($installPath) {
69 69
                 $path = is_array($config) ? (isset($config['path']) ? $config['path'] : '') : $config;
70 70
 
71 71
                 if (!$path) {
Please login to merge, or discard this patch.