All notable changes to php-number
will be documented in this file
- Make
Number::create
accept null values by @bobmulder in #13
Full Changelog: https://github.com/madebybob/php-number/compare/2.2.2...2.2.3
- Fix dependencies for Vimeo and PHP CS to fix workflow
Full Changelog: https://github.com/madebybob/php-number/compare/2.2.1...2.2.2
- Add jsonSerialize by @melvin-drost in #16
- @melvin-drost made their first contribution in #16
Full Changelog: https://github.com/madebybob/php-number/compare/2.2.0...2.2.1
- Add
isGreaterThanOrEqual
,isLessThanOrEqual
,eq
,gte
andlte
by @bobmulder in #15
Full Changelog: https://github.com/madebybob/php-number/compare/2.1.1...2.2.0
- Fix update-changelog workflow
Full Changelog: https://github.com/madebybob/php-number/compare/2.1.0...2.1.1
- Change root namespace from
Number
toMadeByBob/Number
(#12)
- Added
round
,ceil
&floor
method inAbstractNumber
- Improved unit tests when Intl extension is not loaded
- Removed
AbstractNumber::create()
in favor of extensibility. Added to the defaultNumber
class. - (it was not possible to extend the method by adding arguments in
AbstractNumber
implementations). - Add this method to your own
AbstractNumber
implementations if you like to be able to use this static factory method. - Changed access identifier of
AbstractNumber::getNumberFromInput()
fromprivate
toprotected
in favor of extensibility.
- Initial release