Closed PatrickRatelband closed 6 years ago
I wrote this update because in some rare instances (bulk direct debits and foreign currency transfers for instance) the book date is actually correctly after the value date of a transaction. After the earlier fix of the book date an analysis of the data revealed this discrepancy and resulted in book dates differing by almost a year from the value date.
I am currently working on the results of the tests, to see if they should be updated to reflect this as some of them are failing.
The tests fail for PHP 5.7 and up, it seems this is not a problem with the code, but with the CI itself.
Looks good! I fixed the unittests. I was using an old PHPUnit version and Travis was using a much newer version.
\DateTime
to a target\DateTime
and a given month and day.StatementInterface
totransaction
method, to ensure the book date is within the statement date boundaries.~IngParser
to adhere to the new method signature.~edit: Removed the passing of the
StatementInterface
to thetransaction
method as not all banks adhere to only exporting transactions with book dates between the opening and closing balance dates.