Releases: ICanBoogie/Inflector
Releases · ICanBoogie/Inflector
v3.0.0
New requirements
None
New features
Added StaticInflector
, which can be used instead of the helper functions.
Backward Incompatible Changes
The file with the helper functions is no longer included in the autoload. You must include the
file vendor/icanboogie/inflector/lib/helpers.php
in your composer.json
if you want to continue
using these functions. Better use the new StaticInflector
instead.
Deprecated Features
None
Other Changes
None
v2.2.2
v2.2.0
v2.1.0
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
Merge pull request #38 from donatj/fix/ExecBit Removes executable flag from a number of files
Requires PHP 7.1+
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()
- Add Inflector::is_uncountable() @pdscopes
underscore() converts spaces too
Merge pull request #23 from mattsah/master Handle spaces in underscoring (therefore hyphenating)
Currency is countable
Merge pull request #21 from ICanBoogie/currecy-is-countable Currency is countable