laravel-console-dusk
laravel-console-dusk copied to clipboard
Upgrading to Laravel 11
Hi.
I get this error when trying to upgrade to Laravel 11. Could you help with this?
Hello,
That's because there's a new configuration option paths->source
, just compare your config file with the package's one and update it:
/*
|--------------------------------------------------------------------------
| Laravel Console Dusk Paths
|--------------------------------------------------------------------------
|
| Here you may configure the name of screenshots and logs directory as you wish.
*/
'paths' => [
'screenshots' => storage_path('laravel-console-dusk/screenshots'),
'log' => storage_path('laravel-console-dusk/log'),
'source' => storage_path('laravel-console-dusk/source'),
],
We should probably fall back to a default path in the package to be honest, or just disable this functionality if it's not set. 🤔