<commit_before><?php

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class MigrateNewCommand extends Command {

    private $sDirPath = "./";

    protected function configure() {
        $this->setName("migrate:new")
                ->setDescription("Create a new Migration")
                ->addArgument("system", InputArgument::REQUIRED, "System the migration will run against")
                ->addArgument("name", InputArgument::REQUIRED, "Name of the migration. No Spaces.");
    }

    protected function execute(InputInterface $input, OutputInterface $output) {
        $system = $input->getArgument("system");
        $name = $input->getArgument("name");
        if (strpos($name, " ") > 0 ) {
            $output->writeln("<error>ERROR</error> name can not have spaces.");
            $output->writeln("A migration was NOT created");
            return;
        }
        $prefix = date('Ymd_His') . '_';
        $file = sprintf("/migrations/%s/%s", $system, $prefix . $name . '.php');
        $output->writeln("System:\t$system");
        $output->writeln("Name:\t$name");
        $output->writeln("File:\t$file");
        $output->writeln("OK!");
    }

}<commit_msg>It is really cool that I can output color on the console using PHP :)<commit_after><?php

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;

class MigrateNewCommand extends Command {

    private $sDirPath = "./";

    protected function configure() {
        $this->setName("migrate:new")
                ->setDescription("Create a new Migration")
                ->addArgument("system", InputArgument::REQUIRED, "System the migration will run against")
                ->addArgument("name", InputArgument::REQUIRED, "Name of the migration. No Spaces.");
    }

    protected function execute(InputInterface $input, OutputInterface $output) {
        $system = $input->getArgument("system");
        $name = $input->getArgument("name");
        if (strpos($name, " ") > 0 ) {
            $output->writeln("<error>ERROR</error> name can not have spaces.");
            $output->writeln("A migration was NOT created");
            return;
        }
        $prefix = date('Ymd_His') . '_';
        $file = sprintf("/migrations/%s/%s", $system, $prefix . $name . '.php');
        $output->writeln("System:\t$system");
        $output->writeln("Name:\t$name");
        $output->writeln("File:\t$file");
        $output->writeln("<info>OK!</info>");
    }

}
{'fraction_non_alphanumeric': 0.15641476274165203, 'fraction_numerical': 0.00070298769771529, 'mean_word_length': 3.0311614730878187, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 35, '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': '2931900', 'n_tokens_mistral': 793, 'n_tokens_neox': 785, 'n_words': 170}