@@ -112,8 +112,7 @@ discard block |
||
112 | 112 | $name = 'drupal'; |
113 | 113 | } |
114 | 114 | $info['projects'][$name] = $this->buildProject($package); |
115 | - } |
|
116 | - elseif ($this->isLightning($package)) { |
|
115 | + } elseif ($this->isLightning($package)) { |
|
117 | 116 | $info['projects'][$name] = $this->buildProject($package); |
118 | 117 | |
119 | 118 | // The Lightning project uses semantic versioning. |
@@ -283,8 +282,7 @@ discard block |
||
283 | 282 | 'type' => 'get', |
284 | 283 | 'url' => $package['dist']['url'], |
285 | 284 | ]; |
286 | - } |
|
287 | - else { |
|
285 | + } else { |
|
288 | 286 | $download = [ |
289 | 287 | 'type' => 'git', |
290 | 288 | 'url' => str_replace('[email protected]:', 'https://github.com/', $package['source']['url']), |