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
Push — master ( cc83a8...7c2c4f )
by Jérémiah
48s
created

ConfigExpressionProvider::getFunctions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 20
Code Lines 17

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 17
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 20
ccs 17
cts 17
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 17
nc 1
nop 0
crap 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