| Conditions | 2 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | 28 | protected function migrateFreshUsing() |
|
| 19 | { |
||
| 20 | 28 | $seeder = $this->seeder(); |
|
| 21 | |||
| 22 | 28 | $results = array_merge( |
|
| 23 | 28 | [ |
|
| 24 | 28 | '--drop-views' => $this->shouldDropViews(), |
|
| 25 | 28 | '--drop-types' => $this->shouldDropTypes(), |
|
| 26 | 28 | ], |
|
| 27 | 28 | $seeder ? ['--seeder' => $seeder] : ['--seed' => $this->shouldSeed()], |
|
| 28 | 28 | $this->setMigrationPaths(), |
|
| 29 | 28 | ); |
|
| 30 | |||
| 31 | 28 | return $results; |
|
| 32 | } |
||
| 54 |