Upgrade to Laravel 11

This commit is contained in:
Jonny Barnes 2024-03-19 20:13:36 +00:00
parent c78aea2581
commit 7660b1c731
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
30 changed files with 836 additions and 1286 deletions

View file

@ -21,6 +21,14 @@ use Symfony\Component\HtmlSanitizer\HtmlSanitizerConfig;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
@ -132,14 +140,4 @@ class AppServiceProvider extends ServiceProvider
// Turn on Eloquent strict mode when developing
Model::shouldBeStrict(! $this->app->isProduction());
}
/**
* Register any application services.
*/
public function register(): void
{
if ($this->app->environment('local', 'testing')) {
$this->app->register(DuskServiceProvider::class);
}
}
}