Mis a jour vers Laravel 7

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-03-13 09:03:49 +01:00
parent 7f2131cb41
commit 2a10c53550
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16
4 changed files with 468 additions and 474 deletions

View File

@ -2,7 +2,7 @@
namespace App\Exceptions;
use Exception;
use Throwable;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
@ -29,12 +29,12 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
* @param \Exception $exception
* @param \Throwable $exception
* @return void
*
* @throws \Exception
* @throws \Throwable
*/
public function report(Exception $exception)
public function report(Throwable $exception)
{
parent::report($exception);
}
@ -43,12 +43,12 @@ class Handler extends ExceptionHandler
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Exception $exception
* @param \Throwable $exception
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Exception
* @throws \Throwable
*/
public function render($request, Exception $exception)
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}

View File

@ -135,6 +135,6 @@ return array(
|
*/
'secure' => false,
'secure' => env('SESSION_SECURE_COOKIE', null),
'same_site' => 'lax',
);

View File

@ -8,18 +8,18 @@
],
"license": "MIT",
"require": {
"php": "^7.2",
"php": "^7.2.5",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.2",
"laravel/framework": "^7.0",
"laravel/tinker": "^2.0",
"laravelcollective/html": "^6.0"
},
"require-dev": {
"facade/ignition": "^1.4",
"facade/ignition": "^2.0",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^8.0"
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
"config": {
"optimize-autoloader": true,

914
composer.lock generated

File diff suppressed because it is too large Load Diff