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 — 0.12 (#797)
by Jérémiah
22:42 queued 19:44
created

Arguments   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 66.67%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
c 0
b 0
f 0
dl 0
loc 8
ccs 2
cts 3
cp 0.6667
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL;
6
7
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction;
8
9
final class Arguments extends ExpressionFunction
10
{
11 123
    public function __construct($name = 'arguments')
12
    {
13 123
        parent::__construct(
14
            $name,
15
            function ($mapping, $data) {
16
                return \sprintf('$globalVariable->get(\'container\')->get(\'overblog_graphql.arguments_transformer\')->getArguments(%s, %s, $info)', $mapping, $data);
17 123
            }
18
        );
19 123
    }
20
}
21