| @@ -148,7 +148,7 @@ | ||
| 148 | 148 |              try { | 
| 149 | 149 | $modxPackages->requirePackage($info['signature'], $info['latest'], $info['provider']); | 
| 150 | 150 | |
| 151 | -            }  catch (TransportNotFoundException $exception) { | |
| 151 | +            } catch (TransportNotFoundException $exception) { | |
| 152 | 152 |                  $output->writeln('Error: '.$exception->getMessage()); | 
| 153 | 153 | |
| 154 | 154 |              } catch (TransportException $exception) { | 
| @@ -148,7 +148,7 @@ | ||
| 148 | 148 |              try { | 
| 149 | 149 | $modxPackages->requirePackage($info['signature'], $info['latest'], $info['provider']); | 
| 150 | 150 | |
| 151 | -            }  catch (TransportNotFoundException $exception) { | |
| 151 | +            } catch (TransportNotFoundException $exception) { | |
| 152 | 152 |                  $output->writeln('Error: '.$exception->getMessage()); | 
| 153 | 153 | |
| 154 | 154 |              } catch (TransportException $exception) { | 
| @@ -66,19 +66,19 @@ | ||
| 66 | 66 |                  if (isset($package['updates']) && isset($package['updates']['count']) && $package['updates']['count'] > 0) { | 
| 67 | 67 | $update = ''; | 
| 68 | 68 |                      foreach ($package['updates']['versions'] as $key => $version) { | 
| 69 | - $update .= ', ' . $version['version']; | |
| 69 | + $update .= ', '.$version['version']; | |
| 70 | 70 | } | 
| 71 | - $update = 'Yes ' . trim(trim($update, ',')); | |
| 71 | + $update = 'Yes '.trim(trim($update, ',')); | |
| 72 | 72 | } | 
| 73 | 73 | |
| 74 | 74 | $installed = 'No'; | 
| 75 | 75 |                  if (!is_null($package['installed']) && $package['installed'] != '0000-00-00 00:00:00') { | 
| 76 | -                    $installed = utf8_encode(date($modx->getOption('manager_date_format') . ', ' . $modx->getOption('manager_time_format'), strtotime($package['installed']))); | |
| 76 | +                    $installed = utf8_encode(date($modx->getOption('manager_date_format').', '.$modx->getOption('manager_time_format'), strtotime($package['installed']))); | |
| 77 | 77 | } | 
| 78 | 78 | |
| 79 | 79 |                  if ($update_all && $update != 'No') { | 
| 80 | 80 | // update | 
| 81 | -                    $output->writeln('### Orchestrator is attempting to update the MODX Extra Package: ' . $package['signature'] .' ###'); | |
| 81 | +                    $output->writeln('### Orchestrator is attempting to update the MODX Extra Package: '.$package['signature'].' ###'); | |
| 82 | 82 | |
| 83 | 83 |                      try { | 
| 84 | 84 | $modxPackages->requirePackage($package['signature'], $latest); | 
| @@ -69,19 +69,19 @@ | ||
| 69 | 69 | |
| 70 | 70 |              switch (strtolower(trim($method))) { | 
| 71 | 71 | case 'remove': | 
| 72 | -                    $output->writeln('### Orchestrator is attempting to remove the MODX Extra Package: ' . $signature . ' and for the provider: ' . $provider_name . '  ###'); | |
| 72 | +                    $output->writeln('### Orchestrator is attempting to remove the MODX Extra Package: '.$signature.' and for the provider: '.$provider_name.'  ###'); | |
| 73 | 73 | // uninstall/remove | 
| 74 | 74 | $modxPackages->removePackage($signature); | 
| 75 | 75 | |
| 76 | 76 | break; | 
| 77 | 77 | case 'uninstall': | 
| 78 | -                    $output->writeln('### Orchestrator is attempting to uninstall the MODX Extra Package: ' . $signature . ' and for the provider: ' . $provider_name . '  ###'); | |
| 78 | +                    $output->writeln('### Orchestrator is attempting to uninstall the MODX Extra Package: '.$signature.' and for the provider: '.$provider_name.'  ###'); | |
| 79 | 79 | // uninstall/remove | 
| 80 | 80 | $modxPackages->unInstallPackage($signature); | 
| 81 | 81 | break; | 
| 82 | 82 | |
| 83 | 83 | default: | 
| 84 | -                $output->writeln('### Orchestrator is attempting to require the MODX Extra Package: ' . $signature . ' and for the provider: ' . $provider_name . '  ###'); | |
| 84 | +                $output->writeln('### Orchestrator is attempting to require the MODX Extra Package: '.$signature.' and for the provider: '.$provider_name.'  ###'); | |
| 85 | 85 | |
| 86 | 86 | $modxPackages->requirePackage($signature, $latest, $provider_name); | 
| 87 | 87 | } |