private function printBeforeAfterTasks(array $tasks, $applicationName, $task, $step, &$output)
    {
        $label = $applicationName === '_' ? 'for all applications' : 'for application ' . $applicationName;
        if (isset($tasks[$step][$applicationName][$task])) {
            // 'Task "' . $beforeTask . '" before "' . $task
            foreach ($tasks[$step][$applicationName][$task] as $beforeAfterTask) {
                $output .= '          <success>Task ' . $beforeAfterTask . ' ' . $step . ' ' . $task . '</success> <info>(' . $label . ')</info>' . PHP_EOL;
            }
        }
    }