From 9aa7bb73d3fd39f69d56264106748d4865abbe5b Mon Sep 17 00:00:00 2001 From: jeffreymoelands Date: Tue, 5 Nov 2019 16:42:52 +0100 Subject: [PATCH] add species to inflector and inflector tests --- src/Symfony/Component/Inflector/Inflector.php | 1 + src/Symfony/Component/Inflector/Tests/InflectorTest.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Symfony/Component/Inflector/Inflector.php b/src/Symfony/Component/Inflector/Inflector.php index 3e305f0a3dd2..70ac51fc0dfa 100644 --- a/src/Symfony/Component/Inflector/Inflector.php +++ b/src/Symfony/Component/Inflector/Inflector.php @@ -318,6 +318,7 @@ final class Inflector 'esoom', 'seires', 'peehs', + 'seiceps', ]; /** diff --git a/src/Symfony/Component/Inflector/Tests/InflectorTest.php b/src/Symfony/Component/Inflector/Tests/InflectorTest.php index d0bf01ea9095..1d80d1d636da 100644 --- a/src/Symfony/Component/Inflector/Tests/InflectorTest.php +++ b/src/Symfony/Component/Inflector/Tests/InflectorTest.php @@ -134,6 +134,7 @@ public function singularizeProvider() ['services', 'service'], ['sheriffs', 'sheriff'], ['shoes', ['sho', 'shoe']], + ['species', 'species'], ['spies', 'spy'], ['staves', ['staf', 'stave', 'staff']], ['stories', 'story'], @@ -268,6 +269,7 @@ public function pluralizeProvider() ['service', 'services'], ['sheriff', 'sheriffs'], ['shoe', 'shoes'], + ['species', 'species'], ['spy', 'spies'], ['staff', 'staves'], ['story', 'stories'],