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 ( 252bfa...0910fc )
by Pedro
19:17 queued 04:19
created
src/app/Http/Controllers/Auth/VerifyEmailController.php 1 patch
Spacing   +5 added lines, -5 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,21 +21,21 @@  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 ?? 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
         $this->getUserOrRedirect($request);
41 41
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         return $request->user(backpack_guard_name()) ?? (new UserFromCookie())();
74 74
     }
75 75
 
76
-    private function getUserOrRedirect(Request $request): ?\Illuminate\Contracts\Auth\MustVerifyEmail|\Illuminate\Http\RedirectResponse
76
+    private function getUserOrRedirect(Request $request): ?\Illuminate\Contracts\Auth\MustVerifyEmail | \Illuminate\Http\RedirectResponse
77 77
     {        
78 78
         if ($user = $request->getUser($request)) {
79 79
             return $user;
Please login to merge, or discard this patch.