Test Failed
Push — master ( f562c0...ed7d3a )
by Dominik
02:11
created
app/Serialization/CourseMapping.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Serialization;
6 6
 
@@ -73,17 +73,17 @@  discard block
 block discarded – undo
73 73
     {
74 74
         return [
75 75
             new LinkMapping('read', new CallbackLinkSerializer(
76
-                function (Request $request, Course $course) {
76
+                function(Request $request, Course $course) {
77 77
                     return $this->linkGenerator->generateLink('course_read', ['id' => $course->getId()]);
78 78
                 }
79 79
             )),
80 80
             new LinkMapping('update', new CallbackLinkSerializer(
81
-                function (Request $request, Course $course) {
81
+                function(Request $request, Course $course) {
82 82
                     return $this->linkGenerator->generateLink('course_update', ['id' => $course->getId()]);
83 83
                 }
84 84
             )),
85 85
             new LinkMapping('delete', new CallbackLinkSerializer(
86
-                function (Request $request, Course $course) {
86
+                function(Request $request, Course $course) {
87 87
                     return $this->linkGenerator->generateLink('course_delete', ['id' => $course->getId()]);
88 88
                 }
89 89
             )),
Please login to merge, or discard this patch.
app/Controller/Course/CourseSearchController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller\Course;
6 6
 
Please login to merge, or discard this patch.
app/Controller/Course/CourseReadController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller\Course;
6 6
 
Please login to merge, or discard this patch.
app/Controller/Course/CourseCreateController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller\Course;
6 6
 
Please login to merge, or discard this patch.
app/Controller/Course/CourseDeleteController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller\Course;
6 6
 
Please login to merge, or discard this patch.
app/Controller/Course/CourseUpdateController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Controller\Course;
6 6
 
Please login to merge, or discard this patch.
app/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton;
6 6
 
@@ -16,9 +16,9 @@  discard block
 block discarded – undo
16 16
 /* @var App $app */
17 17
 /* @var Container $container */
18 18
 
19
-$app->group('/api', function () use ($app, $container) {
19
+$app->group('/api', function() use ($app, $container) {
20 20
     $app->get('', IndexController::class)->setName('index');
21
-    $app->group('/courses', function () use ($app, $container) {
21
+    $app->group('/courses', function() use ($app, $container) {
22 22
         $app->get('', CourseSearchController::class)->setName('course_search');
23 23
         $app->post('', CourseCreateController::class)->setName('course_create');
24 24
         $app->get('/{id}', CourseReadController::class)->setName('course_read');
Please login to merge, or discard this patch.
app/Deserialization/CourseSearchMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Deserialization;
6 6
 
Please login to merge, or discard this patch.
app/Deserialization/CourseMapping.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Chubbyphp\ApiSkeleton\Deserialization;
6 6
 
Please login to merge, or discard this patch.