Passed
Push — master ( 97b1e7...36e7dc )
by Fabrice
02:16
created

FlowEventProxy   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 76
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 19
dl 0
loc 76
rs 10
c 1
b 0
f 0
wmc 6
1
<?php
2
3
/*
4
 * This file is part of NodalFlow.
5
 *     (c) Fabrice de Stefanis / https://github.com/fab2s/NodalFlow
6
 * This source file is licensed under the MIT license which you will
7
 * find in the LICENSE file or at https://opensource.org/licenses/MIT
8
 */
9
10
namespace fab2s\NodalFlow\Events;
11
12
if (class_exists('Symfony\Component\EventDispatcher\Event')) {
13
    class FlowEvent extends /* @scrutinizer ignore-deprecated */ \Symfony\Component\EventDispatcher\Event implements FlowEventInterface
14
    {
15
        use FlowEventProxyTrait;
16
    }
17
} else {
18
    class FlowEvent extends \Symfony\Contracts\EventDispatcher\Event implements FlowEventInterface
19
    {
20
        use FlowEventProxyTrait;
21
    }
22
}
23