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 ( 2c0e7a...d0f070 )
by José
03:15
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/Models/BloodType.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 = ['description', 'code'];
21
+    protected $filliable = [ 'description', 'code' ];
22 22
 }
Please login to merge, or discard this patch.
app/Http/Controllers/DonorController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @param \Illuminate\Http\Request $request
36 36
      *
37
-     * @return \Illuminate\Http\Response
37
+     * @return \Illuminate\Http\RedirectResponse
38 38
      */
39 39
     public function store(Request $request)
40 40
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         );
48 48
 
49 49
         $donor = new Donor();
50
-        $donor->user_id = $request['user_id'];
51
-        $donor->blood_type_id = $request['blood_type_id'];
50
+        $donor->user_id = $request[ 'user_id' ];
51
+        $donor->blood_type_id = $request[ 'blood_type_id' ];
52 52
         $donor->save();
53 53
 
54 54
         return redirect()->route('user.profile');
Please login to merge, or discard this patch.
app/Http/Controllers/UsersController.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.