Passed
Pull Request — master (#23)
by Ronan
04:13
created
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 $app->map(['GET', 'POST'], '/deploy/{key}/{deployment}', ProjectController::class . ':redeploy')
27 27
     ->setName('project.redeploy');
28 28
 
29
-$app->group('/api/project', function (App $app) {
29
+$app->group('/api/project', function(App $app) {
30 30
     $app->map(['GET'], '/{key}/events/{number}', ApiController::class . ':events');
31 31
 });
32 32
 
Please login to merge, or discard this patch.
src/Controller/Traits/ApiTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         if (is_null($code)) {
48 48
             $code = 400;
49 49
         }
50
-        $data = [ 'message' => $message ];
50
+        $data = ['message' => $message];
51 51
         return $this->renderJson(
52 52
             $response,
53 53
             'error',
Please login to merge, or discard this patch.
src/Model/Finder/EventFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
                         $arr[$header]['times']['start']
73 73
                     );
74 74
                 }
75
-                $header       = $event->header;
75
+                $header = $event->header;
76 76
                 $arr[$header]['id'] = $event->id;
77 77
                 $arr[$header]['times'] = [
78 78
                     'start' => $event->created,
Please login to merge, or discard this patch.