private function printHeaderOnBeforeEvent(Formatter $formatter, Event $event)
    {
        if (!$event instanceof AfterFeatureSetup) {
            return;
        }

        $this->setupPrinter->printSetup($formatter, $event->getSetup());
        $this->featurePrinter->printHeader($formatter, $event->getFeature());
    }