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 (#264)
by Jérémiah
11:23 queued 16s
created

ExecutorEvent   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 78
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 7
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 78
ccs 20
cts 20
cp 1
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
A getSchema() 0 4 1
A getRequestString() 0 4 1
A getRootValue() 0 4 1
A getContextValue() 0 4 1
A getVariableValue() 0 4 1
A getOperationName() 0 4 1
1
<?php
2
3
namespace Overblog\GraphQLBundle\Event;
4
5
use GraphQL\Type\Schema;
6
use Symfony\Component\EventDispatcher\Event;
7
8
final class ExecutorEvent extends Event
9
{
10
    /** @var Schema */
11
    private $schema;
12
13
    /** @var string */
14
    private $requestString;
15
16
    /** @var \ArrayObject */
17
    private $rootValue;
18
19
    /** @var \ArrayObject */
20
    private $contextValue;
21
22
    /** @var null|array */
23
    private $variableValue;
24
25
    /** @var null|string */
26
    private $operationName;
27
28 61
    public function __construct(Schema $schema, $requestString, \ArrayObject $rootValue, \ArrayObject $contextValue, $variableValue = null, $operationName = null)
29
    {
30 61
        $this->schema = $schema;
31 61
        $this->requestString = $requestString;
32 61
        $this->rootValue = $rootValue;
33 61
        $this->contextValue = $contextValue;
34 61
        $this->variableValue = $variableValue;
35 61
        $this->operationName = $operationName;
36 61
    }
37
38
    /**
39
     * @return Schema
40
     */
41 61
    public function getSchema()
42
    {
43 61
        return $this->schema;
44
    }
45
46
    /**
47
     * @return string
48
     */
49 61
    public function getRequestString()
50
    {
51 61
        return $this->requestString;
52
    }
53
54
    /**
55
     * @return \ArrayObject
56
     */
57 61
    public function getRootValue()
58
    {
59 61
        return $this->rootValue;
60
    }
61
62
    /**
63
     * @return \ArrayObject
64
     */
65 61
    public function getContextValue()
66
    {
67 61
        return $this->contextValue;
68
    }
69
70
    /**
71
     * @return array|null
72
     */
73 61
    public function getVariableValue()
74
    {
75 61
        return $this->variableValue;
76
    }
77
78
    /**
79
     * @return null|string
80
     */
81 61
    public function getOperationName()
82
    {
83 61
        return $this->operationName;
84
    }
85
}
86