doctrine /
dbal
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Doctrine\DBAL\Tests\Driver; |
||
| 6 | |||
| 7 | use Doctrine\DBAL\Connection; |
||
| 8 | use Doctrine\DBAL\Driver; |
||
| 9 | use Doctrine\DBAL\Driver\AbstractDB2Driver; |
||
| 10 | use Doctrine\DBAL\Platforms\AbstractPlatform; |
||
| 11 | use Doctrine\DBAL\Platforms\DB2Platform; |
||
| 12 | use Doctrine\DBAL\Schema\AbstractSchemaManager; |
||
| 13 | use Doctrine\DBAL\Schema\DB2SchemaManager; |
||
| 14 | |||
| 15 | class AbstractDB2DriverTest extends AbstractDriverTest |
||
| 16 | { |
||
| 17 | protected function createDriver() : Driver |
||
| 18 | { |
||
| 19 | return $this->getMockForAbstractClass(AbstractDB2Driver::class); |
||
|
0 ignored issues
–
show
Bug
Best Practice
introduced
by
Loading history...
|
|||
| 20 | } |
||
| 21 | |||
| 22 | protected function createPlatform() : AbstractPlatform |
||
| 23 | { |
||
| 24 | return new DB2Platform(); |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function createSchemaManager(Connection $connection) : AbstractSchemaManager |
||
| 28 | { |
||
| 29 | return new DB2SchemaManager($connection); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |