Commit 291d89c3 authored by Benjamin Morel's avatar Benjamin Morel

Clean up redundant annotations and dead code

parent 1c680e19
......@@ -22,7 +22,6 @@ class BlobTest extends DbalFunctionalTestCase
{
parent::setUp();
/** @var AbstractSchemaManager $sm */
$table = new Table('blob_table');
$table->addColumn('id', 'integer');
$table->addColumn('clobfield', 'text');
......
......@@ -42,7 +42,6 @@ class DataAccessTest extends DbalFunctionalTestCase
return;
}
/** @var AbstractSchemaManager $sm */
$table = new Table('fetch_table');
$table->addColumn('test_int', 'integer');
$table->addColumn('test_string', 'string');
......@@ -601,7 +600,6 @@ class DataAccessTest extends DbalFunctionalTestCase
$table->addColumn('test_days', 'integer');
$table->setPrimaryKey(['test_date']);
/** @var AbstractSchemaManager $sm */
$sm = $this->connection->getSchemaManager();
$sm->createTable($table);
......
......@@ -32,7 +32,6 @@ class MasterSlaveConnectionTest extends DbalFunctionalTestCase
}
try {
/** @var AbstractSchemaManager $sm */
$table = new Table('master_slave_table');
$table->addColumn('test_int', 'integer');
$table->setPrimaryKey(['test_int']);
......
......@@ -19,7 +19,6 @@ class ModifyLimitQueryTest extends DbalFunctionalTestCase
parent::setUp();
if (! self::$tableCreated) {
/** @var AbstractSchemaManager $sm */
$table = new Table('modify_limit_table');
$table->addColumn('test_int', 'integer');
$table->setPrimaryKey(['test_int']);
......
......@@ -51,7 +51,6 @@ class PortabilityTest extends DbalFunctionalTestCase
$this->portableConnection = DriverManager::getConnection($params, $this->connection->getConfiguration(), $this->connection->getEventManager());
try {
/** @var AbstractSchemaManager $sm */
$table = new Table('portability_table');
$table->addColumn('Test_Int', 'integer');
$table->addColumn('Test_String', 'string', ['fixed' => true, 'length' => 32]);
......
......@@ -20,9 +20,6 @@ class TypeConversionTest extends DbalFunctionalTestCase
{
parent::setUp();
/** @var AbstractSchemaManager $sm */
$sm = $this->connection->getSchemaManager();
$table = new Table('type_conversion');
$table->addColumn('id', 'integer', ['notnull' => false]);
$table->addColumn('test_string', 'string', ['notnull' => false]);
......
......@@ -20,7 +20,6 @@ class WriteTest extends DbalFunctionalTestCase
parent::setUp();
try {
/** @var AbstractSchemaManager $sm */
$table = new Table('write_table');
$table->addColumn('id', 'integer', ['autoincrement' => true]);
$table->addColumn('test_int', 'integer');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment