Passed
Push — master ( ce1e4f...1e5872 )
by Josh
04:31
created
src/Deploy/Deploy.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Console/Command/ListMODXPackages.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,19 +66,19 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Console/Command/RequireMODXPackages.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,19 +69,19 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.