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 (#4861)
by Pedro
31:36 queued 16:15
created

AuthenticateSession::handle()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 2
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Backpack\CRUD\app\Http\Middleware;
4
5
if (app()->version() >= 9.4) {
0 ignored issues
show
introduced by
The method version() does not exist on Illuminate\Container\Container. Are you sure you never get this type here, but always one of the subclasses? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

5
if (app()->/** @scrutinizer ignore-call */ version() >= 9.4) {
Loading history...
6
    class AuthenticateSession extends AuthenticateSessionL9
7
    {
8
    }
9
} else {
10
    class AuthenticateSession
11
    {
12
        public function handle($request, \Closure $next)
13
        {
14
            return $next($request);
15
        }
16
    }
17
}
18