Skip to content

[5.5] Add more uncountable nouns #21476

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

Closed
wants to merge 3 commits into from

Conversation

TheAlexLichter
Copy link
Contributor

No description provided.

@tillkruss tillkruss changed the title Add more uncountable nouns [5.5] Add more uncountable nouns Oct 1, 2017
@jmarcher
Copy link
Contributor

jmarcher commented Oct 1, 2017

Sorry, but your list is wrong, there are quite a few words that are indeed countable.

'data',
'deer',
'distribution',
Copy link
Member

Choose a reason for hiding this comment

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

This is definitely countable.

@@ -12,28 +12,45 @@ class Pluralizer
* @var array
*/
public static $uncountable = [
'access',
'accommodation',
'advice',
Copy link
Contributor

Choose a reason for hiding this comment

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

This one is countable

@@ -42,14 +59,20 @@ class Pluralizer
'plankton',
'pokemon',
'police',
'quality',
Copy link
Contributor

Choose a reason for hiding this comment

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

This one is countable too

@@ -42,14 +59,20 @@ class Pluralizer
'plankton',
'pokemon',
'police',
'quality',
'quantity',
Copy link
Contributor

Choose a reason for hiding this comment

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

This one too

@TheAlexLichter
Copy link
Contributor Author

I shouldn't make PR's late at night 😅 Thanks, @jmarcher and @GrahamCampbell. I removed those words.

@m1guelpf
Copy link
Contributor

m1guelpf commented Oct 1, 2017

@manniL This is a breaking change and should go to the master branch. The pluralizer is used for getting the table Eloquent models use.

@TheAlexLichter
Copy link
Contributor Author

@m1guelpf Referring to other PRs #21324, #21306, #21236, this isn't considered as a breaking change.

@m1guelpf
Copy link
Contributor

m1guelpf commented Oct 1, 2017

@manniL See discussion from #21324 (comment).

@GrahamCampbell
Copy link
Member

Please send to master. There have been enough potentially breaking additions for people to deal with.

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

Successfully merging this pull request may close these issues.

4 participants