Passed
Branch master (3e058b)
by Allan
03:49 queued 01:54
created
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->getSourcePath($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/ReleaseDetailsResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
 
53 53
         $reducedLines = explode(PHP_EOL, implode(
54 54
             ' ',
55
-            array_map(function ($line) {
56
-                return !trim($line) ? PHP_EOL . PHP_EOL: $line;
55
+            array_map(function($line) {
56
+                return !trim($line) ? PHP_EOL . PHP_EOL : $line;
57 57
             }, $overviewLines)
58 58
         ));
59 59
         
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     private function composePath()
182 182
     {
183
-        $pathSegments = array_map(function ($item) {
183
+        $pathSegments = array_map(function($item) {
184 184
             return rtrim($item, \DIRECTORY_SEPARATOR);
185 185
         }, func_get_args());
186 186
 
Please login to merge, or discard this patch.
src/Extractors/ErrorExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
             $messages[] = $exception->getMessage();
16 16
         } while ($exception = $exception->getPrevious());
17 17
 
18
-        array_walk($messages, function (&$message, $index) {
18
+        array_walk($messages, function(&$message, $index) {
19 19
             $message = sprintf('#%s %s', $index, $message);
20 20
         });
21 21
 
Please login to merge, or discard this patch.
src/Commands/InfoCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
         $groups = $detailsResolver->resolveChangeGroups($details);
130 130
 
131 131
         if ($briefMode) {
132
-            $summary = array_map(function ($key, $group) {
132
+            $summary = array_map(function($key, $group) {
133 133
                 return sprintf('%s (%s)', $key, count($group));
134 134
             }, array_keys($groups), $groups);
135 135
 
Please login to merge, or discard this patch.
src/Generators/TemplateOutputGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,20 +24,20 @@
 block discarded – undo
24 24
         $options = array(
25 25
             'loader' => new \Mustache_Loader_FilesystemLoader(DIRECTORY_SEPARATOR),
26 26
             'partials_loader' => new TemplateLoader(
27
-                function ($name) use ($templatePaths) {
27
+                function($name) use ($templatePaths) {
28 28
                     return $templatePaths[$name];
29 29
                 }
30 30
             ),
31 31
             'strict_callables' => true,
32 32
             'helpers' => array(
33
-                'line' => function ($template, $renderer) {
33
+                'line' => function($template, $renderer) {
34 34
                     $character = substr($template, -1);
35 35
                     
36 36
                     $content = $renderer(substr($template, 0, -1));
37 37
                     
38 38
                     return str_pad('', strlen($content), $character);
39 39
                 },
40
-                'title' => function ($text) {
40
+                'title' => function($text) {
41 41
                     return strtoupper($text);
42 42
                 }
43 43
             )
Please login to merge, or discard this patch.
modules/proxy-plugin/src/Plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 /**
3 3
  * Copyright © Vaimo Group. All rights reserved.
4 4
  * See LICENSE_VAIMO.txt for license details.
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     
75 75
     private function composePath()
76 76
     {
77
-        $pathSegments = array_map(function ($item) {
77
+        $pathSegments = array_map(function($item) {
78 78
             return rtrim($item, \DIRECTORY_SEPARATOR);
79 79
         }, func_get_args());
80 80
 
Please login to merge, or discard this patch.