Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — development ( aa3faf...1831fb )
by José
04:34
created
app/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     protected function unauthenticated($request, AuthenticationException $exception)
58 58
     {
59 59
         if ($request->expectsJson()) {
60
-            return response()->json(['error' => 'Unauthenticated.'], 401);
60
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
61 61
         }
62 62
 
63 63
         return redirect()->guest('login');
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
      */
35 35
     public function __construct()
36 36
     {
37
-        $this->middleware('guest', ['except' => 'logout']);
37
+        $this->middleware('guest', [ 'except' => 'logout' ]);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
          * Authenticate the user's personal channel...
21 21
          */
22 22
         Broadcast::channel(
23
-            'App.User.*', function ($user, $userId) {
23
+            'App.User.*', function($user, $userId) {
24 24
                 return (int) $user->id === (int) $userId;
25 25
             }
26 26
         );
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             [
56 56
             'middleware' => 'web',
57 57
             'namespace' => $this->namespace,
58
-            ], function ($router) {
58
+            ], function($router) {
59 59
                 include base_path('routes/web.php');
60 60
             }
61 61
         );
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             'middleware' => 'api',
76 76
             'namespace' => $this->namespace,
77 77
             'prefix' => 'api',
78
-            ], function ($router) {
78
+            ], function($router) {
79 79
                 include base_path('routes/api.php');
80 80
             }
81 81
         );
Please login to merge, or discard this patch.
app/Http/Controllers/API/CampaignController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DoeSangue\Http\Requests\UserProfileRequest;
6 6
 use DoeSangue\Models\User;
7
-use Illuminate\Http\Request;
8 7
 use DoeSangue\Http\Controllers\Controller;
9 8
 
10 9
 class UsersController extends Controller
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
     public function store(CreateCampaignRequest $request)
21 21
     {
22 22
         $campaign = new Campaign();
23
-        $campaign->title = $request['title'];
24
-        $campaign->expires = $request['expires'];
23
+        $campaign->title = $request[ 'title' ];
24
+        $campaign->expires = $request[ 'expires' ];
25 25
         $campaign->save();
26 26
 
27 27
         return response()->json(compact('campaign')->with('message', 'Campaign stored sucessfully'));
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
     public function update(UpdateCampaignRequest $request, $id)
38 38
     {
39 39
         $campaign = Campaign::find($id);
40
-        $campaign->title = $request['title'];
41
-        $campaign->expires = $request['expires'];
40
+        $campaign->title = $request[ 'title' ];
41
+        $campaign->expires = $request[ 'expires' ];
42 42
         $campaign->save();
43 43
 
44 44
         return response()->json($campaign)->with('message', 'Campanha atualizada');
Please login to merge, or discard this patch.
app/Http/Controllers/API/DonorsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DoeSangue\Http\Requests\UserProfileRequest;
6 6
 use DoeSangue\Models\User;
7
-use Illuminate\Http\Request;
8 7
 use DoeSangue\Http\Controllers\Controller;
9 8
 
10 9
 class UsersController extends Controller
Please login to merge, or discard this patch.
app/Http/Controllers/API/PostsController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param  UpdatePostRequest $request
45 45
      * @param  integer $id
46 46
      *
47
-     * @return boolean
47
+     * @return \Illuminate\Http\JsonResponse
48 48
      */
49 49
 
50 50
     public function update(UpdatePostRequest $request, $id)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use DoeSangue\Http\Requests\UserProfileRequest;
6 6
 use DoeSangue\Models\User;
7
-use Illuminate\Http\Request;
8 7
 use DoeSangue\Http\Controllers\Controller;
9 8
 
10 9
 class UsersController extends Controller
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@  discard block
 block discarded – undo
28 28
     public function store(CreatePostRequest $request)
29 29
     {
30 30
         $post = new Post();
31
-        $post->title = $request['title'];
32
-        $post->content = $request['content'];
33
-        $post->image = $request['image'];
34
-        $post->user_id = $request['user_id'];
31
+        $post->title = $request[ 'title' ];
32
+        $post->content = $request[ 'content' ];
33
+        $post->image = $request[ 'image' ];
34
+        $post->user_id = $request[ 'user_id' ];
35 35
 
36 36
         return response()->json(compact('post'));
37 37
     }
@@ -50,13 +50,13 @@  discard block
 block discarded – undo
50 50
     public function update(UpdatePostRequest $request, $id)
51 51
     {
52 52
         $post = Campaign::find($id);
53
-        $post->title = $request['title'];
54
-        $post->title = $request['content'];
55
-        $post->title = $request['image'];
56
-        $post->title = $request['user_id'];
53
+        $post->title = $request[ 'title' ];
54
+        $post->title = $request[ 'content' ];
55
+        $post->title = $request[ 'image' ];
56
+        $post->title = $request[ 'user_id' ];
57 57
         $post->save();
58 58
 
59
-        return response()->json(['message' => 'Post Updated']);
59
+        return response()->json([ 'message' => 'Post Updated' ]);
60 60
     }
61 61
 
62 62
     public function destroy($id)
@@ -64,6 +64,6 @@  discard block
 block discarded – undo
64 64
         $post = Post::findOrFail($id);
65 65
         $post->delete();
66 66
 
67
-        return response()->json(['message' => 'Post delected']);
67
+        return response()->json([ 'message' => 'Post delected' ]);
68 68
     }
69 69
 }
Please login to merge, or discard this patch.
app/Mail/CampaignPublished.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Bus\Queueable;
7 7
 use Illuminate\Mail\Mailable;
8 8
 use Illuminate\Queue\SerializesModels;
9
-use Illuminate\Contracts\Queue\ShouldQueue;
10 9
 
11 10
 class CampaignPublished extends Mailable
12 11
 {
Please login to merge, or discard this patch.
app/Models/Donor.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     protected $filliable = [
22 22
                             'blood_type_id',
23
-                           ];
23
+                            ];
24 24
 
25 25
     /**
26 26
      * The primary key for the model.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public $incrementing = false;
38 38
 
39
-    protected $hidden = ['created_at', 'updated_at'];
39
+    protected $hidden = [ 'created_at', 'updated_at' ];
40 40
     /**
41 41
      * Related.
42 42
      *
Please login to merge, or discard this patch.