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 (#137)
by Jérémiah
05:56
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
ccs 17
cts 17
cp 1
rs 10
c 0
b 0
f 0

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
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
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\GraphQL\Resolver;
24
use Overblog\GraphQLBundle\ExpressionLanguage\ExpressionFunction\NewObject;
25
use Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface;
26
27
class ConfigExpressionProvider implements ExpressionFunctionProviderInterface
28
{
29 29
    public function getFunctions()
30
    {
31
        return [
32 29
            new Service(),
33 29
            new Service('serv'),
34 29
            new Parameter(),
35 29
            new Parameter('param'),
36 29
            new IsTypeOf(),
37 29
            new Resolver(),
38 29
            new Resolver('res'),
39 29
            new Mutation(),
40 29
            new Mutation('mut'),
41 29
            new MutateAndGetPayloadCallback(),
42 29
            new IdFetcherCallback(),
43 29
            new ResolveSingleInputCallback(),
44 29
            new GlobalIDFunction(),
45 29
            new FromGlobalID(),
46 29
            new NewObject(),
47 29
        ];
48
    }
49
}
50