8000 [String] Correct inflection of axis · bartrail/symfony@36b341e · GitHub
[go: up one dir, main page]

Skip to content

Commit 36b341e

Browse files
Vladislav Iurciucfabpot
Vladislav Iurciuc
authored andcommitted
[String] Correct inflection of axis
1 parent afe2c27 commit 36b341e

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