Update to Laravel 7.0

This commit is contained in:
Alex Thomassen 2020-03-03 18:17:04 +01:00
parent c7b6d17b93
commit b52915b8f4
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
4 changed files with 348 additions and 292 deletions

View File

@ -4,6 +4,7 @@ namespace App\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
class Handler extends ExceptionHandler
{
@ -34,7 +35,7 @@ class Handler extends ExceptionHandler
*
* @throws \Exception
*/
public function report(Exception $exception)
public function report(Throwable $exception)
{
parent::report($exception);
}
@ -48,7 +49,7 @@ class Handler extends ExceptionHandler
*
* @throws \Exception
*/
public function render($request, Exception $exception)
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}

View File

@ -10,15 +10,15 @@
"require": {
"php": "^7.2",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.2",
"laravel/framework": "^7.0",
"laravel/tinker": "^2.0"
},
"require-dev": {
"facade/ignition": "^1.4",
"facade/ignition": "^2.0",
"fzaninotto/faker": "^1.9.1",
"laravel/ui": "1.0",
"laravel/ui": "^2.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.0"
},
"config": {

623
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -166,7 +166,7 @@ return [
|
*/
'secure' => env('SESSION_SECURE_COOKIE', false),
'secure' => env('SESSION_SECURE_COOKIE', null),
/*
|--------------------------------------------------------------------------
@ -194,6 +194,6 @@ return [
|
*/
'same_site' => null,
'same_site' => 'lax',
];