doyolabs /
behat-code-coverage
| 1 | <?php |
||
| 2 | |||
| 3 | /* |
||
| 4 | * This file is part of the doyo/behat-coverage-extension project. |
||
| 5 | * |
||
| 6 | * (c) Anthonius Munthi <[email protected]> |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
| 11 | |||
| 12 | declare(strict_types=1); |
||
| 13 | |||
| 14 | namespace Doyo\Behat\Coverage\Bridge\Symfony; |
||
| 15 | |||
| 16 | 2 | if (class_exists(' \Symfony\Contracts\EventDispatcher\Event')) { |
|
| 17 | class BaseEvent extends \Symfony\Contracts\EventDispatcher\Event |
||
| 18 | { |
||
| 19 | } |
||
| 20 | } else { |
||
| 21 | class BaseEvent extends \Symfony\Component\EventDispatcher\Event |
||
|
0 ignored issues
–
show
Deprecated Code
introduced
by
Loading history...
|
|||
| 22 | { |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | class Event extends BaseEvent |
||
| 27 | { |
||
| 28 | } |
||
| 29 |