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
Pull Request — main (#5301)
by Pedro
28:38 queued 17:34
created
src/app/Http/Controllers/Auth/VerifyEmailController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 class VerifyEmailController extends Controller
13 13
 {
14
-    public null|string $redirectTo = null;
14
+    public null | string $redirectTo = null;
15 15
 
16 16
     /**
17 17
      * Create a new controller instance.
@@ -24,14 +24,14 @@  discard block
 block discarded – undo
24 24
 
25 25
         try {
26 26
             $signedMiddleware = new (app('router')->getMiddleware()['signed'])();
27
-        } catch(Throwable) {
27
+        } catch (Throwable) {
28 28
             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');
29 29
         }
30 30
 
31 31
         $this->middleware($signedMiddleware)->only('verifyEmail');
32 32
         $this->middleware('throttle:'.config('backpack.base.email_verification_throttle_access'))->only('resendVerificationEmail');
33 33
 
34
-        if (! backpack_users_have_email()) {
34
+        if (!backpack_users_have_email()) {
35 35
             abort(500, trans('backpack::base.no_email_column'));
36 36
         }
37 37
         // where to redirect after the email is verified
Please login to merge, or discard this patch.
src/app/Http/Middleware/EnsureEmailVerification.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,15 +18,15 @@
 block discarded – undo
18 18
     public function handle($request, Closure $next)
19 19
     {
20 20
         // if the route name is not one of the verification process, run the verification middleware
21
-        if (! in_array($request->route()->getName(), ['verification.notice', 'verification.verify', 'verification.send'])) {
21
+        if (!in_array($request->route()->getName(), ['verification.notice', 'verification.verify', 'verification.send'])) {
22 22
             // the Laravel middleware needs the user resolver to be set with the backpack guard
23 23
             $userResolver = $request->getUserResolver();
24
-            $request->setUserResolver(function () use ($userResolver) {
24
+            $request->setUserResolver(function() use ($userResolver) {
25 25
                 return $userResolver(backpack_guard_name());
26 26
             });
27 27
             try {
28 28
                 $verifiedMiddleware = new (app('router')->getMiddleware()['verified'])();
29
-            } catch(Throwable) {
29
+            } catch (Throwable) {
30 30
                 throw new Exception('Missing "verified" alias middleware in App/Http/Kernel.php. More info: https://backpackforlaravel.com/docs/6.x/base-how-to#enable-email-verification-in-backpack-routes');
31 31
             }
32 32
 
Please login to merge, or discard this patch.