Closed
Description
Symfony version(s) affected
5.4
Description
The EnglishInflector singularizes "zombies" to "zomby".
How to reproduce
use Symfony\Component\String\Inflector\EnglishInflector;
$inflector = new EnglishInflector();
$result = $inflector->singularize('zombies'); // ['zomby']
Possible Solution
// src/Symfony/Component/String/Inflector/EnglishInflector.php
private const PLURAL_MAP = [
// [...]
// add the following
// zombies (zombie)
['seibmoz', 7, true, true, 'zombie'],
// [...]
];
Additional Context
No response