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
20:41
created

GetUser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 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
    public function __construct()
10
    {
11
        parent::__construct(
12
            'getUser',
13
            function () {
14
                return sprintf('\%s::getUser($globalVariable)', Helper::class);
15
            }
16
        );
17
    }
18
}
19