Money v3.1.0 Release Notes
Release Date: 2018-01-10 // over 6 years ago-
➕ Added
- CurrencyList to instantiate in-memory currencies
- modulus method to Money
- ratioOf method to Money
- ✅ Comparator for easier testing Money object with PHPUnit
- 📜 IntlLocalizedDecimalParser and IntlLocalizedDecimalFormatter
🔄 Changed
- 📜
MoneyParser::parse
method now expects a Currency object - ⬇️ Dropped PHP 5.5
🗄 Deprecated
- 📜 Passing currency code as string to
MoneyParser::parse
🛠 Fixed
- Do not allocate remainder to a ratio of zero
- Conversion result is always 0 when subunit difference is large enough
- Unexpected result when converting small Bitcoin amounts
- 🛠 Fixed StyleCI being too aggressive