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
22:49
created

ExecutorEvent   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 78
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

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
    public function __construct(Schema $schema, $requestString, \ArrayObject $rootValue, \ArrayObject $contextValue, $variableValue = null, $operationName = null)
29
    {
30
        $this->schema = $schema;
31
        $this->requestString = $requestString;
32
        $this->rootValue = $rootValue;
33
        $this->contextValue = $contextValue;
34
        $this->variableValue = $variableValue;
35
        $this->operationName = $operationName;
36
    }
37
38
    /**
39
     * @return Schema
40
     */
41
    public function getSchema()
42
    {
43
        return $this->schema;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getRequestString()
50
    {
51
        return $this->requestString;
52
    }
53
54
    /**
55
     * @return \ArrayObject
56
     */
57
    public function getRootValue()
58
    {
59
        return $this->rootValue;
60
    }
61
62
    /**
63
     * @return \ArrayObject
64
     */
65
    public function getContextValue()
66
    {
67
        return $this->contextValue;
68
    }
69
70
    /**
71
     * @return array|null
72
     */
73
    public function getVariableValue()
74
    {
75
        return $this->variableValue;
76
    }
77
78
    /**
79
     * @return null|string
80
     */
81
    public function getOperationName()
82
    {
83
        return $this->operationName;
84
    }
85
}
86