| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class ColumnSchemaBuilderTest extends AbstractColumnSchemaBuilderTest |
||
| 12 | { |
||
| 13 | protected ?string $driverName = 'mysql'; |
||
| 14 | |||
| 15 | public function getColumnSchemaBuilder($type, $length = null): ColumnSchemaBuilder |
||
| 16 | { |
||
| 17 | return new ColumnSchemaBuilder($type, $length, $this->getConnection()); |
||
| 18 | } |
||
| 19 | |||
| 20 | public function typesProvider(): array |
||
| 21 | { |
||
| 22 | return [ |
||
| 23 | ['integer UNSIGNED', Schema::TYPE_INTEGER, null, [ |
||
| 24 | ['unsigned'], |
||
| 25 | ]], |
||
| 26 | ['integer(10) UNSIGNED', Schema::TYPE_INTEGER, 10, [ |
||
| 27 | ['unsigned'], |
||
| 28 | ]], |
||
| 29 | ['integer(10) COMMENT \'test\'', Schema::TYPE_INTEGER, 10, [ |
||
| 30 | ['comment', 'test'], |
||
| 31 | ]], |
||
| 35 |