public static function getSubscribedEvents()
    {
        // Use high priority to log event at beginning
        $listener = ['logEvent', ListenerPriority::HIGH_PRIORITY];
        return [
            FeatureTested::BEFORE => $listener,
            BackgroundTested::BEFORE => $listener,
            ScenarioTested::BEFORE => $listener,
            OutlineTested::BEFORE => $listener,
            ExampleTested::BEFORE => $listener,
            StepTested::BEFORE => $listener,

            FeatureTested::AFTER => $listener,
            BackgroundTested::AFTER => $listener,
            ScenarioTested::AFTER => $listener,
            OutlineTested::AFTER => $listener,
            ExampleTested::AFTER => $listener,
            StepTested::AFTER => $listener,
        ];
    }
public static function getSubscribedEvents()
    {
        // Use high priority to log event at beginning
        $listener = ['logEvent', ListenerPriority::HIGH_PRIORITY];
        return [
            FeatureTested::BEFORE => $listener,
            BackgroundTested::BEFORE => $listener,
            ScenarioTested::BEFORE => $listener,
            OutlineTested::BEFORE => $listener,
            ExampleTested::BEFORE => $listener,
            StepTested::BEFORE => $listener,

            FeatureTested::AFTER => $listener,
            BackgroundTested::AFTER => $listener,
            ScenarioTested::AFTER => $listener,
            OutlineTested::AFTER => $listener,
            ExampleTested::AFTER => $listener,
            StepTested::AFTER => $listener,
        ];
    }
{@inheritdoc}