Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
🤖 Auto commit for release 'develop' on 2026-07-16
JC51cba4a935202
diff --git a/.ci/php-cs-fixer/composer.lock b/.ci/php-cs-fixer/composer.lockindex 3ba9c3ae5f..307a05312f 100644--- a/.ci/php-cs-fixer/composer.lock+++ b/.ci/php-cs-fixer/composer.lock@@ -468,16 +468,16 @@},{"name": "friendsofphp/php-cs-fixer",- "version": "v3.95.13",+ "version": "v3.95.15","source": {"type": "git","url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",- "reference": "ea941114a002eb5e5876f190223deec1066c482c"+ "reference": "3e47e5d50046f87e3244acde2fe655d1a3b72555"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/ea941114a002eb5e5876f190223deec1066c482c",- "reference": "ea941114a002eb5e5876f190223deec1066c482c",+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/3e47e5d50046f87e3244acde2fe655d1a3b72555",+ "reference": "3e47e5d50046f87e3244acde2fe655d1a3b72555","shasum": ""},"require": {@@ -517,7 +517,7 @@"php-coveralls/php-coveralls": "^2.9.1","php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.8","php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.8",- "phpunit/phpunit": "^9.6.35 || ^10.5.64 || ^11.5.56",+ "phpunit/phpunit": "^9.6.35 || ^10.5.64 || ^11.5.56 || ^12.5.31","symfony/polyfill-php85": "^1.38","symfony/var-dumper": "^5.4.48 || ^6.4.36 || ^7.4.8 || ^8.1.0","symfony/yaml": "^5.4.53 || ^6.4.41 || ^7.4.13 || ^8.1.0"@@ -561,7 +561,7 @@],"support": {"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.13"+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.15"},"funding": [{@@ -569,7 +569,7 @@"type": "github"}],- "time": "2026-07-10T09:23:21+00:00"+ "time": "2026-07-15T09:51:47+00:00"},{"name": "psr/container",diff --git a/THANKS.md b/THANKS.mdindex 312cf59c6f..7342c70ae3 100755--- a/THANKS.md+++ b/THANKS.md@@ -4,6 +4,7 @@ Over time, many people have contributed to Firefly III. Their efforts are not alPlease find below all the people who contributed to the Firefly III code. Their names are mentioned in the year of their first contribution.## 2026+- kobihikri- iaohkut- tasnim0tantawi- Joe Longendykediff --git a/app/Api/V1/Controllers/Insight/Income/TagController.php b/app/Api/V1/Controllers/Insight/Income/TagController.phpindex 94be2ae461..df99eef909 100644--- a/app/Api/V1/Controllers/Insight/Income/TagController.php+++ b/app/Api/V1/Controllers/Insight/Income/TagController.php@@ -158,10 +158,7 @@ final class TagController extends Controller'currency_id' => (string) $foreignCurrencyId,'currency_code' => $journal['foreign_currency_code'],];- $response[$foreignKey]['difference'] = bcadd(- (string) $response[$foreignKey]['difference'],- Steam::positive($journal['foreign_amount'])- );+ $response[$foreignKey]['difference'] = bcadd((string) $response[$foreignKey]['difference'], Steam::positive($journal['foreign_amount']));$response[$foreignKey]['difference_float'] = (float) $response[$foreignKey]['difference'];}}diff --git a/app/Api/V1/Controllers/Insight/Transfer/TagController.php b/app/Api/V1/Controllers/Insight/Transfer/TagController.phpindex b7b85fd376..f92a7aa9f0 100644--- a/app/Api/V1/Controllers/Insight/Transfer/TagController.php+++ b/app/Api/V1/Controllers/Insight/Transfer/TagController.php@@ -155,10 +155,7 @@ final class TagController extends Controller'currency_id' => (string) $foreignCurrencyId,'currency_code' => $journal['foreign_currency_code'],];- $response[$foreignKey]['difference'] = bcadd(- (string) $response[$foreignKey]['difference'],- Steam::positive($journal['foreign_amount'])- );+ $response[$foreignKey]['difference'] = bcadd((string) $response[$foreignKey]['difference'], Steam::positive($journal['foreign_amount']));$response[$foreignKey]['difference_float'] = (float) $response[$foreignKey]['difference']; // intentional float}}diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.phpindex 04d75cd738..de7337738f 100644--- a/app/Http/Controllers/Budget/BudgetLimitController.php+++ b/app/Http/Controllers/Budget/BudgetLimitController.php@@ -198,13 +198,7 @@ final class BudgetLimitController extends Controllerif ($request->expectsJson()) {$array = $limit->toArray();// add some extra metadata:- $spentArr = $this->opsRepository->sumExpenses(- $limit->start_date,- $limit->end_date,- null,- new Collection()->push($budget),- $currency- );+ $spentArr = $this->opsRepository->sumExpenses($limit->start_date, $limit->end_date, null, new Collection()->push($budget), $currency);$array['spent'] = $spentArr[$currency->id]['sum'] ?? '0';$array['left_formatted'] = Amount::formatAnything($limit->transactionCurrency, bcadd($array['spent'], (string) $array['amount']));$array['amount_formatted'] = Amount::formatAnything($limit->transactionCurrency, $limit['amount']);diff --git a/app/Http/Controllers/Budget/IndexController.php b/app/Http/Controllers/Budget/IndexController.phpindex d40d4432a3..215ebbd484 100644--- a/app/Http/Controllers/Budget/IndexController.php+++ b/app/Http/Controllers/Budget/IndexController.php@@ -284,10 +284,7 @@ final class IndexController extends Controllerif (array_key_exists($currency->id, $spentArr) && array_key_exists('sum', $spentArr[$currency->id])) {$array['spent'][$currency->id]['spent'] = $spentArr[$currency->id]['sum'];- $array['spent'][$currency->id]['spent_outside'] = Steam::negative(bcsub(- $spentInLimits[$currency->id],- $spentArr[$currency->id]['sum']- ));+ $array['spent'][$currency->id]['spent_outside'] = Steam::negative(bcsub($spentInLimits[$currency->id], $spentArr[$currency->id]['sum']));$array['spent'][$currency->id]['currency_id'] = $currency->id;$array['spent'][$currency->id]['currency_symbol'] = $currency->symbol;$array['spent'][$currency->id]['currency_decimal_places'] = $currency->decimal_places;diff --git a/app/Http/Controllers/Chart/BudgetController.php b/app/Http/Controllers/Chart/BudgetController.phpindex f4b32fe5c5..ad724137dc 100644--- a/app/Http/Controllers/Chart/BudgetController.php+++ b/app/Http/Controllers/Chart/BudgetController.php@@ -539,13 +539,7 @@ final class BudgetController extends Controller}// get spent amount in this period for this currency.- $sum = $this->opsRepository->sumExpenses(- $currentStart,- $currentEnd,- $accounts,- new Collection()->push($budget),- $currency- );+ $sum = $this->opsRepository->sumExpenses($currentStart, $currentEnd, $accounts, new Collection()->push($budget), $currency);$amount = Steam::positive($sum[$currency->id]['sum'] ?? '0');$chartData[0]['entries'][$title] = Steam::bcround($amount, $currency->decimal_places);diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.phpindex d61661dd50..93cf5e9364 100644--- a/app/Jobs/CreateAutoBudgetLimits.php+++ b/app/Jobs/CreateAutoBudgetLimits.php@@ -122,13 +122,7 @@ class CreateAutoBudgetLimits implements ShouldQueue// if has one, calculate expenses and use that as a base.$repository = app(OperationsRepositoryInterface::class);$repository->setUser($autoBudget->budget->user);- $spent = $repository->sumExpenses(- $previousStart,- $previousEnd,- null,- new Collection()->push($autoBudget->budget),- $autoBudget->transactionCurrency- );+ $spent = $repository->sumExpenses($previousStart, $previousEnd, null, new Collection()->push($autoBudget->budget), $autoBudget->transactionCurrency);$currencyId = $autoBudget->transaction_currency_id;$spentAmount = $spent[$currencyId]['sum'] ?? '0';Log::debug(sprintf('Spent in previous budget period (%s-%s) is %s', $previousStart->format('Y-m-d'), $previousEnd->format('Y-m-d'), $spentAmount));@@ -218,13 +212,7 @@ class CreateAutoBudgetLimits implements ShouldQueue// if has one, calculate expenses and use that as a base.$repository = app(OperationsRepositoryInterface::class);$repository->setUser($autoBudget->budget->user);- $spent = $repository->sumExpenses(- $previousStart,- $previousEnd,- null,- new Collection()->push($autoBudget->budget),- $autoBudget->transactionCurrency- );+ $spent = $repository->sumExpenses($previousStart, $previousEnd, null, new Collection()->push($autoBudget->budget), $autoBudget->transactionCurrency);$currencyId = $autoBudget->transaction_currency_id;$spentAmount = $spent[$currencyId]['sum'] ?? '0';Log::debug(sprintf('Spent in previous budget period (%s-%s) is %s', $previousStart->format('Y-m-d'), $previousEnd->format('Y-m-d'), $spentAmount));diff --git a/app/Support/Http/Controllers/AugumentData.php b/app/Support/Http/Controllers/AugumentData.phpindex a507156873..a3a940b1ba 100644--- a/app/Support/Http/Controllers/AugumentData.php+++ b/app/Support/Http/Controllers/AugumentData.php@@ -222,14 +222,7 @@ trait AugumentData$currentEnd->addMonth();}// primary currency amount.- $expenses = $opsRepository->sumExpenses(- $currentStart,- $currentEnd,- null,- $budgetCollection,- $entry->transactionCurrency,- $this->convertToPrimary- );+ $expenses = $opsRepository->sumExpenses($currentStart, $currentEnd, null, $budgetCollection, $entry->transactionCurrency, $this->convertToPrimary);$spent = $expenses[$currency->id]['sum'] ?? '0';$entry->pc_spent = $spent;diff --git a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php b/app/Support/JsonApi/Enrichments/RecurringEnrichment.phpindex 2428353cb0..d0c09bf027 100644--- a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php+++ b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php@@ -354,11 +354,7 @@ class RecurringEnrichment implements EnrichmentInterface/** @var RecurrenceRepetition $repetition */foreach ($set as $repetition) {- $recurrence = $this->collection->filter(- static fn (Recurrence $item): bool => (int) $item->id === (int) $repetition->recurrence_id- )- ->first()- ;+ $recurrence = $this->collection->filter(static fn (Recurrence $item): bool => (int) $item->id === (int) $repetition->recurrence_id)->first();$fromDate = clone ($recurrence->latest_date ?? $recurrence->first_date);$recurrenceId = (int) $repetition->recurrence_id;$repId = (int) $repetition->id;diff --git a/composer.lock b/composer.lockindex cbd90ea212..afea3645ae 100644--- a/composer.lock+++ b/composer.lock@@ -1246,16 +1246,16 @@},{"name": "guzzlehttp/guzzle",- "version": "7.14.1",+ "version": "7.14.2","source": {"type": "git","url": "https://github.com/guzzle/guzzle.git",- "reference": "6b1d2429a2c312474c523aa9017fba0c07b5f4a0"+ "reference": "fa88c57803501ad0770f5cddb1e60525d49da9a1"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/6b1d2429a2c312474c523aa9017fba0c07b5f4a0",- "reference": "6b1d2429a2c312474c523aa9017fba0c07b5f4a0",+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/fa88c57803501ad0770f5cddb1e60525d49da9a1",+ "reference": "fa88c57803501ad0770f5cddb1e60525d49da9a1","shasum": ""},"require": {@@ -1354,7 +1354,7 @@],"support": {"issues": "https://github.com/guzzle/guzzle/issues",- "source": "https://github.com/guzzle/guzzle/tree/7.14.1"+ "source": "https://github.com/guzzle/guzzle/tree/7.14.2"},"funding": [{@@ -1370,7 +1370,7 @@"type": "tidelift"}],- "time": "2026-07-13T01:32:54+00:00"+ "time": "2026-07-14T18:15:01+00:00"},{"name": "guzzlehttp/promises",@@ -1885,16 +1885,16 @@},{"name": "laravel/framework",- "version": "v13.19.0",+ "version": "v13.20.0","source": {"type": "git","url": "https://github.com/laravel/framework.git",- "reference": "514502b38e11bd676ecf83b271c9452cc7500f16"+ "reference": "b9d1bccad5fbc32578dca22566bb11e7c0e545d7"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/framework/zipball/514502b38e11bd676ecf83b271c9452cc7500f16",- "reference": "514502b38e11bd676ecf83b271c9452cc7500f16",+ "url": "https://api.github.com/repos/laravel/framework/zipball/b9d1bccad5fbc32578dca22566bb11e7c0e545d7",+ "reference": "b9d1bccad5fbc32578dca22566bb11e7c0e545d7","shasum": ""},"require": {@@ -1973,6 +1973,7 @@"illuminate/filesystem": "self.version","illuminate/hashing": "self.version","illuminate/http": "self.version",+ "illuminate/image": "self.version","illuminate/json-schema": "self.version","illuminate/log": "self.version","illuminate/macroable": "self.version",@@ -1999,6 +2000,7 @@"ext-gmp": "*","fakerphp/faker": "^1.24","guzzlehttp/psr7": "^2.9",+ "intervention/image": "^4.0","laravel/pint": "^1.18","league/flysystem-aws-s3-v3": "^3.25.1","league/flysystem-ftp": "^3.25.1",@@ -2035,6 +2037,7 @@"ext-redis": "Required to use the Redis cache and queue drivers (^4.0 || ^5.0 || ^6.0).","fakerphp/faker": "Required to generate fake data using the fake() helper (^1.23).","filp/whoops": "Required for friendly error pages in development (^2.14.3).",+ "intervention/image": "Required to use the image processing features (^4.0).","laravel/tinker": "Required to use the tinker console command (^2.0).","league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.25.1).","league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.25.1).",@@ -2105,7 +2108,7 @@"issues": "https://github.com/laravel/framework/issues","source": "https://github.com/laravel/framework"},- "time": "2026-07-07T14:13:33+00:00"+ "time": "2026-07-14T14:22:22+00:00"},{"name": "laravel/passport",@@ -3882,23 +3885,23 @@},{"name": "nunomaduro/collision",- "version": "v8.9.4",+ "version": "v8.9.5","source": {"type": "git","url": "https://github.com/nunomaduro/collision.git",- "reference": "716af8f95a470e9094cfca09ed897b023be191a5"+ "reference": "fb53eacd509a1d303858e2d20cfebf2d630254ec"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nunomaduro/collision/zipball/716af8f95a470e9094cfca09ed897b023be191a5",- "reference": "716af8f95a470e9094cfca09ed897b023be191a5",+ "url": "https://api.github.com/repos/nunomaduro/collision/zipball/fb53eacd509a1d303858e2d20cfebf2d630254ec",+ "reference": "fb53eacd509a1d303858e2d20cfebf2d630254ec","shasum": ""},"require": {"filp/whoops": "^2.18.4","nunomaduro/termwind": "^2.4.0","php": "^8.2.0",- "symfony/console": "^7.4.8 || ^8.0.8"+ "symfony/console": "^7.4.14 || ^8.1.1"},"conflict": {"laravel/framework": "<11.48.0 || >=14.0.0",@@ -3906,12 +3909,12 @@},"require-dev": {"brianium/paratest": "^7.8.5",- "larastan/larastan": "^3.9.6",- "laravel/framework": "^11.48.0 || ^12.56.0 || ^13.5.0",- "laravel/pint": "^1.29.1",- "orchestra/testbench-core": "^9.12.0 || ^10.12.1 || ^11.2.1",- "pestphp/pest": "^3.8.5 || ^4.4.3 || ^5.0.0",- "sebastian/environment": "^7.2.1 || ^8.0.4 || ^9.3.0"+ "larastan/larastan": "^3.10.0",+ "laravel/framework": "^11.48.0 || ^12.56.0 || ^13.20.0",+ "laravel/pint": "^1.29.3",+ "orchestra/testbench-core": "^9.12.0 || ^10.12.1 || ^11.3.5",+ "pestphp/pest": "^3.8.5 || ^4.7.5 || ^5.0.0",+ "sebastian/environment": "^7.2.1 || ^8.1.2 || ^9.3.2"},"type": "library","extra": {@@ -3974,7 +3977,7 @@"type": "patreon"}],- "time": "2026-04-21T14:04:20+00:00"+ "time": "2026-07-15T19:09:14+00:00"},{"name": "nunomaduro/termwind",@@ -12273,16 +12276,16 @@},{"name": "rector/rector",- "version": "2.5.6",+ "version": "2.5.7","source": {"type": "git","url": "https://github.com/rectorphp/rector.git",- "reference": "c329e210d17f86d70424f2688e1294495f44c670"+ "reference": "ba22f8c087848278fed6b4910d4cf1108096d8d3"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/rectorphp/rector/zipball/c329e210d17f86d70424f2688e1294495f44c670",- "reference": "c329e210d17f86d70424f2688e1294495f44c670",+ "url": "https://api.github.com/repos/rectorphp/rector/zipball/ba22f8c087848278fed6b4910d4cf1108096d8d3",+ "reference": "ba22f8c087848278fed6b4910d4cf1108096d8d3","shasum": ""},"require": {@@ -12321,7 +12324,7 @@],"support": {"issues": "https://github.com/rectorphp/rector/issues",- "source": "https://github.com/rectorphp/rector/tree/2.5.6"+ "source": "https://github.com/rectorphp/rector/tree/2.5.7"},"funding": [{@@ -12329,7 +12332,7 @@"type": "github"}],- "time": "2026-07-12T10:21:06+00:00"+ "time": "2026-07-13T15:24:18+00:00"},{"name": "sebastian/cli-parser",diff --git a/config/firefly.php b/config/firefly.phpindex 10e8d86ff5..1c437e0629 100644--- a/config/firefly.php+++ b/config/firefly.php@@ -78,8 +78,8 @@ return ['running_balance_column' => (bool)env_default_when_empty(env('USE_RUNNING_BALANCE'), true), // this is only the default value, is not used.// see cer.php for exchange rates feature flag.],-'version' => 'develop/2026-07-13',-'build_time' => 1783954789,+'version' => 'develop/2026-07-16',+'build_time' => 1784172735,'api_version' => '2.1.0', // field is no longer used.'db_version' => 28, // field is no longer used.diff --git a/package-lock.json b/package-lock.jsonindex ba02145da4..9496d9dab3 100644--- a/package-lock.json+++ b/package-lock.json@@ -3415,9 +3415,9 @@"license": "MIT"},"node_modules/autoprefixer": {- "version": "10.5.2",- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.2.tgz",- "integrity": "sha512-rD5t5DwOjJdmSORcTq64j8MawTC+tbQ+HHqjR4NDumamy/ambn1UJrlKL+KdwujWxMkFjPM3pPHOEA9tl4767Q==",+ "version": "10.5.3",+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.5.3.tgz",+ "integrity": "sha512-bJRzflk8GgE4JX+iZNEwz9f9p460NCHnU7bd+CZ9vIjIlZuTkt6F3WSl2oNO8StZBFx17nLEsiQ6H2wcZiY7nA==","dev": true,"funding": [{@@ -3435,8 +3435,8 @@],"license": "MIT","dependencies": {- "browserslist": "^4.28.4",- "caniuse-lite": "^1.0.30001799",+ "browserslist": "^4.28.6",+ "caniuse-lite": "^1.0.30001805","fraction.js": "^5.3.4","picocolors": "^1.1.1","postcss-value-parser": "^4.2.0"@@ -5228,9 +5228,9 @@"license": "MIT"},"node_modules/electron-to-chromium": {- "version": "1.5.389",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.389.tgz",- "integrity": "sha512-cEto7aeOqBfU1D+c5py5pE+ooscKE75JifxLBdFUZsqAxRS6y7kebtxAZvICszSl05gPjYHDTjY+lXpyGvpJbg==",+ "version": "1.5.392",+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.392.tgz",+ "integrity": "sha512-1yQq3VQCZRwsnYc67Oc+1fge6Lwtn0hzi6zmEVkB61Zx21kTbwJAW4dFLadl5Rc1tKhG/kSpYXnfiAhu0f0a1g==","dev": true,"license": "ISC"},@@ -7318,9 +7318,9 @@}},"node_modules/laravel-vite-plugin": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-3.1.0.tgz",- "integrity": "sha512-Fzocl+X4eQ9jOi0RwdphYRGkUbPJ3ky1pTAST5Ot18cS2gw6d2vldK2eCrlKDVjtibCjCx5qptYDlA0373n7qg==",+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-3.1.3.tgz",+ "integrity": "sha512-cI5Anw4QHY+UzvZczFaj+j8NhwT2FtyEN8aqS/hOdt6DpEFBsn6x3GENxALem3cc+TsGvd9MacneimEvShvKMA==","dev": true,"license": "MIT","dependencies": {@@ -7335,7 +7335,7 @@"node": "^20.19.0 || >=22.12.0"},"peerDependencies": {- "fontaine": "^0.5.0",+ "fontaine": "^0.8.0","vite": "^8.0.0"},"peerDependenciesMeta": {@@ -12004,9 +12004,9 @@"license": "ISC"},"node_modules/ws": {- "version": "8.21.0",- "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.0.tgz",- "integrity": "sha512-Vsp28b7DRcimFQvrqu2Wek3z1iYxDCWqHYB8Qsnk/S4RfaCQzPGPyBNuVjJV3cd6UiKtUtp6sNM77gWvzcCH+g==",+ "version": "8.21.1",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",+ "integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==","dev": true,"license": "MIT","engines": {