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/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.
app/Models/Campaign.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $filliable = ['title'];
21
+    protected $filliable = [ 'title' ];
22 22
 
23
-    protected $hidden = ['created_at', 'updated_at'];
23
+    protected $hidden = [ 'created_at', 'updated_at' ];
24 24
 }
Please login to merge, or discard this patch.
app/Models/Post.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
                             'title',
24 24
                             'content',
25 25
                             'image',
26
-                           ];
26
+                            ];
27 27
 
28 28
     protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
29 29
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
                             'image',
26 26
                            ];
27 27
 
28
-    protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
28
+    protected $hidden = [ 'created_at', 'updated_at', 'deleted_at' ];
29 29
     /**
30 30
      * Related.
31 31
      *
Please login to merge, or discard this patch.
app/Models/Comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,5 +18,5 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected $filliable = [];
21
+    protected $filliable = [ ];
22 22
 }//end class
Please login to merge, or discard this patch.
app/Models/User.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@  discard block
 block discarded – undo
15 15
      * @var array
16 16
      */
17 17
     protected $fillable = [
18
-                           'name',
19
-                           'email',
20
-                           'username',
21
-                           'phone',
22
-                           'bio',
23
-                           'password',
18
+                            'name',
19
+                            'email',
20
+                            'username',
21
+                            'phone',
22
+                            'bio',
23
+                            'password',
24 24
                           ];
25 25
 
26 26
     /**
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @var array
30 30
      */
31 31
     protected $hidden = [
32
-                         'password',
33
-                         'remember_token',
32
+                          'password',
33
+                          'remember_token',
34 34
                         ];
35 35
 }//end class
Please login to merge, or discard this patch.