Skip to content

Commit 766676f

Browse files
committed
bug #53567 [String] Correct inflection of axis (Vladislav Iurciuc)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead. Discussion ---------- [String] Correct inflection of axis | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT ***Problem*** Plural form of the word "axis" currently is "axiss", but should be "axes". Commits ------- 36b341e [String] Correct inflection of axis
2 parents afe2c27 + 36b341e commit 766676f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ final class EnglishInflector implements InflectorInterface
166166
// Fourth entry: Whether the suffix may succeed a consonant
167167
// Fifth entry: plural suffix, normal
168168

169+
// axes (axis)
170+
['sixa', 4, false, false, 'axes'],
171+
169172
// criterion (criteria)
170173
['airetirc', 8, false, false, 'criterion'],
171174

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public static function pluralizeProvider()
185185
['arch', 'arches'],
186186
['atlas', 'atlases'],
187187
['axe', 'axes'],
188+
['axis', 'axes'],
188189
['baby', 'babies'],
189190
['bacterium', 'bacteria'],
190191
['base', 'bases'],

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