diff --git a/.env.example b/.env.example
index 44853cd59..b7becbac4 100644
--- a/.env.example
+++ b/.env.example
@@ -5,6 +5,7 @@ APP_DEBUG=true
APP_URL=http://localhost
LOG_CHANNEL=stack
+LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b7ae68cc2..b1f1627c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,18 @@
# Release Notes
-## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.3...master)
+## [Unreleased](https://github.com/laravel/laravel/compare/v8.6.5...master)
+
+
+## [v8.6.5 (2021-10-26)](https://github.com/laravel/laravel/compare/v8.6.4...v8.6.5)
+
+### Changed
+- Guess database factory model by default ([#5713](https://github.com/laravel/laravel/pull/5713))
+
+
+## [v8.6.4 (2021-10-20)](https://github.com/laravel/laravel/compare/v8.6.3...v8.6.4)
+
+### Changed
+- Log deprecations instead of treating them as exceptions ([#5711](https://github.com/laravel/laravel/pull/5711))
## [v8.6.3 (2021-10-05)](https://github.com/laravel/laravel/compare/v8.6.2...v8.6.3)
diff --git a/README.md b/README.md
index 05426eacf..c85be5846 100644
--- a/README.md
+++ b/README.md
@@ -46,6 +46,7 @@ We would like to extend our thanks to the following sponsors for funding Laravel
- **[OP.GG](https://op.gg)**
- **[CMS Max](https://www.cmsmax.com/)**
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
+- **[Lendio](https://lendio.com)**
## Contributing
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index c18c43cc1..3ca4b3458 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -10,7 +10,7 @@ class Handler extends ExceptionHandler
/**
* A list of the exception types that are not reported.
*
- * @var array
+ * @var string[]
*/
protected $dontReport = [
//
@@ -19,7 +19,7 @@ class Handler extends ExceptionHandler
/**
* A list of the inputs that are never flashed for validation exceptions.
*
- * @var array
+ * @var string[]
*/
protected $dontFlash = [
'current_password',
diff --git a/composer.json b/composer.json
index 04ac98a96..a1a804c40 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,7 @@
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.0",
- "phpunit/phpunit": "^9.5.8"
+ "phpunit/phpunit": "^9.5.10"
},
"autoload": {
"psr-4": {
diff --git a/config/logging.php b/config/logging.php
index 1aa06aa30..880cd9227 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -19,6 +19,19 @@ return [
'default' => env('LOG_CHANNEL', 'stack'),
+ /*
+ |--------------------------------------------------------------------------
+ | Deprecations Log Channel
+ |--------------------------------------------------------------------------
+ |
+ | This option controls the log channel that should be used to log warnings
+ | regarding deprecated PHP and library features. This allows you to get
+ | your application ready for upcoming major versions of dependencies.
+ |
+ */
+
+ 'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
+
/*
|--------------------------------------------------------------------------
| Log Channels
diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php
index a24ce53f5..a3eb239a9 100644
--- a/database/factories/UserFactory.php
+++ b/database/factories/UserFactory.php
@@ -2,19 +2,11 @@
namespace Database\Factories;
-use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
- /**
- * The name of the factory's corresponding model.
- *
- * @var string
- */
- protected $model = User::class;
-
/**
* Define the model's default state.
*
diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php
index 754e42745..dd6a45db7 100644
--- a/resources/views/welcome.blade.php
+++ b/resources/views/welcome.blade.php
@@ -11,7 +11,7 @@