<commit_before><?php

namespace Doctrine\Bundle\DoctrineBundle\Tests\Command;

use Doctrine\Bundle\DoctrineBundle\Command\DropDatabaseDoctrineCommand;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

class DropDatabaseDoctrineTest extends TestCase
{

    public function testExecute()
    {
        $connectionName = 'default';
        $dbName = 'test';
        $params = array(
            'url' => "sqlite:///". sys_get_temp_dir() ."/test.db",
            'path' => sys_get_temp_dir() . "/" . $dbName,
            'driver' => 'pdo_sqlite',
        );

        $application = new Application();
        $application->add(new DropDatabaseDoctrineCommand());

        $command = $application->find('doctrine:database:drop');
        $command->setContainer($this->getMockContainer($connectionName, $params));

        $commandTester = new CommandTester($command);
        $commandTester->execute(
            array_merge(array('command' => $command->getName(), '--force' => true))
        );

        $this->assertContains("Dropped database for connection named " . sys_get_temp_dir() . "/" . $dbName . "" , $commandTester->getDisplay());
    }
<commit_msg>removes blank line after class opening<commit_after><?php

namespace Doctrine\Bundle\DoctrineBundle\Tests\Command;

use Doctrine\Bundle\DoctrineBundle\Command\DropDatabaseDoctrineCommand;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

class DropDatabaseDoctrineTest extends TestCase
{
    public function testExecute()
    {
        $connectionName = 'default';
        $dbName = 'test';
        $params = array(
            'url' => "sqlite:///". sys_get_temp_dir() ."/test.db",
            'path' => sys_get_temp_dir() . "/" . $dbName,
            'driver' => 'pdo_sqlite',
        );

        $application = new Application();
        $application->add(new DropDatabaseDoctrineCommand());

        $command = $application->find('doctrine:database:drop');
        $command->setContainer($this->getMockContainer($connectionName, $params));

        $commandTester = new CommandTester($command);
        $commandTester->execute(
            array_merge(array('command' => $command->getName(), '--force' => true))
        );

        $this->assertContains("Dropped database for connection named " . sys_get_temp_dir() . "/" . $dbName . "" , $commandTester->getDisplay());
    }

{'fraction_non_alphanumeric': 0.14686998394863562, 'fraction_numerical': 0.0, 'mean_word_length': 3.2470187393526406, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, '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': '1776731', 'n_tokens_mistral': 712, 'n_tokens_neox': 704, 'n_words': 121}