@@ -113,8 +113,7 @@ discard block |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | $info['projects'][$name] = $this->buildProject($package); |
116 | - } |
|
117 | - elseif ($this->isLightning($package)) { |
|
116 | + } elseif ($this->isLightning($package)) { |
|
118 | 117 | $info['projects'][$name] = $this->buildProject($package); |
119 | 118 | |
120 | 119 | // The Lightning project uses semantic versioning. |
@@ -293,8 +292,7 @@ discard block |
||
293 | 292 | 'type' => 'get', |
294 | 293 | 'url' => $package['dist']['url'], |
295 | 294 | ]; |
296 | - } |
|
297 | - else { |
|
295 | + } else { |
|
298 | 296 | $download = [ |
299 | 297 | 'type' => 'git', |
300 | 298 | 'url' => str_replace('[email protected]:', 'https://github.com/', $package['source']['url']), |