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 (#73)
by Jérémiah
07:13
created

Executor::execute()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 6
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\Executor;
13
14
use GraphQL\Executor\ExecutionResult;
15
use GraphQL\Executor\Promise\Promise;
16
use GraphQL\Schema;
17
use Overblog\GraphQLBundle\Executor\Promise\PromiseAdapterInterface;
18
19
class Executor implements ExecutorInterface
20
{
21
    /**
22
     * @param Schema      $schema
23
     * @param string      $requestString
24
     * @param null|array  $rootValue
25
     * @param null|array  $contextValue
26
     * @param null|array  $variableValues
27
     * @param null|string $operationName
28
     *
29
     * @return ExecutionResult|Promise
30
     */
31 46
    public function execute(Schema $schema, $requestString, $rootValue = null, $contextValue = null, $variableValues = null, $operationName = null)
32
    {
33 46
        return call_user_func_array('GraphQL\GraphQL::executeAndReturnResult', func_get_args());
34
    }
35
36
    /**
37
     * @param PromiseAdapterInterface|null $promiseAdapter
38
     */
39 48
    public function setPromiseAdapter(PromiseAdapterInterface $promiseAdapter = null)
40
    {
41 48
        call_user_func_array('GraphQL\GraphQL::setPromiseAdapter', func_get_args());
42 48
    }
43
}
44