Upgrade to Laravel 10

This commit is contained in:
James Cole 2023-02-24 05:53:32 +01:00
parent bcaf6402b5
commit 8f66c93ad0
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
5 changed files with 346 additions and 540 deletions

View File

@ -213,7 +213,7 @@ class Kernel extends HttpKernel
*
* @var array
*/
protected $routeMiddleware
protected $middlewareAliases
= [
'auth' => Authenticate::class,
'auth.basic' => AuthenticateWithBasicAuth::class,

View File

@ -65,7 +65,6 @@ class AuthServiceProvider extends ServiceProvider
}
);
$this->registerPolicies();
Passport::tokensExpireIn(now()->addDays(14));
}
}

View File

@ -88,7 +88,7 @@
"guzzlehttp/guzzle": "^7.5",
"jc5/google2fa-laravel": "^2.0",
"jc5/recovery": "^2",
"laravel/framework": "^9",
"laravel/framework": "^10",
"laravel/passport": "11.*",
"laravel/sanctum": "^3.2",
"laravel/slack-notification-channel": "^2.4",
@ -103,8 +103,7 @@
"psr/log": "<4",
"ramsey/uuid": "^4.7",
"rcrowe/twigbridge": "^0.14",
"spatie/data-transfer-object": "^3.9",
"spatie/laravel-ignition": "^1.5",
"spatie/laravel-ignition": "^2",
"symfony/http-client": "^6.0",
"symfony/mailgun-mailer": "^6.0"
},
@ -118,7 +117,7 @@
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^10",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
"suggest": {

874
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@
convertWarningsToExceptions="true"
processIsolation="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd">
<coverage processUncoveredFiles="true">
<coverage>
<include>
<directory suffix=".php">./app</directory>
</include>