@@ -39,7 +39,7 @@ discard block |
||
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 |
||
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 |
||
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); |
@@ -80,7 +80,7 @@ |
||
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] |
@@ -65,7 +65,7 @@ |
||
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) { |