Skip to content

Commit

Permalink
Auto commit for release 'v1.5.2' on 2024-04-23
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 23, 2024
1 parent c9444a9 commit 70dbea3
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 85 deletions.
6 changes: 3 additions & 3 deletions app/Console/AutoImports.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ private function reportBalanceDifference(Account $account, LocalAccount $localAc

/** @var Balance $balance */
foreach ($account->getBalances() as $index => $balance) {
app('log')->debug(sprintf('Now comparing balance entry "%s" (#%d of %d)',$balance->type, $index + 1, count($account->getBalances())));
app('log')->debug(sprintf('Now comparing balance entry "%s" (#%d of %d)', $balance->type, $index + 1, count($account->getBalances())));
$this->reportSingleDifference($account, $localAccount, $balance);
}
}
Expand All @@ -568,7 +568,7 @@ private function reportSingleDifference(Account $account, LocalAccount $localAcc
$localDate = Carbon::parse($localAccount->currentBalanceDate);
if (!$date->isSameDay($localDate)) {
app('log')->warning(sprintf('Nordigen balance is from day %s, Firefly III account from %s.', $date->format('Y-m-d'), $date->format('Y-m-d')));
$this->line(sprintf('Balance comparison (%s): Firefly III account #%d: Date mismatch',$balance->type, $localAccount->id));
$this->line(sprintf('Balance comparison (%s): Firefly III account #%d: Date mismatch', $balance->type, $localAccount->id));
}

// compare balance, warn (also a message)
Expand All @@ -578,7 +578,7 @@ private function reportSingleDifference(Account $account, LocalAccount $localAcc
$this->line(sprintf('Balance comparison (%s): Firefly III account #%d: Nordigen reports %s %s, Firefly III reports %s %d', $balance->type, $localAccount->id, $balance->currency, $balance->amount, $localAccount->currencyCode, $localAccount->currentBalance));
}
if (0 === bccomp($balance->amount, $localAccount->currentBalance)) {
$this->line(sprintf('Balance comparison (%s): Firefly III account #%d: Balance OK',$balance->type, $localAccount->id));
$this->line(sprintf('Balance comparison (%s): Firefly III account #%d: Balance OK', $balance->type, $localAccount->id));
}
}

Expand Down
6 changes: 3 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## 1.5.2 - 2024-04-24

### Added
- #8769
- [Issue 8769](https://github.com/firefly-iii/firefly-iii/issues/8769) (Perform balance check after the import) reported by @dawid-czarnecki

### Fixed
- #8799
- #8800
- [Issue 8799](https://github.com/firefly-iii/firefly-iii/issues/8799) (Undefined index in CAMT role selection) reported by @beune
- [Issue 8800](https://github.com/firefly-iii/firefly-iii/issues/8800) (Call to undefined function 'hasResponse') reported by @VanQz

## 1.5.1 - 2024-04-18

Expand Down
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
declare(strict_types=1);

return [
'version' => 'develop/2024-04-23',
'version' => '1.5.2',
'flows' => ['nordigen', 'spectre', 'file'],
'flow_titles' => [
'file' => 'File',
Expand Down
134 changes: 67 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 70dbea3

Please sign in to comment.