-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[String] Fix #54611 pluralization of -on ending words + singularization of -a ending foreign words #54634
New issue
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
Conversation
The common typo issue reported by fabbot.io is not a typo here. |
The |
(you need to bump the version of the string component in the composer.json file to fix the deps=low tests) |
@nicolas-grekas you lost me on this because I don't know to which version should I bump the string component in the composer file of the inflector component as the PR fixes the string component. I obviously can't use 5.4.x-dev ... |
The next version is 5.4.39 |
@@ -26,7 +26,7 @@ | |||
"php": ">=7.2.5", | |||
"symfony/deprecation-contracts": "^2.1|^3", | |||
"symfony/polyfill-php80": "^1.16", | |||
"symfony/string": "^5.3.10|^6.0" | |||
"symfony/string": "^5.4.39|^6.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"symfony/string": "^5.4.39|^6.0" | |
"symfony/string": "^5.4.39|^6.4.7" |
…arization of -a ending foreign words
Thank you @DesLynx. |
fix the pluralization of -on ending words as -ons (with exception for "criterion" and "phenomenon")
fix singularization of -a ending foreign words (see https://english-zone.com/spelling/plurals.html)

note: I left "data" uninflected because it seems to me that changing it to the datum/data inflection could cause side effects as "data" is a widely used word (especially in the coding world).