@wapmorgan wapmorgan released this Jul 20, 2017 · 86 commits to master since this release

Assets 2

BC-breaking API changes

Russian

  • renamed classes:

    • GeneralDeclensionNounDeclension
    • PluralityNounPluralization
    • TimeUnitSpellerTimeSpeller
  • partially renamed classes:

    • CardinalNumeralCardinalNumeralGenerator
    • OrdinalNumeralOrdinalNumeralGenerator
    • FirstNamesDeclension, MiddleNamesDeclension, LastNamesDeclension, GeographicalNamesDeclension: Declension replaced with Inflection
  • functions change:

    • name() renamed to inflectName()
    • pluralize() now returns a string in format "%n %word" instead of inflected word only.

English:

  • renamed classes:
    • CardinalNumeralCardinalNumeralGenerator
    • OrdinalNumeralOrdinalNumeralGenerator
    • PluralityNounPluralization

New features

Russian:

  • Added method NounDeclension::detectGender() for gender detection of nouns.
  • Updated rule of female last names ending with ха.

Project changes

Now Morphos fully meets PSR-2.