| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public function up() |
||
| 8 | { |
||
| 9 | $this->table('articles') |
||
| 10 | ->addColumn('body', 'text') |
||
| 11 | ->addColumn('lead', 'text') |
||
| 12 | ->addColumn('status', 'integer') |
||
| 13 | ->addColumn('user_uuid', 'binary', ['limit' => 16]) |
||
| 14 | ->addColumn('created_at', 'datetime', ['default' => 'CURRENT_TIMESTAMP']) |
||
| 15 | ->update(); |
||
| 16 | } |
||
| 17 | |||
| 28 |
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.