| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class TestingServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Register the application services. |
||
| 11 | */ |
||
| 12 | public function register() |
||
| 13 | { |
||
| 14 | $this->app->register(new class($this->app) extends \Laravel\Dusk\DuskServiceProvider |
||
| 15 | { |
||
| 16 | /** @inheritDoc */ |
||
| 17 | public function boot() |
||
| 18 | { |
||
| 19 | if ($this->app->runningInConsole()) { |
||
| 20 | $this->commands([ |
||
| 21 | \Laravel\Dusk\Console\InstallCommand::class, |
||
| 22 | \Laravel\Dusk\Console\DuskCommand::class, |
||
| 23 | \Laravel\Dusk\Console\DuskFailsCommand::class, |
||
| 24 | \Laravel\Dusk\Console\MakeCommand::class, |
||
| 25 | \Laravel\Dusk\Console\PageCommand::class, |
||
| 26 | \Laravel\Dusk\Console\PurgeCommand::class, |
||
| 27 | \Laravel\Dusk\Console\ComponentCommand::class, |
||
| 28 | \Laravel\Dusk\Console\ChromeDriverCommand::class, |
||
| 29 | ]); |
||
| 30 | } |
||
| 31 | } |
||
| 32 | }); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Bootstrap the application services. |
||
| 37 | */ |
||
| 38 | public function boot() |
||
| 39 | { |
||
| 40 | // |
||
| 43 |