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

ExecutorContextEvent   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getExecutorContext() 0 4 1
A __construct() 0 4 1
A setExecutorContext() 0 4 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\Event;
4
5
use Symfony\Component\EventDispatcher\Event;
6
7
class ExecutorContextEvent extends Event
8
{
9
    private $executorContext = [];
10
11 58
    public function __construct(array $executorContext)
12
    {
13 58
        $this->executorContext = $executorContext;
14 58
    }
15
16
    /**
17
     * @return array
18
     */
19 58
    public function getExecutorContext()
20
    {
21 58
        return $this->executorContext;
22
    }
23
24
    /**
25
     * @param array $executionContext
26
     */
27 26
    public function setExecutorContext(array $executionContext)
28
    {
29 26
        $this->executorContext = $executionContext;
30 26
    }
31
}
32