Passed
Push — master ( 72a82b...e53da8 )
by Bernardo
03:50
created
src/ValueObject/Package.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     protected function getMajorVersion()
184 184
     {
185
-        list($majorVersion, , ) = $this->getSemanticVersioning();
185
+        list($majorVersion,,) = $this->getSemanticVersioning();
186 186
 
187 187
         return $majorVersion;
188 188
     }
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      */
193 193
     protected function getMinorVersion()
194 194
     {
195
-        list(, $minorVersion, ) = $this->getSemanticVersioning();
195
+        list(, $minorVersion,) = $this->getSemanticVersioning();
196 196
 
197 197
         return $minorVersion;
198 198
     }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      */
203 203
     protected function getPatchVersion()
204 204
     {
205
-        list(, , $patchVersion) = $this->getSemanticVersioning();
205
+        list(,, $patchVersion) = $this->getSemanticVersioning();
206 206
 
207 207
         return $patchVersion;
208 208
     }
Please login to merge, or discard this patch.
src/Formatter/JsonFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             $report[] = $row;
57 57
         }
58 58
 
59
-        $jsonReport =  defined('JSON_PRETTY_PRINT') ? json_encode($report, JSON_PRETTY_PRINT) : json_encode($report);
59
+        $jsonReport = defined('JSON_PRETTY_PRINT') ? json_encode($report, JSON_PRETTY_PRINT) : json_encode($report);
60 60
         $out->writeln($jsonReport);
61 61
     }
62 62
 }
Please login to merge, or discard this patch.
src/Api/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         // Wait till all the requests are finished.
69 69
         (new EachPromise($promises, [
70 70
             'concurrency' => 10,
71
-            'fulfilled' => function ($infoPackage) use (&$infoPackages) {
71
+            'fulfilled' => function($infoPackage) use (&$infoPackages) {
72 72
                 $infoPackages[] = $infoPackage;
73 73
             },
74 74
         ]))->promise()->wait();
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
 
111 111
         $result = [];
112 112
         foreach ($packages as $package) {
113
-            $result[] =  $this->httpClient->requestAsync('GET', $this->packagistUrl.'/p/'.$package->getName().'.json')
114
-                ->then(function (ResponseInterface $response) {
113
+            $result[] = $this->httpClient->requestAsync('GET', $this->packagistUrl.'/p/'.$package->getName().'.json')
114
+                ->then(function(ResponseInterface $response) {
115 115
                     return json_decode($response->getBody(), true);
116 116
                 });
117 117
         }
Please login to merge, or discard this patch.