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
Push — master ( 5ec16c...53ae4d )
by Jérémiah
18:58
created

src/Event/ExecutorContextEvent.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Overblog\GraphQLBundle\Event;
6
7
use Symfony\Contracts\EventDispatcher\Event;
8
9
// TODO(mcg-web): remove hack after migrating Symfony >= 4.3
10 1
if (EventDispatcherVersionHelper::isForLegacy()) {
11
    final class ExecutorContextEvent extends \Symfony\Component\EventDispatcher\Event
0 ignored issues
show
Deprecated Code introduced by
The class Symfony\Component\EventDispatcher\Event has been deprecated: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

11
    final class ExecutorContextEvent extends /** @scrutinizer ignore-deprecated */ \Symfony\Component\EventDispatcher\Event
Loading history...
12
    {
13
        /** @var \ArrayObject */
14
        private $executorContext;
15
16
        /**
17
         * @param \ArrayObject $executorContext
18
         */
19
        public function __construct(\ArrayObject $executorContext)
20
        {
21
            $this->executorContext = $executorContext;
22
        }
23
24
        /**
25
         * @return \ArrayObject
26
         */
27
        public function getExecutorContext(): \ArrayObject
28
        {
29
            return $this->executorContext;
30
        }
31
    }
32
} else {
33
    final class ExecutorContextEvent extends Event
34
    {
35
        /** @var \ArrayObject */
36
        private $executorContext;
37
38
        /**
39
         * @param \ArrayObject $executorContext
40
         */
41 85
        public function __construct(\ArrayObject $executorContext)
42
        {
43 85
            $this->executorContext = $executorContext;
44 85
        }
45
46
        /**
47
         * @return \ArrayObject
48
         */
49 45
        public function getExecutorContext(): \ArrayObject
50
        {
51 45
            return $this->executorContext;
52
        }
53
    }
54
}
55