Update dependency moneyphp/money to v4 #48
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.2
->^3.2 || ^4.0
Release Notes
moneyphp/money (moneyphp/money)
v4.5.1
Compare Source
v4.5.0
Compare Source
Fixed
Removed
v4.4.0
Compare Source
Added
v4.3.0
Compare Source
Added
Removed
v4.2.0
Compare Source
Added
v4.1.1
Compare Source
Fixed
v4.1.0
Compare Source
Added
Fixed
Changes
composer.lock
is not committed anymoreAdded
CryptoCurrencies
class that serves crypto-currencies from moneyphp/crypto-currenciesv4.0.5
Compare Source
Fixed
v4.0.4
Compare Source
Added
Changes
v4.0.3
Compare Source
Fixed
jsonSerialize
return types, resulting in no PHP 8.1 warnings.v4.0.2
Compare Source
Changes
composer.json
, including those bundled with PHP.Fixed
empty
uses. Money values of '0' gave an assertion error in decimal formats (#655)v4.0.1
Compare Source
Changed
int
as multiplier forMoney::multiply
int
as divisor forMoney::divide
v4.0.0
Compare Source
Added
Converter#convertAndReturnWithCurrencyPair
to get the combination of the converted money and currency pairConverter#convertAgainstCurrencyPair
to convert against a currency pairChanged
multiply
anddivide
do not accept floating points any more. Callers are required toconvert a float to string (e.g.
sprintf('%.14F', $float)
) before calling these methods.FixedExchange
does not accept floating points any more. Callers are required toconvert a float to string (e.g.
sprintf('%.14F', $float)
) before calling the constructor.Money#isSameCurrency
Parser#parse
to$fallbackCurrency
Fixed
Money#allocate()
is now allowed (#258)Removed
PhpCalculator
Currency#isAvailableWithin()
MoneyParser#parse
, only Currency objects are accepted nowv3.3.3
Compare Source
Fix some more deprecation warnings.
v3.3.2
Compare Source
Fix deprecation warnings.
v3.3.1
Compare Source
Fixed
v3.3.0
Compare Source
Changed
Money
to be understood as pure/immutable downstream (#576)Fixed
Configuration
📅 Schedule: Branch creation - "* 6-22/3 * * 1-5,* 12-23/3 * * 0,6" in timezone Europe/Amsterdam, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.