From 9555383c4718be5dcd54e7bb4a26d72f1bbeb218 Mon Sep 17 00:00:00 2001 From: James Freeman Date: Thu, 6 Jun 2019 14:19:16 +0100 Subject: [PATCH 1/3] Added related to Pluralizer --- src/Illuminate/Support/Pluralizer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Pluralizer.php b/src/Illuminate/Support/Pluralizer.php index 75a2f6ac31d6..fba78703f3c2 100755 --- a/src/Illuminate/Support/Pluralizer.php +++ b/src/Illuminate/Support/Pluralizer.php @@ -45,6 +45,7 @@ class Pluralizer 'pokemon', 'police', 'rain', + 'related', 'rice', 'series', 'sheep', From d85b3e1328eba7cd20a43923bfff96b8b153cee8 Mon Sep 17 00:00:00 2001 From: James Freeman Date: Thu, 6 Jun 2019 14:20:52 +0100 Subject: [PATCH 2/3] Added recommended to Pluralizer --- src/Illuminate/Support/Pluralizer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Pluralizer.php b/src/Illuminate/Support/Pluralizer.php index fba78703f3c2..01cba35676a3 100755 --- a/src/Illuminate/Support/Pluralizer.php +++ b/src/Illuminate/Support/Pluralizer.php @@ -45,6 +45,7 @@ class Pluralizer 'pokemon', 'police', 'rain', + 'recommended', 'related', 'rice', 'series', From 4216286b2890196a8af35f1f6d0a6063e0f13cb5 Mon Sep 17 00:00:00 2001 From: James Freeman Date: Thu, 6 Jun 2019 14:49:32 +0100 Subject: [PATCH 3/3] Fixed failing tests --- tests/Integration/Database/EloquentModelLoadCountTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Database/EloquentModelLoadCountTest.php b/tests/Integration/Database/EloquentModelLoadCountTest.php index 533e482bd517..418200389fda 100644 --- a/tests/Integration/Database/EloquentModelLoadCountTest.php +++ b/tests/Integration/Database/EloquentModelLoadCountTest.php @@ -31,7 +31,7 @@ protected function setUp(): void $table->unsignedInteger('base_model_id'); }); - Schema::create('deleted_relateds', function (Blueprint $table) { + Schema::create('deleted_related', function (Blueprint $table) { $table->increments('id'); $table->unsignedInteger('base_model_id'); $table->softDeletes();