<commit_before><?php

namespace Gnugat\SoulMeMaybe;

use Gnugat\SoulMeMaybe\Configurator\Kernel as Configurator;

/**
 * EventListener class.
 *
 * @author <NAME> <<EMAIL>>
 */
class EventListener
{
    /**
     * Post install event.
     */
    public static function postInstall()
    {
        $configurator = new Configurator();
        $configurator->getUserLoginFromCli();
        $configurator->getPasswordSocksFromCli();
        $configurator->writeParametersFile();
    }
}<commit_msg>[2.0.1] Fixing the missing dependencies of Output in EventListener<commit_after><?php

namespace Gnugat\SoulMeMaybe;

use Gnugat\SoulMeMaybe\Configurator\Kernel as Configurator;

use Symfony\Component\Console\Formatter\OutputFormatterStyle,
    Symfony\Component\Console\Formatter\OutputFormatter,
    Symfony\Component\Console\Output\ConsoleOutput,
    Symfony\Component\Console\Helper\DialogHelper;

/**
 * EventListener class.
 *
 * @author <NAME> <<EMAIL>>
 */
class EventListener
{
    /**
     * Post install event.
     */
    public static function postInstall()
    {
        $styles['highlight'] = new OutputFormatterStyle('red');
        $styles['warning'] = new OutputFormatterStyle('black', 'yellow');
        $formatter = new OutputFormatter(null, $styles);
        $output = new ConsoleOutput(ConsoleOutput::VERBOSITY_NORMAL, null, $formatter);

        $configurator = new Configurator($output, new DialogHelper());
        $configurator->getUserLoginFromCli();
        $configurator->getPasswordSocksFromCli();
        $configurator->writeParametersFile();
    }
}
{'fraction_non_alphanumeric': 0.12444444444444444, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 3.718562874251497, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4541776', 'n_tokens_mistral': 469, 'n_tokens_neox': 456, 'n_words': 85}