8000 bug #53567 [String] Correct inflection of axis (Vladislav Iurciuc) · symfony/symfony@766676f · GitHub
[go: up one dir, main page]

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

+3
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

+1
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)
0