| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 11 |
| Ratio | 100 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 2 |
| 1 | <?php |
||
| 13 | public function run() |
||
| 14 | { |
||
| 15 | Capsule::schema()->dropIfExists('league_rounds'); |
||
| 16 | Capsule::schema()->create('league_rounds', function (Blueprint $table) { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->integer('league_id'); |
||
| 19 | $table->boolean('simulated')->default(false); |
||
| 20 | $table->integer('day')->default(0); |
||
| 21 | $table->timestamps(); |
||
| 22 | }); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |
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.