Skip to content
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

Fix plural of media breaking change #142

Merged

Conversation

patrickbrouwers
Copy link
Contributor

When using 1.3 of inflector, the plural of media was media (which is correct, media is already the plural of medium). When updating to 1.4 the plural became medias, which I believe is incorrect but also a breaking change.

1.3.1:

echo Inflector::pluralize('media');
// media

1.4.0:

echo Inflector::pluralize('media');
// medias

Related issue that was caused by this change: spatie/laravel-medialibrary#1864

Possible related PR: #125

Add tests for plural of media
@patrickbrouwers patrickbrouwers force-pushed the fix-media-plural-breaking-change branch from 9597824 to b4d1151 Compare May 8, 2020 20:20
@alcaeus alcaeus self-assigned this May 9, 2020
@alcaeus alcaeus added the Bug label May 9, 2020
@alcaeus alcaeus added this to the 1.4.1 milestone May 9, 2020
@alcaeus alcaeus merged commit 0ae489b into doctrine:1.4.x May 9, 2020
@alcaeus
Copy link
Member

alcaeus commented May 9, 2020

Thanks @patrickbrouwers!

@patrickbrouwers patrickbrouwers deleted the fix-media-plural-breaking-change branch May 9, 2020 10:04
@bomshteyn
Copy link

Hi @alcaeus, when is this being tagged / released?

@alcaeus
Copy link
Member

alcaeus commented May 11, 2020

We'll have a release out later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants