Unverified Commit 186f0c72 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #3719 from greg0ire/remove-phpunit-bridge-remnants

Remove phpunit-bridge specific annotations
parents 80a45c6d 148aafc3
...@@ -28,10 +28,6 @@ class PDOStatementTest extends DbalFunctionalTestCase ...@@ -28,10 +28,6 @@ class PDOStatementTest extends DbalFunctionalTestCase
$this->connection->getSchemaManager()->dropAndCreateTable($table); $this->connection->getSchemaManager()->dropAndCreateTable($table);
} }
/**
* @group legacy
* @expectedDeprecation Using a PDO fetch mode or their combination (%d given) is deprecated and will cause an error in Doctrine 3.0.
*/
public function testPDOSpecificModeIsAccepted() : void public function testPDOSpecificModeIsAccepted() : void
{ {
$this->connection->insert('stmt_test', [ $this->connection->insert('stmt_test', [
......
...@@ -62,10 +62,6 @@ class ColumnTest extends TestCase ...@@ -62,10 +62,6 @@ class ColumnTest extends TestCase
self::assertEquals($expected, $this->createColumn()->toArray()); self::assertEquals($expected, $this->createColumn()->toArray());
} }
/**
* @group legacy
* @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine 3.0
*/
public function testSettingUnknownOptionIsStillSupported() : void public function testSettingUnknownOptionIsStillSupported() : void
{ {
$this->expectNotToPerformAssertions(); $this->expectNotToPerformAssertions();
...@@ -73,10 +69,6 @@ class ColumnTest extends TestCase ...@@ -73,10 +69,6 @@ class ColumnTest extends TestCase
new Column('foo', $this->createMock(Type::class), ['unknown_option' => 'bar']); new Column('foo', $this->createMock(Type::class), ['unknown_option' => 'bar']);
} }
/**
* @group legacy
* @expectedDeprecation The "unknown_option" column option is not supported, setting it is deprecated and will cause an error in Doctrine 3.0
*/
public function testOptionsShouldNotBeIgnored() : void public function testOptionsShouldNotBeIgnored() : void
{ {
$col1 = new Column('bar', Type::getType(Types::INTEGER), ['unknown_option' => 'bar', 'notnull' => true]); $col1 = new Column('bar', Type::getType(Types::INTEGER), ['unknown_option' => 'bar', 'notnull' => true]);
......
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