| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function setUp(): void |
||
| 11 | { |
||
| 12 | parent::setUp(); |
||
| 13 | |||
| 14 | $this->loadLaravelMigrations(['--database' => 'testbench']); |
||
| 15 | $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); |
||
| 16 | $this->loadMigrationsFrom(__DIR__.'/database/migrations'); |
||
| 17 | $this->withFactories(__DIR__.'/database/factories'); |
||
| 18 | |||
| 19 | $this->artisan('migrate', ['--database' => 'testbench'])->run(); |
||
| 20 | } |
||
| 52 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.