8000 bug #53581 [String] fix aircraft inflection (renanbr) · symfony/symfony@9529c23 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9529c23

Browse files
committed
bug #53581 [String] fix aircraft inflection (renanbr)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead. Discussion ---------- [String] fix aircraft inflection | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT The plural of aircraft is aircraft. https://dictionary.cambridge.org/dictionary/english/aircraft Commits ------- 216776b fix aircraft inflection
2 parents 4460eb4 + 216776b commit 9529c23

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
@@ -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

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