File tree 6 files changed +10
-6
lines changed
6 files changed +10
-6
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 Illuminate \Foundation \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::class,
17
+ HttpException::class,
17
18
];
18
19
19
20
/**
Original file line number Diff line number Diff line change 32
32
" php artisan clear-compiled" ,
33
33
" php artisan optimize"
34
34
],
35
+ "pre-update-cmd" : [
36
+ " php artisan clear-compiled"
37
+ ],
35
38
"post-update-cmd" : [
36
- " php artisan clear-compiled" ,
37
39
" php artisan optimize"
38
40
],
39
41
"post-root-package-install" : [
Original file line number Diff line number Diff line change 13
13
|
14
14
*/
15
15
16
- 'debug ' => env ('APP_DEBUG ' ),
16
+ 'debug ' => env ('APP_DEBUG ' , false ),
17
17
18
18
/*
19
19
|--------------------------------------------------------------------------
Original file line number Diff line number Diff line change 24
24
],
25
25
26
26
'ses ' => [
27
- 'key ' => '' ,
27
+ 'key ' => '' ,
28
28
'secret ' => '' ,
29
29
'region ' => 'us-east-1 ' ,
30
30
],
31
31
32
32
'stripe ' => [
33
33
'model ' => App \User::class,
34
- 'key ' => '' ,
34
+ 'key ' => '' ,
35
35
'secret ' => '' ,
36
36
],
37
37
Original file line number Diff line number Diff line change 71
71
'array ' => 'The :attribute must contain :size items. ' ,
72
72
],
73
73
'timezone ' => 'The :attribute must be a valid zone. ' ,
74
+ 'string ' => 'The :attribute must be a string. ' ,
74
75
'unique ' => 'The :attribute has already been taken. ' ,
75
76
'url ' => 'The :attribute format is invalid. ' ,
76
77
Original file line number Diff line number Diff line change 14
14
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
15
15
// built-in PHP web server. This provides a convenient way to test a Laravel
16
16
// application without having installed a "real" web server software here.
17
- if ($ uri !== '/ ' and file_exists (__DIR__ .'/public ' .$ uri )) {
17
+ if ($ uri !== '/ ' && file_exists (__DIR__ .'/public ' .$ uri )) {
18
18
return false ;
19
19
}
20
20
You can’t perform that action at this time.
0 commit comments