8000 fix aircraft inflection · bartrail/symfony@216776b · GitHub
[go: up one dir, main page]

Skip to content

Commit 216776b

Browse files
renanbrfabpot
authored andcommitted
fix aircraft inflection
1 parent 4460eb4 commit 216776b

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
@@ -387,6 +387,9 @@ final class EnglishInflector implements InflectorInterface
387387

388388
// traffic
389389
'ciffart',
390+
391+
// aircraft
392+
'tfarcria',
390393
];
391394

392395
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ public static function pluralizeProvider()
178178
['access', 'accesses'],
179179
['address', 'addresses'],
180180
['agenda', 'agendas'],
181+
['aircraft', 'aircraft'],
181182
['alumnus', 'alumni'],
182183
['analysis', 'analyses'],
183184
['antenna', 'antennas'], // antennae

0 commit comments

Comments
 (0)
0