Skip to content

Commit 3823582

Browse files
committed
Fix plurial of word ending by pus
1 parent e111a54 commit 3823582

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Symfony/Component/String/Inflector/EnglishInflector.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ final class EnglishInflector implements InflectorInterface
291291
// circuses (circus)
292292
['suc', 3, true, true, 'cuses'],
293293

294+
// hippocampi (hippocampus)
295+
['supmacoppih', 11, false, false, 'hippocampi'],
296+
297+
// campuses (campus)
298+
['sup', 3, true, true, 'puses'],
299+
294300
// status (status)
295301
['sutats', 6, true, true, ['status', 'statuses']],
296302

src/Symfony/Component/String/Tests/Inflector/EnglishInflectorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ public static function pluralizeProvider()
298298
['waltz', 'waltzes'],
299299
['wife', 'wives'],
300300
['icon', 'icons'],
301+
['hippocampus', 'hippocampi'],
302+
['campus', 'campuses'],
301303

302304
// test casing: if the first letter was uppercase, it should remain so
303305
['Man', 'Men'],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy