We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.x
Nexus incorrectly maps to the "ends in 'us'" rule when pluralizing.
->singularize('nexuses')
'nexus'
->singularize('nexi')
->pluralize('nexus')
'nexi'
Both Oxford and Merriam Webster list "nexuses" as the proper pluralization
<?php require_once __DIR__.'/vendor/autoload.php'; $inflector = new \Symfony\Component\String\Inflector\EnglishInflector(); var_dump( $inflector->singularize('nexuses'), $inflector->singularize('nexi'), $inflector->pluralize('nexus'), );
nexus should be added as a specific case similar to hippocampus
nexus
hippocampus
No response
The text was updated successfully, but these errors were encountered:
d5376fc
Successfully merging a pull request may close this issue.
Symfony version(s) affected
7.x
Description
Nexus incorrectly maps to the "ends in 'us'" rule when pluralizing.
->singularize('nexuses')
='nexus'
->singularize('nexi')
='nexus'
->pluralize('nexus')
='nexi'
Both Oxford and Merriam Webster list "nexuses" as the proper pluralization
How to reproduce
Possible Solution
nexus
should be added as a specific case similar tohippocampus
Additional Context
No response
The text was updated successfully, but these errors were encountered: