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

Test Failed
Branch development (3f6f83)
by José
04:51
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/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/DonorsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers\API;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use DoeSangue\Http\Controllers\Controller;
7 6
 use DoeSangue\Models\Donor;
8 7
 
Please login to merge, or discard this patch.
app/Http/Controllers/API/PostsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers\API;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use DoeSangue\Http\Requests\CreatePostRequest;
7 6
 use DoeSangue\Http\Requests\UpdatePostRequest;
8 7
 use DoeSangue\Http\Controllers\Controller;
Please login to merge, or discard this patch.
app/Http/Controllers/HomeController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7 5
 class HomeController extends Controller
8 6
 {
9 7
     /**
Please login to merge, or discard this patch.
app/Observers/CampaignObserver.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\Mail\CampaignPublished;
6 6
 use DoeSangue\Models\Campaign;
7
-use DoeSangue\Models\User;
8 7
 use Illuminate\Support\Facades\Mail;
9 8
 
10 9
 class CampaignObserver
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
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Illuminate\Support\Facades\Mail;
9 9
 use DoeSangue\Models\Donor;
10 10
 use DoeSangue\Models\Campaign;
11
-use DoeSangue\Models\User;
12 11
 
13 12
 class CampaignController extends Controller
14 13
 {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $campaign->save();
37 37
 
38 38
         // Send mail to users about the new campaign.
39
- //       Mail::to($campaign->owner->email)->send(new CampaignPublished($campaign));
39
+  //       Mail::to($campaign->owner->email)->send(new CampaignPublished($campaign));
40 40
 
41 41
         return response()->json(
42 42
             [
Please login to merge, or discard this patch.
app/Mail/CampaignPublished.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
         return $this->markdown('email.campaigns.published')
34 34
                     ->with(
35 35
                       [
36
-                       'CampTitle' => $this->campaign->title,
37
-                       'CampOwner' => $this->campaign->owner,
38
-                       'CampCreated' => $this->campaign->created_at->format('d-m-Y'),
39
-                       'CampExpiration' => $this->campaign->expires->format('d-m-Y')
36
+                        'CampTitle' => $this->campaign->title,
37
+                        'CampOwner' => $this->campaign->owner,
38
+                        'CampCreated' => $this->campaign->created_at->format('d-m-Y'),
39
+                        'CampExpiration' => $this->campaign->expires->format('d-m-Y')
40 40
                       ]
41 41
                     );
42 42
     }
Please login to merge, or discard this patch.