1.0.0
- PHP 7.4 compatiblity
- Type hinting everywhere and strict types
- Lots of code quality improvement via PHPStan and PhpStorm
- Returning
null
instead ofBadMethodCallException
BREAKING CHANGES
Genkgo\Camt\DTO\ChargesRecord
getChargesIncludedIndicator()
does not have non ASCII character in method name anymore
Genkgo\Camt\DTO\Reference
getAccountServiceReference()
is renamed togetAccountServicerReference()
Genkgo\Camt\DTO\EntryTransactionDetail
getReferences()
was deleted, instead usegetReference()
getAmountDetails()
andgetAmount()
both returns?Money
instead of
the oldAmount
andAmountDetails
classes. Your code should be adapted like so:
- $amount = $entryTransactionDetail->getAmount()->getAmount();
+ $amount = $entryTransactionDetail->getAmount();
Returning null
instead of BadMethodCallException
We no longer throw an exception if something is null. This allow end-user to query
for the existence of something without having to catch exception.
In most cases, you should be able to remove your try/catch blocks.