File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
namespace App \Exceptions ;
4
4
5
5
use Exception ;
6
+ use Symfony \Component \HttpKernel \Exception \HttpException ;
6
7
use Laravel \Lumen \Exceptions \Handler as ExceptionHandler ;
7
8
8
9
class Handler extends ExceptionHandler
@@ -13,7 +14,7 @@ class Handler extends ExceptionHandler
13
14
* @var array
14
15
*/
15
16
protected $ dontReport = [
16
- ' Symfony\Component\HttpKernel\Exception\ HttpException'
17
+ HttpException::class,
17
18
];
18
19
19
20
/**
Original file line number Diff line number Diff line change 1
- <?php namespace App \Providers ;
1
+ <?php
2
+
3
+ namespace App \Providers ;
2
4
3
5
use Illuminate \Support \ServiceProvider ;
4
6
Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"type" : " project" ,
7
7
"require" : {
8
+ "php" : " >=5.5.9" ,
8
9
"laravel/lumen-framework" : " 5.1.*" ,
9
10
"vlucas/phpdotenv" : " ~1.0"
10
11
},
You can’t perform that action at this time.
0 commit comments