private function enableDeprecatedNoProgressBar(InputInterface $input)
    {
        if (!$input->getOption('no-progress-bar')) {
            return;
        }

        // @codingStandardsIgnoreStart
        @trigger_error(
            'The command option --no-progress-bar is deprecated since 1.4 and where removed in 2.0.
             Use --no-progress instead.',
            E_USER_DEPRECATED
        );
        // @codingStandardsIgnoreEnd

        $input->setOption('no-progress', true);
    }