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

Passed
Branch laravel-55 (7467ef)
by José
03:23
created
app/Http/Controllers/API/V1/CommentsController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
             );
100 100
         }
101 101
 
102
-         // Notify error in not found
102
+          // Notify error in not found
103 103
         if (!$comment) {
104 104
             return response()->json(
105 105
                 [
Please login to merge, or discard this patch.
app/Console/Commands/MakeModelCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     {
48 48
         parent::__construct();
49 49
     }
50
-    */
50
+     */
51 51
 
52 52
     /**
53 53
      * Execute the console command.
@@ -58,5 +58,5 @@  discard block
 block discarded – undo
58 58
     {
59 59
         //
60 60
     }
61
-    */
61
+     */
62 62
 }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      *
40 40
      * These routes all receive session state, CSRF protection, etc.
41 41
      */
42
-     /*
42
+      /*
43 43
     protected function mapWebRoutes()
44 44
     {
45 45
         Route::group(
Please login to merge, or discard this patch.
app/Http/Controllers/API/V1/CampaignController.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,14 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace DoeSangue\Http\Controllers\API\V1;
4 4
 
5
-use DoeSangue\Http\Requests\UpdateCampaignRequest;
6
-use DoeSangue\Http\Requests\CreateCampaignRequest;
7 5
 use DoeSangue\Http\Controllers\Controller;
8
-use Illuminate\Support\Facades\Mail;
9
-use DoeSangue\Models\Donor;
10 6
 use DoeSangue\Models\Campaign;
11
-use Carbon\Carbon;
12
-use Tymon\JWTAuth\Facades\JWTAuth;
13 7
 
14 8
 class CampaignController extends Controller
15 9
 {
Please login to merge, or discard this patch.
app/Http/Controllers/API/V1/User/CampaignController.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\V1\User;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use DoeSangue\Http\Controllers\Controller;
7 6
 
8 7
 use DoeSangue\Models\Campaign;
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 
112 112
         }
113 113
 
114
-       // return redirect()->guest('login');
114
+        // return redirect()->guest('login');
115 115
     }
116 116
 
117 117
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,24 +57,24 @@  discard block
 block discarded – undo
57 57
     public function render($request, Exception $exception)
58 58
     {
59 59
         // Validate 404 exceptions.
60
-        if($exception instanceof NotFoundHttpException) {
60
+        if ($exception instanceof NotFoundHttpException) {
61 61
             return response()->json(
62 62
                 [
63 63
                 'error' => [
64 64
                     'description' => 'Invalid URI',
65
-                    'messages' => []
65
+                    'messages' => [ ]
66 66
                 ]
67 67
                 ], 404
68 68
             );
69 69
         }
70 70
 
71 71
         // Method not allowed exception handler
72
-        if($exception instanceof MethodNotAllowedHttpException) {
72
+        if ($exception instanceof MethodNotAllowedHttpException) {
73 73
             return response()->json(
74 74
                 [
75 75
                 'error' => [
76 76
                     'description' => 'Method Not Allowed',
77
-                    'messages' => []
77
+                    'messages' => [ ]
78 78
                 ]
79 79
                 ], 405
80 80
             );
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     {
108 108
         if ($request->expectsJson()) {
109 109
 
110
-            return response()->json(['error' => 'Unauthenticated.'], 401);
110
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
111 111
 
112 112
         }
113 113
 
Please login to merge, or discard this patch.