| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | View Code Duplication | public function up() |
|
| 15 | { |
||
| 16 | Schema::table('users', function(Blueprint $table) { |
||
| 17 | $table->renameColumn('name', 'username'); |
||
| 18 | $table->boolean('confirmed')->default(0); |
||
| 19 | $table->string('confirmation_code')->nullable(); |
||
| 20 | }); |
||
| 21 | } |
||
| 22 | |||
| 37 |
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.