File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 fail-fast : true
1111 matrix :
1212 php : [7.2, 7.3, 7.4]
13- laravel : [^6 .0]
13+ laravel : [^7 .0]
1414 dependency-version : [prefer-lowest, prefer-stable]
1515 include :
16- - laravel : ^6 .0
17- testbench : ^4 .0
16+ - laravel : ^7 .0
17+ testbench : ^5 .0
1818
1919 name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2020
Original file line number Diff line number Diff line change 1111 }
1212 ],
1313 "require" : {
14- "php" : " ^7.2" ,
15- "laravel/framework" : " ^6 .0"
14+ "php" : " ^7.2.5 " ,
15+ "laravel/framework" : " ^7 .0"
1616 },
1717 "require-dev" : {
18- "orchestra/testbench" : " ^4 .0" ,
18+ "orchestra/testbench" : " ^5 .0" ,
1919 "phpunit/phpunit" : " ^8.0"
2020 },
2121 "autoload" : {
Original file line number Diff line number Diff line change 33namespace iMemento \Exceptions \Laravel ;
44
55use Exception ;
6+ use Throwable ;
67use Illuminate \Auth \AuthenticationException ;
78use Illuminate \Contracts \Container \Container ;
89use Illuminate \Contracts \Support \Responsable ;
@@ -41,7 +42,7 @@ public function __construct(Container $container)
4142 }
4243
4344
44- public function report (Exception $ e )
45+ public function report (Throwable $ e )
4546 {
4647 if ($ this ->shouldntReport ($ e )) {
4748 return ;
@@ -66,7 +67,7 @@ public function report(Exception $e)
6667 );
6768 }
6869
69- public function render ($ request , Exception $ e )
70+ public function render ($ request , Throwable $ e )
7071 {
7172 if (method_exists ($ e , 'render ' ) && $ response = $ e ->render ($ request )) {
7273 return Router::toResponse ($ request , $ response );
You can’t perform that action at this time.
0 commit comments