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 ( 52c134...669823 )
by Pedro
26:47 queued 11:49
created
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(): \Illuminate\Contracts\View\View|\Illuminate\Http\RedirectResponse
38
+    public function emailVerificationRequired(): \Illuminate\Contracts\View\View | \Illuminate\Http\RedirectResponse
39 39
     {
40 40
         $user = $this->getUserFromCookie();
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.
src/app/Library/Auth/AuthenticatesUsers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         }
49 49
 
50 50
         if ($this->attemptLogin($request)) {
51
-            if (config('backpack.base.setup_email_verification_routes', false) ) {
51
+            if (config('backpack.base.setup_email_verification_routes', false)) {
52 52
                 $user = $this->guard()->user();
53 53
                 if ($user->email_verified_at) {
54 54
                     return $this->sendLoginResponse($request);
Please login to merge, or discard this patch.