Passed
Push — master ( cd44eb...37d45b )
by Ger
10:22
created
app/Http/Controllers/Responses/CreateResponseController.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 App\Http\Controllers\Responses;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/Posts/CreatePostController.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 App\Http\Controllers\Posts;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/Posts/GetPostController.php 1 patch
Spacing   +2 added lines, -2 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 App\Http\Controllers\Posts;
6 6
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
                 $this->bus->dispatch(new FindPostQuery($postId))
22 22
             );
23 23
         } catch (PostNotExist $e) {
24
-            return JsonResponse::create(['message' => $e->getMessage()], 404);
24
+            return JsonResponse::create([ 'message' => $e->getMessage() ], 404);
25 25
         }
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
app/Http/Controllers/SubForums/FindAllSubForumsController.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 App\Http\Controllers\SubForums;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/SubForums/GetSubForumController.php 1 patch
Spacing   +2 added lines, -2 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 App\Http\Controllers\SubForums;
6 6
 
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
                 $this->bus->dispatch(new FindSubForumQuery($subForumId))
22 22
             );
23 23
         } catch (SubForumNotExist $e) {
24
-            return JsonResponse::create(['message' => $e->getMessage()], 404);
24
+            return JsonResponse::create([ 'message' => $e->getMessage() ], 404);
25 25
         }
26 26
     }
27 27
 }
Please login to merge, or discard this patch.
app/Models/Post.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 App\Models;
6 6
 
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
app/Providers/PersistenceServiceProvider.php 1 patch
Spacing   +2 added lines, -2 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 App\Providers;
6 6
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
         $config = config("persistence.repository-gateways");
16 16
 
17 17
         foreach ($config as $gatewayInterface => $gatewayConcretions) {
18
-            $this->app->singleton($gatewayInterface, $gatewayConcretions[$driver]);
18
+            $this->app->singleton($gatewayInterface, $gatewayConcretions[ $driver ]);
19 19
         }
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
app/Models/Response.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 App\Models;
6 6
 
Please login to merge, or discard this patch.