Passed
Push — master ( 2ddb63...c11914 )
by Allan
02:02
created
src/Patch/Definition/NormalizerComponents/DependencyComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
                 if ($dependsPatterns) {
26 26
                     $matches = array_filter(
27 27
                         array_keys($dependsPatterns),
28
-                        function ($pattern) use ($target) {
28
+                        function($pattern) use ($target) {
29 29
                             return preg_match('#' . $pattern . '#', $target);
30 30
                         }
31 31
                     );
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             }
66 66
         }
67 67
         
68
-        $patterns = array_map(function ($candidate) {
68
+        $patterns = array_map(function($candidate) {
69 69
             return trim($candidate, '*')
70 70
                 ? str_replace(chr(32), '.*', preg_quote(str_replace('*', chr(32), $candidate), '#'))
71 71
                 : preg_quote($candidate);
Please login to merge, or discard this patch.
src/Shell.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
         $output = '';
47 47
         
48
-        $outputHandler = function ($type, $data) use ($logger, &$output) {
48
+        $outputHandler = function($type, $data) use ($logger, &$output) {
49 49
             $output .= $data;
50 50
             
51 51
             $logger->writeVerbose(
Please login to merge, or discard this patch.
src/Patch/DefinitionList/Transformer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
     {
14 14
         $groups = $this->createTargetsList($patches);
15 15
 
16
-        return array_map(function ($group) {
17
-            $fingerprints = array_map(function ($item) {
16
+        return array_map(function($group) {
17
+            $fingerprints = array_map(function($item) {
18 18
                 return sprintf(
19 19
                     '%s, %s:%s',
20 20
                     isset($item[Patch::LABEL]) ? $item[Patch::LABEL] : '{no label}',
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
             }, $group);
25 25
 
26 26
             $keys = array_map(
27
-                function ($key, $item) {
27
+                function($key, $item) {
28 28
                     return sprintf(
29 29
                         '%s%s%s',
30 30
                         $item[Patch::OWNER],
Please login to merge, or discard this patch.
src/Patch/PackageResolvers/FullResetResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         return $this->patchListUtils->compareLists(
31 31
             $patches,
32 32
             $repositoryState,
33
-            function ($packagePatches, $packageState) use ($patchDataUtils) {
33
+            function($packagePatches, $packageState) use ($patchDataUtils) {
34 34
                 return $packagePatches
35 35
                     || $patchDataUtils->shouldReinstall($packageState, $packagePatches);
36 36
             }
Please login to merge, or discard this patch.
src/Patch/PackageResolvers/MissingPatchesResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         return $this->patchListUtils->compareLists(
31 31
             $patches,
32 32
             $repositoryState,
33
-            function ($packagePatches, $packageState) use ($patchDataUtils) {
33
+            function($packagePatches, $packageState) use ($patchDataUtils) {
34 34
                 return $patchDataUtils->shouldReinstall(
35 35
                     $packageState,
36 36
                     $packagePatches
Please login to merge, or discard this patch.
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/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 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.