GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 732c0d...fe8291 )
by Davide
03:26
created

DoctrineEventsDispatcher::postFlush()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
ccs 4
cts 4
cp 1
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace Dsantang\DomainEventsDoctrine\Dispatcher;
5
6
use Dsantang\DomainEventsDoctrine\Releaser;
7
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
8
9
abstract class DoctrineEventsDispatcher
10
{
11
    /** @var Releaser */
12
    protected $releaser;
13
14
    /** @var EventDispatcherInterface */
15
    protected $dispatcher;
16
17 1
    public function __construct(Releaser $releaser, EventDispatcherInterface $dispatcher)
18
    {
19 1
        $this->releaser   = $releaser;
20 1
        $this->dispatcher = $dispatcher;
21 1
    }
22
23
    abstract public function postFlush() : void;
24
}
25