<commit_before><?php

namespace AppBundle\ShowUnusedMySQLTables;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Symfony-Console-Command wrapper for the ShowUnusedMySQLTables task.
 */
final class Command extends ContainerAwareCommand
{
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $this->setName('show-unused-mysql-tables')
             ->setDescription('Show a list of potentially unused MySQL tables.');
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('Potentially unused MySQL tables (this may take a while):');
        $output->writeln('');

        $task = new Task($this->getContainer()->get('doctrine.dbal.connection'));
        foreach ($task->getUnusedTableNames() as $potentiallyUnusedTableName) {
            $output->writeln($potentiallyUnusedTableName);
        }

        $output->writeln('');
    }
}
<commit_msg>Fix service name<commit_after><?php

namespace AppBundle\ShowUnusedMySQLTables;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
 * Symfony-Console-Command wrapper for the ShowUnusedMySQLTables task.
 */
final class Command extends ContainerAwareCommand
{
    /**
     * {@inheritdoc}
     */
    protected function configure()
    {
        $this->setName('show-unused-mysql-tables')
             ->setDescription('Show a list of potentially unused MySQL tables.');
    }

    /**
     * {@inheritdoc}
     */
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('Potentially unused MySQL tables (this may take a while):');
        $output->writeln('');

        $task = new Task($this->getContainer()->get('doctrine.dbal.default_connection'));
        foreach ($task->getUnusedTableNames() as $potentiallyUnusedTableName) {
            $output->writeln($potentiallyUnusedTableName);
        }

        $output->writeln('');
    }
}

{'fraction_non_alphanumeric': 0.12741139524450426, 'fraction_numerical': 0.0, 'mean_word_length': 3.3469785575048734, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '2972277', 'n_tokens_mistral': 615, 'n_tokens_neox': 608, 'n_words': 120}