Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c9e645

Browse filesBrowse files
bug #41147 [Inflector][String] wrong plural form of words ending by "pectus" (makraz)
This PR was squashed before being merged into the 4.4 branch. Discussion ---------- [Inflector][String] wrong plural form of words ending by "pectus" | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #41124 | License | MIT | Doc PR | N/A Commits ------- 0dc8893 [Inflector][String] wrong plural form of words ending by "pectus"
2 parents 21bf85f + 0dc8893 commit 9c9e645
Copy full SHA for 9c9e645

File tree

2 files changed

+8
-0
lines changed
Filter options

2 files changed

+8
-0
lines changed

‎src/Symfony/Component/Inflector/Inflector.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Inflector/Inflector.php
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ final class Inflector
6666
// movies (movie)
6767
['seivom', 6, true, true, 'movie'],
6868

69+
// conspectuses (conspectus), prospectuses (prospectus)
70+
['sesutcep', 8, true, true, 'pectus'],
71+
6972
// feet (foot)
7073
['teef', 4, true, true, 'foot'],
7174

@@ -272,6 +275,9 @@ final class Inflector
272275
// circuses (circus)
273276
['suc', 3, true, true, 'cuses'],
274277

278+
// conspectuses (conspectus), prospectuses (prospectus)
279+
['sutcep', 6, true, true, 'pectuses'],
280+
275281
// fungi (fungus), alumni (alumnus), syllabi (syllabus), radii (radius)
276282
['su', 2, true, true, 'i'],
277283

‎src/Symfony/Component/Inflector/Tests/InflectorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Inflector/Tests/InflectorTest.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public function singularizeProvider()
7878
['focuses', ['focus', 'focuse', 'focusis']],
7979
['formulae', 'formula'],
8080
['formulas', 'formula'],
81+
['conspectuses', 'conspectus'],
8182
['fungi', 'fungus'],
8283
['funguses', ['fungus', 'funguse', 'fungusis']],
8384
['garages', ['garag', 'garage']],
@@ -219,6 +220,7 @@ public function pluralizeProvider()
219220
['focus', 'focuses'],
220221
['foot', 'feet'],
221222
['formula', 'formulas'], //formulae
223+
['conspectus', 'conspectuses'],
222224
['fungus', 'fungi'],
223225
['garage', 'garages'],
224226
['goose', 'geese'],

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.