| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | public function change() |
||
| 9 | { |
||
| 10 | $managers = $this->table('managers', ['id' => 'manager_id']); |
||
| 11 | |||
| 12 | $managers->addColumn('draft_id', 'integer', ['limit' => 11, 'default' => 0]) |
||
| 13 | ->addColumn('manager_name', 'text') |
||
| 14 | ->addColumn('draft_order', 'integer', ['limit' => MysqlAdapter::INT_TINY, 'signed' => false, 'default' => 0]) |
||
| 15 | ->addIndex(['draft_id'], ['name' => 'draft_idx']) |
||
| 16 | ->create(); |
||
| 17 | } |
||
| 18 | } |
||
| 19 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.