Completed
Branch master (622ed3)
by Morgan
08:02
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/Commands/DeployInfoCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@
 block discarded – undo
40 40
 
41 41
             if ($secret && $route) {
42 42
                 $message = "Here is the information you'll need to set up your webhook at Github:\n\n".
43
-                           "Payload URL: https://yourdomain.com/$route\n".
44
-                           "Secret: $secret\n\n".
45
-                           "You can display this information again by running `php artisan deploy:info`\n";
43
+                            "Payload URL: https://yourdomain.com/$route\n".
44
+                            "Secret: $secret\n\n".
45
+                            "You can display this information again by running `php artisan deploy:info`\n";
46 46
             }
47 47
         } else {
48 48
             // create a new .env file and add the necessary keys
Please login to merge, or discard this patch.
src/Controllers/DeployController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function index(Request $request)
16 16
     {
17 17
         // which event are we handling?
18
-         switch ($request->header('X-Github-Event')) {
18
+            switch ($request->header('X-Github-Event')) {
19 19
             case 'release':
20 20
                 break;
21 21
             case 'push':
Please login to merge, or discard this patch.