Skip to content

[String] Fix inflector for "zombies" #43790

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
Oct 28, 2021
Merged

Conversation

acodispo
Copy link
Contributor

The word "zombies" should be singularized to "zombie" (rather than
"zomby"). We provide a PLURAL_MAP for this case, as well as a test.

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #43789
License MIT

The word "zombies" should be singularized to "zombie" (rather than
"zomby"). We provide a PLURAL_MAP for this case, as well as a test.
@carsonbot
Copy link

Hey!

I see that this is your first PR. That is great! Welcome!

Symfony has a contribution guide which I suggest you to read.

In short:

  • Always add tests
  • Keep backward compatibility (see https://symfony.com/bc).
  • Bug fixes must be submitted against the lowest maintained branch where they apply (see https://symfony.com/releases)
  • Features and deprecations must be submitted against the 5.4 branch.

Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change.

When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor!
If this PR is merged in a lower version branch, it will be merged up to all maintained branches within a few days.

I am going to sit back now and wait for the reviews.

Cheers!

Carsonbot

@carsonbot
Copy link

It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you.

Cheers!

Carsonbot

@nicolas-grekas nicolas-grekas changed the title [String] Add PLURAL_MAP "zombies" -- fix #43789 [String] Fix inflector for "zombies" Oct 27, 2021
@derrabus
Copy link
Member

Happy (early) Halloween. 🎃

We need to fix this on 4.4 in the Inflector component, don't we?

@fabpot
Copy link
Member

fabpot commented Oct 28, 2021

Thank you @acodispo.

@fabpot fabpot merged commit c2ecdc6 into symfony:5.3 Oct 28, 2021
@acodispo acodispo deleted the ticket_43789 branch October 28, 2021 20:04
@fabpot fabpot mentioned this pull request Oct 29, 2021
@acodispo
Copy link
Contributor Author

Happy (early) Halloween. jack_o_lantern

👻

We need to fix this on 4.4 in the Inflector component, don't we?

I hadn't thought of that! Happy to open another PR when I get a chance. :)

@acodispo
Copy link
Contributor Author

New PR #43834 targets v4.4.

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.

6 participants