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 (#234)
by Jérémiah
04:38
created

Mutation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 83.33%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
ccs 5
cts 6
cp 0.8333
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL;
4
5
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction;
6
7
final class Mutation extends ExpressionFunction
8
{
9 24
    public function __construct($name = 'mutation')
10
    {
11 24
        parent::__construct(
12 24
            $name,
13 24
            function ($alias, $args = '[]') {
14
                return sprintf('$container->get(\'overblog_graphql.mutation_resolver\')->resolve([%s, %s])', $alias, $args);
15 24
            }
16
        );
17
    }
18
}
19