private static function getPreferredInstallOptions(Config $config, InputInterface $input): array
    {
        $preferSource = false;
        $preferDist   = false;
        // @codeCoverageIgnoreStart
        switch ($config->get('preferred-install')) {
            case 'source':
                $preferSource = true;

                break;
            case 'dist':
                $preferDist = true;

                break;
            case 'auto':
            default:
                // noop
                break;
        }
        // @codeCoverageIgnoreEnd
        $preferSource = self::getOption($input, 'prefer-source', $preferSource);
        $preferDist   = self::getOption($input, 'prefer-dist', $preferDist);

        return [$preferSource, $preferDist];
    }