Skip to content

[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

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

DesLynx
Copy link

@DesLynx DesLynx commented Apr 17, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #54611
License MIT

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).

  • update the test suites (String component + deprecated Inflector component) according to the changes

@DesLynx
Copy link
Author

DesLynx commented Apr 17, 2024

The common typo issue reported by fabbot.io is not a typo here.

@DesLynx
Copy link
Author

DesLynx commented Apr 17, 2024

The Unit Tests / Unit Tests (8.2, low-deps) (pull_request) uses the String component v5.3 making the Inflector component test failed. Should I have targetted the 5.3 branch instead of the 5.4?

@nicolas-grekas
Copy link
Member

(you need to bump the version of the string component in the composer.json file to fix the deps=low tests)

@DesLynx
Copy link
Author

DesLynx commented Apr 23, 2024

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

@nicolas-grekas
Copy link
Member

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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"symfony/string": "^5.4.39|^6.0"
"symfony/string": "^5.4.39|^6.4.7"

@fabpot
Copy link
Member

fabpot commented Jun 9, 2024

Thank you @DesLynx.

@fabpot fabpot merged commit 2eb46eb into symfony:5.4 Jun 9, 2024
10 of 12 checks passed
This was referenced Jun 28, 2024
This was referenced Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants