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 (#208)
by Renato
07:25
created

ExecutorContextEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 62.5%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 25
ccs 5
cts 8
cp 0.625
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getExecutorContext() 0 4 1
A setExecutorContext() 0 4 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\Event;
13
14
use Symfony\Component\EventDispatcher\Event;
15
16
class ExecutorContextEvent extends Event
17
{
18
    private $executorContext = [];
19
20 32
    public function __construct(array $executorContext)
21
    {
22 32
        $this->executorContext = $executorContext;
23 32
    }
24
25
    /**
26
     * @return array
27
     */
28 32
    public function getExecutorContext()
29
    {
30 32
        return $this->executorContext;
31
    }
32
33
    /**
34
     * @param array $executionContext
35
     */
36
    public function setExecutorContext(array $executionContext)
37
    {
38
        $this->executorContext = $executionContext;
39
    }
40
}
41