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
Push — add-email-confirmation ( 1c36a6...7ea81f )
by Pedro
12:36
created
src/app/Library/Auth/AuthenticatesUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
         return Auth::guard();
206 206
     }
207 207
 
208
-    private function verifyUserBeforeLogin(Request $request): Response|\Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
208
+    private function verifyUserBeforeLogin(Request $request): Response | \Illuminate\Http\RedirectResponse | \Illuminate\Routing\Redirector
209 209
     {
210 210
         $user = $this->guard()->user();
211 211
         if ($user->email_verified_at) {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Auth/VerifyEmailController.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 class VerifyEmailController extends Controller
14 14
 {
15
-    public null|string $redirectTo = null;
15
+    public null | string $redirectTo = null;
16 16
 
17 17
     /**
18 18
      * Create a new controller instance.
@@ -21,25 +21,25 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function __construct()
23 23
     {
24
-        if (! app('router')->getMiddleware()['signed'] ?? null) {
24
+        if (!app('router')->getMiddleware()['signed'] ?? null) {
25 25
             throw new Exception('Missing "signed" alias middleware in App/Http/Kernel.php. More info: https://backpackforlaravel.com/docs/6.x/base-how-to#enable-email-verification-in-backpack-routes');
26 26
         }
27 27
 
28 28
         $this->middleware('signed')->only('verifyEmail');
29 29
         $this->middleware('throttle:'.config('backpack.base.email_verification_throttle_access'))->only('resendVerificationEmail');
30 30
 
31
-        if (! backpack_users_have_email()) {
31
+        if (!backpack_users_have_email()) {
32 32
             abort(500, trans('backpack::base.no_email_column'));
33 33
         }
34 34
         // where to redirect after the email is verified
35 35
         $this->redirectTo = $this->redirectTo !== null ? $this->redirectTo : backpack_url('dashboard');
36 36
     }
37 37
 
38
-    public function emailVerificationRequired(Request $request): \Illuminate\Contracts\View\View|\Illuminate\Http\RedirectResponse
38
+    public function emailVerificationRequired(Request $request): \Illuminate\Contracts\View\View | \Illuminate\Http\RedirectResponse
39 39
     {
40 40
         $user = $this->getUser($request);
41 41
        
42
-        if (! $user) {
42
+        if (!$user) {
43 43
             return redirect()->route('backpack.auth.login');
44 44
         }
45 45
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $user = $this->getUser($request);
57 57
 
58
-        if (! $user) {
58
+        if (!$user) {
59 59
             return redirect()->route('backpack.auth.login');
60 60
         }
61 61
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     {
72 72
         $user = $this->getUser($request);
73 73
 
74
-        if (! $user) {
74
+        if (!$user) {
75 75
             return redirect()->route('backpack.auth.login');
76 76
         }
77 77
 
Please login to merge, or discard this patch.