Skip to content

Commit 7e30301

Browse files
author
Graham Campbell
committed
Sync with 5.0
1 parent 15d6f3f commit 7e30301

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
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 Illuminate\Foundation\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::class,
17+
HttpException::class,
1718
];
1819

1920
/**

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@
3232
"php artisan clear-compiled",
3333
"php artisan optimize"
3434
],
35+
"pre-update-cmd": [
36+
"php artisan clear-compiled"
37+
],
3538
"post-update-cmd": [
36-
"php artisan clear-compiled",
3739
"php artisan optimize"
3840
],
3941
"post-root-package-install": [

config/app.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
|
1414
*/
1515

16-
'debug' => env('APP_DEBUG'),
16+
'debug' => env('APP_DEBUG', false),
1717

1818
/*
1919
|--------------------------------------------------------------------------

config/services.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
],
2525

2626
'ses' => [
27-
'key' => '',
27+
'key' => '',
2828
'secret' => '',
2929
'region' => 'us-east-1',
3030
],
3131

3232
'stripe' => [
3333
'model' => App\User::class,
34-
'key' => '',
34+
'key' => '',
3535
'secret' => '',
3636
],
3737

resources/lang/en/validation.php

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
'array' => 'The :attribute must contain :size items.',
7272
],
7373
'timezone' => 'The :attribute must be a valid zone.',
74+
'string' => 'The :attribute must be a string.',
7475
'unique' => 'The :attribute has already been taken.',
7576
'url' => 'The :attribute format is invalid.',
7677

server.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
1515
// built-in PHP web server. This provides a convenient way to test a Laravel
1616
// 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)) {
1818
return false;
1919
}
2020

0 commit comments

Comments
 (0)