@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | public function LogLink() { |
| 76 | - return $this->Link() . '/log'; |
|
| 76 | + return $this->Link().'/log'; |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | public function canView($member = null) { |
@@ -205,12 +205,12 @@ discard block |
||
| 205 | 205 | */ |
| 206 | 206 | public function getFullDeployMessages() { |
| 207 | 207 | $strategy = $this->getDeploymentStrategy(); |
| 208 | - if ($strategy->getActionCode()!=='full') return null; |
|
| 208 | + if($strategy->getActionCode() !== 'full') return null; |
|
| 209 | 209 | |
| 210 | 210 | $changes = $strategy->getChangesModificationNeeded(); |
| 211 | 211 | $messages = []; |
| 212 | - foreach ($changes as $change => $details) { |
|
| 213 | - if ($change==='Code version') continue; |
|
| 212 | + foreach($changes as $change => $details) { |
|
| 213 | + if($change === 'Code version') continue; |
|
| 214 | 214 | |
| 215 | 215 | $messages[] = [ |
| 216 | 216 | 'Flag' => sprintf( |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | ]; |
| 222 | 222 | } |
| 223 | 223 | |
| 224 | - if (empty($messages)) { |
|
| 224 | + if(empty($messages)) { |
|
| 225 | 225 | $messages[] = [ |
| 226 | 226 | 'Flag' => '', |
| 227 | 227 | 'Text' => '<i>Environment changes have been made.</i>' |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | |
| 271 | 271 | // if there is a compare URL, and a description or a change (something actually changed) |
| 272 | 272 | // then show the URL. Otherwise don't show anything, as there is no comparison to be made. |
| 273 | - if ($changed || $description) { |
|
| 273 | + if($changed || $description) { |
|
| 274 | 274 | $compareUrl = isset($change['compareUrl']) ? $change['compareUrl'] : ''; |
| 275 | 275 | } |
| 276 | 276 | |