Skip to content

Commit 96d39f7

Browse files
committed
Merge branch 'marchershey-upgrade-laravel-6.x-to-7.x'
2 parents eb1df6b + 5385af3 commit 96d39f7

File tree

6 files changed

+1066
-723
lines changed

6 files changed

+1066
-723
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of
1919
* [Admin Templates built on top of CoreUI Pro](#admin-templates-built-on-top-of-coreui-pro)
2020
* [Installation](#installation)
2121
* [Usage](#Usage)
22+
* [Features](#Features)
2223
* [Creators](#creators)
2324
* [Community](#community)
2425
* [Community Projects](#community-projects)

app/Exceptions/Handler.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace App\Exceptions;
44

5-
use Exception;
65
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
6+
use Throwable;
77

88
class Handler extends ExceptionHandler
99
{
@@ -29,10 +29,12 @@ class Handler extends ExceptionHandler
2929
/**
3030
* Report or log an exception.
3131
*
32-
* @param \Exception $exception
32+
* @param \Throwable $exception
3333
* @return void
34+
*
35+
* @throws \Exception
3436
*/
35-
public function report(Exception $exception)
37+
public function report(Throwable $exception)
3638
{
3739
parent::report($exception);
3840
}
@@ -41,10 +43,12 @@ public function report(Exception $exception)
4143
* Render an exception into an HTTP response.
4244
*
4345
* @param \Illuminate\Http\Request $request
44-
* @param \Exception $exception
45-
* @return \Illuminate\Http\Response
46+
* @param \Throwable $exception
47+
* @return \Symfony\Component\HttpFoundation\Response
48+
*
49+
* @throws \Throwable
4650
*/
47-
public function render($request, Exception $exception)
51+
public function render($request, Throwable $exception)
4852
{
4953
return parent::render($request, $exception);
5054
}

composer.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,22 @@
88
],
99
"license": "MIT",
1010
"require": {
11-
"php": "^7.2",
12-
"fideloper/proxy": "^4.0",
13-
"laravel/framework": "^6.0",
14-
"laravel/tinker": "^1.0",
15-
"spatie/laravel-medialibrary": "^7.0.0",
16-
"spatie/laravel-permission": "^3.3"
11+
"php": "^7.2.5",
12+
"fideloper/proxy": "^4.2",
13+
"laravel/framework": "^7.0",
14+
"fruitcake/laravel-cors": "^1.0",
15+
"guzzlehttp/guzzle": "^6.3",
16+
"laravel/tinker": "^2.3.0",
17+
"spatie/laravel-medialibrary": "^7.19.0",
18+
"spatie/laravel-permission": "^3.8",
19+
"laravel/ui": "^2.0.1"
1720
},
1821
"require-dev": {
19-
"facade/ignition": "^1.4",
20-
"fzaninotto/faker": "^1.4",
21-
"laravel/ui": "^1.0",
22-
"mockery/mockery": "^1.0",
23-
"nunomaduro/collision": "^3.0",
24-
"phpunit/phpunit": "^8.0"
22+
"facade/ignition": "^2.0",
23+
"fzaninotto/faker": "^1.9.1",
24+
"mockery/mockery": "^1.3.1",
25+
"nunomaduro/collision": "^4.1",
26+
"phpunit/phpunit": "^8.5"
2527
},
2628
"config": {
2729
"optimize-autoloader": true,
@@ -66,4 +68,4 @@
6668
"@php artisan key:generate --ansi"
6769
]
6870
}
69-
}
71+
}

0 commit comments

Comments
 (0)