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

Completed
Pull Request — master (#137)
by Jérémiah
05:30
created

ConfigExpressionProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 11

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 11
dl 0
loc 23
rs 10
c 0
b 0
f 0
ccs 13
cts 13
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFunctions() 0 20 1
1
<?php
2
3
/*
4
 * This file is part of the OverblogGraphQLBundle package.
5
 *
6
 * (c) Overblog <http://github.com/overblog/>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Overblog\GraphQLBundle\ExpressionLanguage;
13
14
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\DependencyInjection\Parameter;
15
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\DependencyInjection\Service;
16
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\IsTypeOf;
17
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Mutation;
18
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Relay\FromGlobalID;
19
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Relay\GlobalID as GlobalIDFunction;
20 28
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Relay\IdFetcherCallback;
21
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Relay\MutateAndGetPayloadCallback;
22
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Relay\ResolveSingleInputCallback;
23 28
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Resolver;
24 28
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\NewObject;
25
use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
26 3
27
class ConfigExpressionProvider implements ExpressionFunctionProviderInterface
28 28
{
29
    public function getFunctions()
30 28
    {
31 28
        return [
32
            new Service(),
33 1
            new Service('serv'),
34
            new Parameter(),
35 28
            new Parameter('param'),
36
            new IsTypeOf(),
37 28
            new Resolver(),
38 28
            new Resolver('res'),
39
            new Mutation(),
40 1
            new Mutation('mut'),
41
            new MutateAndGetPayloadCallback(),
42 28
            new IdFetcherCallback(),
43
            new ResolveSingleInputCallback(),
44 28
            new GlobalIDFunction(),
45 28
            new FromGlobalID(),
46
            new NewObject(),
47 8
        ];
48
    }
49
}
50