@@ -53,8 +53,7 @@ |
||
| 53 | 53 | foreach ($arguments as $argument) { |
| 54 | 54 | if ($argument{0} == '-') { |
| 55 | 55 | $task->rawArg($argument); |
| 56 | - } |
|
| 57 | - else { |
|
| 56 | + } else { |
|
| 58 | 57 | $feature = "tests/features/$argument"; |
| 59 | 58 | |
| 60 | 59 | if (file_exists("$feature.feature")) { |
@@ -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. |
@@ -228,12 +227,10 @@ discard block |
||
| 228 | 227 | $info['download']['branch'] = $package['version']; |
| 229 | 228 | } |
| 230 | 229 | $info['download']['revision'] = $package['source']['reference']; |
| 231 | - } |
|
| 232 | - else { |
|
| 230 | + } else { |
|
| 233 | 231 | if ($package['type'] == 'drupal-core') { |
| 234 | 232 | $version = $package['version']; |
| 235 | - } |
|
| 236 | - else { |
|
| 233 | + } else { |
|
| 237 | 234 | // Make tag versioning Drupal-friendly. 8.1.0-alpha1 => 8.x-1.0-alpha1. |
| 238 | 235 | $version = sprintf( |
| 239 | 236 | '%d.x-%s', |
@@ -126,8 +126,7 @@ |
||
| 126 | 126 | $coordinates = $this->getSetting('show_coordinates'); |
| 127 | 127 | if ($coordinates) { |
| 128 | 128 | $summary[] = $this->t('Coordinates are shown'); |
| 129 | - } |
|
| 130 | - else { |
|
| 129 | + } else { |
|
| 131 | 130 | $summary[] = $this->t('Coordinates are hidden'); |
| 132 | 131 | } |
| 133 | 132 | |