doctrine/inflector

Singularizing "intensives" becomes "intensife"

dmaksimov opened this issue · 3 comments

Doing

Doctrine\Common\Inflector\Inflector::singularize('intensives')

returns

"intensife"

Judging by the method signature, I'm assuming you're using version 1.x of the inflector. If you can, please send a PR to the 1.3.x branch of the repository with a fix. You can see the irregular words here and here as well as some unit tests.

Looking at the dictionary, the noun "intensive" does not have a plural form "intensives". I don't know what the intended behaviour is when passing a word that doesn't exist/is wrong, but I think this is not necessarily a bug.

jwage commented

As mentioned above, I don't believe this is a bug. If someone believes we should handle this case, please reopen with justification.