<commit_before><?php namespace ParaTest\Console;

use Symfony\Component\Console\Application,
    Symfony\Component\Console\Input\InputInterface,
    Symfony\Component\Console\Input\InputDefinition,
    Symfony\Component\Console\Input\InputOption,
    Symfony\Component\Console\Output\OutputInterface,
    ParaTest\Console\Commands\ParaTestCommand,
    ParaTest\Console\Testers\PHPUnit;

class ParaTestApplication extends Application
{
    const NAME = 'ParaTest';
    const VERSION = '0.1.7';

    public function __construct()
    {
        parent::__construct(static::NAME, static::VERSION);
    }

    /**
     * @todo for now paratest will only run the phpunit command
     */
    public function doRun(InputInterface $input, OutputInterface $output)
    {
        $this->add(new ParaTestCommand(new PHPUnit()));
        parent::doRun($input, $output);
    }

    public function getDefinition()
    {
        return new InputDefinition(array(
            new InputOption('--help',    '-h', InputOption::VALUE_NONE, 'Display this help message.'),
            new InputOption('--verbose', '-v', InputOption::VALUE_NONE, 'Increase verbosity of exceptions.'),<commit_msg>update version number in console<commit_after><?php namespace ParaTest\Console;

use Symfony\Component\Console\Application,
    Symfony\Component\Console\Input\InputInterface,
    Symfony\Component\Console\Input\InputDefinition,
    Symfony\Component\Console\Input\InputOption,
    Symfony\Component\Console\Output\OutputInterface,
    ParaTest\Console\Commands\ParaTestCommand,
    ParaTest\Console\Testers\PHPUnit;

class ParaTestApplication extends Application
{
    const NAME = 'ParaTest';
    const VERSION = '0.2.0';

    public function __construct()
    {
        parent::__construct(static::NAME, static::VERSION);
    }

    /**
     * @todo for now paratest will only run the phpunit command
     */
    public function doRun(InputInterface $input, OutputInterface $output)
    {
        $this->add(new ParaTestCommand(new PHPUnit()));
        parent::doRun($input, $output);
    }

    public function getDefinition()
    {
        return new InputDefinition(array(
            new InputOption('--help',    '-h', InputOption::VALUE_NONE, 'Display this help message.'),
            new InputOption('--verbose', '-v', InputOption::VALUE_NONE, 'Increase verbosity of exceptions.'),
{'fraction_non_alphanumeric': 0.11595429538721963, 'fraction_numerical': 0.0025391451544646637, 'mean_word_length': 3.5028571428571427, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4431295', 'n_tokens_mistral': 659, 'n_tokens_neox': 646, 'n_words': 141}