Skip to content

Commit a54b570

Browse files
committed
Just some small PSR-2 changes
1 parent a2331a9 commit a54b570

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

app/Exceptions/Handler.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace App\Exceptions;
44

55
use Exception;
6+
use Symfony\Component\HttpKernel\Exception\HttpException;
67
use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
78

89
class Handler extends ExceptionHandler
@@ -13,7 +14,7 @@ class Handler extends ExceptionHandler
1314
* @var array
1415
*/
1516
protected $dontReport = [
16-
'Symfony\Component\HttpKernel\Exception\HttpException'
17+
HttpException::class,
1718
];
1819

1920
/**

app/Providers/AppServiceProvider.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php namespace App\Providers;
1+
<?php
2+
3+
namespace App\Providers;
24

35
use Illuminate\Support\ServiceProvider;
46

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "MIT",
66
"type": "project",
77
"require": {
8+
"php": ">=5.5.9",
89
"laravel/lumen-framework": "5.1.*",
910
"vlucas/phpdotenv": "~1.0"
1011
},

0 commit comments

Comments
 (0)