Skip to content

Releases: ICanBoogie/Inflector

v2.2.0

20 Oct 02:56
Compare
Choose a tag to compare

Added

  • Throw InflectionsNotFound on missing inflections.

v2.1.0

16 Jul 23:24
Compare
Choose a tag to compare

Added

  • Code Style checking with PHP CodeSniffer. PSR-12 adjacent.
  • Static analysis with PHPStan.
  • Upgrade guide.
  • Contributing guidelines.
  • Code of Conduct.

Changed

  • Replaced Travis with GitHub actions.
  • Using PSR-4 instead of classmap.
  • Localized inflections are now classes, which are autoloaded.

Remove exec bits

08 Dec 23:56
4cbb074
Compare
Choose a tag to compare
Merge pull request #38 from donatj/fix/ExecBit

Removes executable flag from a number of files

Requires PHP 7.1+

04 Oct 09:45
Compare
Choose a tag to compare

We now have PHP 7.1 type hints throughout the codebase. This should not be an issue for upgrading, as long as you're running PHP 7.1+, of course.

Inflector::is_uncountable()

21 May 19:08
fb6ca79
Compare
Choose a tag to compare

underscore() converts spaces too

30 Jun 13:18
Compare
Choose a tag to compare
Merge pull request #23 from mattsah/master

Handle spaces in underscoring (therefore hyphenating)

Currency is countable

26 Apr 07:57
Compare
Choose a tag to compare
Merge pull request #21 from ICanBoogie/currecy-is-countable

Currency is countable

camelize() preserve string end casing

15 Dec 09:16
Compare
Choose a tag to compare

v1.4.1

02 Jul 11:18
Compare
Choose a tag to compare
  • en: Added uncountable feedback
  • en: Added plural rules for potato(es), volcano(es), and hero(es).

Portuguese inflections

03 Nov 11:09
Compare
Choose a tag to compare

New features

  • Added Portuguese inflectors.
  • en: goose / geese, management / staff.