Completed
Push — master ( 294b2e...9a0c7b )
by Morgan
04:19
created
src/AutoDeployServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,11 +36,11 @@
 block discarded – undo
36 36
 
37 37
     private function registerDeployCommands()
38 38
     {
39
-        $this->app->singleton('command.morphatic.deployinit', function ($app) {
39
+        $this->app->singleton('command.morphatic.deployinit', function($app) {
40 40
             return $app['Morphatic\AutoDeploy\Commands\DeployInitCommand'];
41 41
         });
42 42
 
43
-        $this->app->singleton('command.morphatic.deployinfo', function ($app) {
43
+        $this->app->singleton('command.morphatic.deployinfo', function($app) {
44 44
             return $app['Morphatic\AutoDeploy\Commands\DeployInfoCommand'];
45 45
         });
46 46
 
Please login to merge, or discard this patch.
src/Controllers/DeployController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
             'Timestamp' => date('r'),
120 120
             'output' => '',
121 121
         ];
122
-        $whitelist = ['backupDatabase','pull','copyEnv','composer','npm','migrate','seed','deploy'];
122
+        $whitelist = ['backupDatabase', 'pull', 'copyEnv', 'composer', 'npm', 'migrate', 'seed', 'deploy'];
123 123
         foreach ($steps as $step) {
124 124
             if (in_array($step, $whitelist) && !$this->{$step}()) {
125 125
                 $this->log->error('Deploy failed.', $this->result);
Please login to merge, or discard this patch.