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 — master (#277)
by Jérémiah
22:38 queued 19:05
created

GetUser::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 7
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 7
cts 7
cp 1
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\Security;
4
5
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction;
6
7
final class GetUser extends ExpressionFunction
8
{
9 61
    public function __construct()
10
    {
11 61
        parent::__construct(
12 61
            'getUser',
13 61
            function () {
14 9
                return sprintf('\%s::getUser($globalVariable)', Helper::class);
15 61
            }
16
        );
17 61
    }
18
}
19