Skip to content

Firefly III: a personal finances manager

🤖 Auto commit for release 'develop' on 2026-10-02

JC593422c60bd26
diff --git a/app/Api/V1/Controllers/Insight/Income/TagController.php b/app/Api/V1/Controllers/Insight/Income/TagController.php
index 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.php
index 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/Api/V1/Requests/Summary/BasicRequest.php b/app/Api/V1/Requests/Summary/BasicRequest.php
index 074ed4bd9a..82627448d6 100644
--- a/app/Api/V1/Requests/Summary/BasicRequest.php
+++ b/app/Api/V1/Requests/Summary/BasicRequest.php
@@ -25,8 +25,8 @@ declare(strict_types=1);
namespace FireflyIII\Api\V1\Requests\Summary;
use FireflyIII\Api\V1\Requests\AggregateFormRequest;
-use FireflyIII\Api\V1\Requests\SameDateRangeRequest;
use FireflyIII\Api\V1\Requests\Models\TransactionCurrency\CurrencyCodeRequest;
+use FireflyIII\Api\V1\Requests\SameDateRangeRequest;
class BasicRequest extends AggregateFormRequest
{
diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.php
index d461374baa..2edb4f5531 100644
--- a/app/Http/Controllers/Budget/BudgetLimitController.php
+++ b/app/Http/Controllers/Budget/BudgetLimitController.php
@@ -198,13 +198,7 @@ final class BudgetLimitController extends Controller
if ($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.php
index 52c6f900e3..65429e59c1 100644
--- a/app/Http/Controllers/Budget/IndexController.php
+++ b/app/Http/Controllers/Budget/IndexController.php
@@ -272,10 +272,7 @@ final class IndexController extends Controller
if (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.php
index 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/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php
index f69f611d25..8f29449311 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -84,18 +84,18 @@ abstract class Controller extends BaseController
return;
}
- $isDemoSite = (bool) $isDemoSiteConfig->data;
+ $isDemoSite = (bool) $isDemoSiteConfig->data;
View::share('IS_DEMO_SITE', $isDemoSite);
View::share('DEMO_USERNAME', config('firefly.demo_username'));
View::share('DEMO_PASSWORD', config('firefly.demo_password'));
View::share('FF_VERSION', config('firefly.version'));
View::share('FF_BUILD_TIME', config('firefly.build_time'));
- $this->from = $this->getFromUrl();
+ $this->from = $this->getFromUrl();
$this->requestFrom = $this->getRequestFromUrl();
View::share('FF3_FROM', $this->from);
// this breaks when running < PHP 8.5 and is totally intentional.
- $input = ' James is cool';
- $output = $input
+ $input = ' James is cool';
+ $output = $input
|> trim(...)
|> (fn (string $string) => str_replace(' ', '-', $string))
|> (fn (string $string) => str_replace(['.', '/', '…'], '', $string))
@@ -110,22 +110,22 @@ abstract class Controller extends BaseController
View::share('featuringCer', true === AppConfiguration::get('enable_exchange_rates', config('cer.enabled'))->data);
// share custom auth guard info.
- $authGuard = config('firefly.authentication_guard');
- $logoutUrl = config('firefly.custom_logout_url');
+ $authGuard = config('firefly.authentication_guard');
+ $logoutUrl = config('firefly.custom_logout_url');
View::share('authGuard', $authGuard);
View::share('logoutUrl', $logoutUrl);
// upload size
- $maxFileSize = Steam::phpBytes(ini_get('upload_max_filesize'));
- $maxPostSize = Steam::phpBytes(ini_get('post_max_size'));
- $uploadSize = min($maxFileSize, $maxPostSize);
+ $maxFileSize = Steam::phpBytes(ini_get('upload_max_filesize'));
+ $maxPostSize = Steam::phpBytes(ini_get('post_max_size'));
+ $uploadSize = min($maxFileSize, $maxPostSize);
View::share('uploadSize', $uploadSize);
// share is alpha, is beta
- $isAlpha = false;
- $isBeta = false;
- $isDevelop = false;
+ $isAlpha = false;
+ $isBeta = false;
+ $isDevelop = false;
if (str_contains((string) config('firefly.version'), 'alpha')) {
$isAlpha = true;
}
@@ -208,8 +208,8 @@ abstract class Controller extends BaseController
private function getRequestFromUrl(): string
{
- $from = (string)request()->input('_from');
- if('' === $from) {
+ $from = (string) request()->input('_from');
+ if ('' === $from) {
return '/';
}
// validate query, and give error if invalid.
diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php
index 8b4e173d3c..9c07d36c31 100644
--- a/app/Http/Controllers/DebugController.php
+++ b/app/Http/Controllers/DebugController.php
@@ -54,8 +54,10 @@ use Illuminate\View\View;
use Monolog\Handler\RotatingFileHandler;
use Safe\Exceptions\FilesystemException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
+
use function Safe\file_get_contents;
use function Safe\ini_get;
+
use const PHP_INT_SIZE;
use const PHP_SAPI;
@@ -140,16 +142,16 @@ final class DebugController extends Controller
*
* @throws FilesystemException
*/
- public function index(): Factory | \Illuminate\Contracts\View\View
+ public function index(): Factory|\Illuminate\Contracts\View\View
{
- $table = $this->generateTable();
+ $table = $this->generateTable();
$table = str_replace(["\n", "\t", ' '], '', $table);
$now = now(config('app.timezone'))->format('Y-m-d H:i:s');
$logContent = '';
if (auth()->check() && auth()->user()->hasRole('owner')) {
// get latest log file:
- $logger = Log::driver();
+ $logger = Log::driver();
// PHPstan doesn't recognize the method because of its polymorphic nature.
$handlers = $logger->getHandlers();
@@ -163,7 +165,7 @@ final class DebugController extends Controller
}
if ('' !== $logContent) {
// last few lines
- $logContent = 'Truncated from this point <----|' . substr($logContent, -16_384);
+ $logContent = 'Truncated from this point <----|'.substr($logContent, -16_384);
}
}
@@ -244,13 +246,13 @@ final class DebugController extends Controller
continue;
}
- $params = [];
+ $params = [];
foreach ($route->parameterNames() as $name) {
$params[] = $this->getParameter($name);
}
$return[$route->getName()] = route($route->getName(), $params);
}
- $count = 0;
+ $count = 0;
echo '<hr>';
echo '<h1>Routes</h1>';
echo sprintf('<h2>%s</h2>', $count);
@@ -288,17 +290,17 @@ final class DebugController extends Controller
$app = $this->getAppInfo();
$user = $this->getUserInfo();
- return (string)view('partials.debug-table', ['system' => $system, 'docker' => $docker, 'app' => $app, 'user' => $user]);
+ return (string) view('partials.debug-table', ['system' => $system, 'docker' => $docker, 'app' => $app, 'user' => $user]);
}
private function getAppInfo(): array
{
$userGuard = config('auth.defaults.guard');
- $config = AppConfiguration::get('last_rt_job', 0);
+ $config = AppConfiguration::get('last_rt_job', 0);
// last_rt_job_1
- $configs = AppConfiguration::getByPrefix('last_rt_job');
- $cronJobs = [];
+ $configs = AppConfiguration::getByPrefix('last_rt_job');
+ $cronJobs = [];
/** @var Configuration $item */
foreach ($configs as $item) {
@@ -306,33 +308,32 @@ final class DebugController extends Controller
continue;
}
$parts = explode('_', $item->name);
- $userId = (int)$parts[count($parts) - 1];
- $time = (int)$config->data;
+ $userId = (int) $parts[count($parts) - 1];
+ $time = (int) $config->data;
if ($time > 0) {
$carbon = Carbon::createFromTimestamp($time);
$lastCronjob = $carbon->format('Y-m-d H:i:s');
$lastCronjobAgo = $carbon->locale('en')->diffForHumans();
$cronJobs[] = [
- 'user' => $userId,
+ 'user' => $userId,
'last_run' => $lastCronjob,
'last_run_ago' => $lastCronjobAgo,
];
}
}
+
return [
'debug' => var_export(config('app.debug'), return: true),
'audit_log_channel' => implode(', ', config('logging.channels.audit.channels')),
- 'default_language' => (string)config('firefly.default_language'),
- 'default_locale' => (string)config('firefly.default_locale'),
+ 'default_language' => (string) config('firefly.default_language'),
+ 'default_locale' => (string) config('firefly.default_locale'),
'remote_header' => 'remote_user_guard' === $userGuard ? config('auth.guard_header') : 'N/A',
'remote_mail_header' => 'remote_user_guard' === $userGuard ? config('auth.guard_email') : 'N/A',
- //'stateful_domains' => implode(', ', config('sanctum.stateful')),
- 'cron_jobs' => $cronJobs,
-
+ // 'stateful_domains' => implode(', ', config('sanctum.stateful')),
+ 'cron_jobs' => $cronJobs,
// the dates for the cron job are based on the recurring cron job's times.
// any of the cron jobs will do, they always run at the same time.
// but this job is the oldest, so the biggest chance it ran once
-
// 'last_cronjob' => $lastCronjob,
// 'last_cronjob_ago' => $lastCronjobAgo,
];
@@ -484,7 +485,7 @@ final class DebugController extends Controller
'bits' => PHP_INT_SIZE * 8,
'bcscale' => bcscale(),
'display_errors' => ini_get('display_errors'),
- 'error_reporting' => $this->errorReporting((int)ini_get('error_reporting')),
+ 'error_reporting' => $this->errorReporting((int) ini_get('error_reporting')),
'upload_size' => min($maxFileSize, $maxPostSize),
'all_drivers' => $drivers,
'current_driver' => $currentDriver,
@@ -493,10 +494,10 @@ final class DebugController extends Controller
private function getUserFlags(): string
{
- $flags = [];
+ $flags = [];
/** @var User $user */
- $user = auth()->user();
+ $user = auth()->user();
// has liabilities
if ($user->accounts()->accountTypeIn([AccountTypeEnum::DEBT->value, AccountTypeEnum::LOAN->value, AccountTypeEnum::MORTGAGE->value])->count() > 0) {
@@ -512,7 +513,7 @@ final class DebugController extends Controller
}
// has stored reconciliations
- $type = TransactionType::whereType(TransactionTypeEnum::RECONCILIATION->value)->first();
+ $type = TransactionType::whereType(TransactionTypeEnum::RECONCILIATION->value)->first();
if ($user->transactionJournals()->where('transaction_type_id', $type->id)->count() > 0) {
$flags[] = '<span title="Has reconciled">:ledger:</span>';
}
@@ -544,22 +545,22 @@ final class DebugController extends Controller
private function getUserInfo(): array
{
- $userFlags = $this->getUserFlags();
+ $userFlags = $this->getUserFlags();
// user info
- $userAgent = request()->header('user-agent');
+ $userAgent = request()->header('user-agent');
// set languages, see what happens:
$original = setlocale(LC_ALL, '0');
$localeAttempts = [];
$parts = Steam::getLocaleArray(Steam::getLocale());
foreach ($parts as $code) {
- $code = trim($code);
+ $code = trim($code);
Log::debug(sprintf('Trying to set %s', $code));
$result = setlocale(LC_ALL, $code);
$localeAttempts[$code] = $result === $code;
}
- setlocale(LC_ALL, (string)$original);
+ setlocale(LC_ALL, (string) $original);
return [
'user_id' => auth()->user()->id,
diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php
index d7d5b91b24..b0827640df 100644
--- a/app/Http/Controllers/SearchController.php
+++ b/app/Http/Controllers/SearchController.php
@@ -30,8 +30,8 @@ use Illuminate\Contracts\View\Factory;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
-use Illuminate\View\View;
use Illuminate\Support\Facades\View as ViewFacade;
+use Illuminate\View\View;
use Throwable;
use function Safe\mb_convert_encoding;
diff --git a/app/Http/Controllers/Transaction/CreateController.php b/app/Http/Controllers/Transaction/CreateController.php
index d26ca75497..9f27fb7ae6 100644
--- a/app/Http/Controllers/Transaction/CreateController.php
+++ b/app/Http/Controllers/Transaction/CreateController.php
@@ -24,12 +24,10 @@ declare(strict_types=1);
namespace FireflyIII\Http\Controllers\Transaction;
-use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Http\Controllers\Controller;
use FireflyIII\Models\TransactionGroup;
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
use FireflyIII\Repositories\TransactionGroup\TransactionGroupRepositoryInterface;
-use FireflyIII\Rules\System\IsValidOriginUrl;
use FireflyIII\Services\Internal\Update\GroupCloneService;
use FireflyIII\Support\Facades\Preferences;
use Illuminate\Contracts\View\Factory;
@@ -67,7 +65,7 @@ final class CreateController extends Controller
public function cloneGroup(Request $request): JsonResponse
{
- $groupId = (int) $request->input('id');
+ $groupId = (int) $request->input('id');
if (0 !== $groupId) {
$group = $this->repository->find($groupId);
if ($group instanceof TransactionGroup) {
diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.php
index affea656a0..476da65ac3 100644
--- a/app/Jobs/CreateAutoBudgetLimits.php
+++ b/app/Jobs/CreateAutoBudgetLimits.php
@@ -132,13 +132,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));
@@ -228,13 +222,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/AppConfiguration.php b/app/Support/AppConfiguration.php
index c4c6a5b402..5e417cd760 100644
--- a/app/Support/AppConfiguration.php
+++ b/app/Support/AppConfiguration.php
@@ -83,10 +83,11 @@ class AppConfiguration
{
try {
/** @var Collection $collection */
- $collection = Configuration::query()->whereLike('name', sprintf('%s%%',$name))->get(['id', 'name', 'data']);
+ $collection = Configuration::query()->whereLike('name', sprintf('%s%%', $name))->get(['id', 'name', 'data']);
} catch (Exception|FireflyException|QueryException $e) {
throw new FireflyException(sprintf('Could not poll the database: %s', $e->getMessage()), 0, $e);
}
+
return $collection;
}
diff --git a/app/Support/Http/Controllers/AugumentData.php b/app/Support/Http/Controllers/AugumentData.php
index 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.php
index 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/app/Support/Request/GetRecurrenceData.php b/app/Support/Request/GetRecurrenceData.php
index dbb32c9952..f05674b96b 100644
--- a/app/Support/Request/GetRecurrenceData.php
+++ b/app/Support/Request/GetRecurrenceData.php
@@ -51,11 +51,11 @@ trait GetRecurrenceData
$return[$key] = $transaction[$key];
}
}
- if(array_key_exists('tags', $return)) {
- $filtered = [];
- foreach($return['tags'] as $tag) {
- if('' !== trim((string)$tag)) {
- $filtered[] = (string)$tag;
+ if (array_key_exists('tags', $return)) {
+ $filtered = [];
+ foreach ($return['tags'] as $tag) {
+ if ('' !== trim((string) $tag)) {
+ $filtered[] = (string) $tag;
}
}
$return['tags'] = $filtered;
diff --git a/composer.lock b/composer.lock
index 6d83a7a116..1efbb9c376 100644
--- a/composer.lock
+++ b/composer.lock
@@ -682,16 +682,16 @@
},
{
"name": "doctrine/lexer",
- "version": "3.0.2",
+ "version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/lexer.git",
- "reference": "e96fe45e92a54233726014a7cc7340abf29bb14c"
+ "reference": "71d305eaa6480d3d3460c7d053d1da7749fa9cca"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/e96fe45e92a54233726014a7cc7340abf29bb14c",
- "reference": "e96fe45e92a54233726014a7cc7340abf29bb14c",
+ "url": "https://api.github.com/repos/doctrine/lexer/zipball/71d305eaa6480d3d3460c7d053d1da7749fa9cca",
+ "reference": "71d305eaa6480d3d3460c7d053d1da7749fa9cca",
"shasum": ""
},
"require": {
@@ -737,7 +737,7 @@
],
"support": {
"issues": "https://github.com/doctrine/lexer/issues",
- "source": "https://github.com/doctrine/lexer/tree/3.0.2"
+ "source": "https://github.com/doctrine/lexer/tree/3.0.3"
},
"funding": [
{
@@ -753,7 +753,7 @@
"type": "tidelift"
}
],
- "time": "2026-06-14T20:44:06+00:00"
+ "time": "2026-10-01T06:59:29+00:00"
},
{
"name": "dragonmantank/cron-expression",
@@ -10215,16 +10215,16 @@
},
{
"name": "carthage-software/mago",
- "version": "1.50.0",
+ "version": "1.51.0",
"source": {
"type": "git",
"url": "https://github.com/carthage-software/mago.git",
- "reference": "74c48ba74d708f38259c6325a4f12ff443fb19bf"
+ "reference": "9a62f0a1829490dcff31f62808589f7ab86779b5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/carthage-software/mago/zipball/74c48ba74d708f38259c6325a4f12ff443fb19bf",
- "reference": "74c48ba74d708f38259c6325a4f12ff443fb19bf",
+ "url": "https://api.github.com/repos/carthage-software/mago/zipball/9a62f0a1829490dcff31f62808589f7ab86779b5",
+ "reference": "9a62f0a1829490dcff31f62808589f7ab86779b5",
"shasum": ""
},
"require": {
@@ -10266,7 +10266,7 @@
],
"support": {
"issues": "https://github.com/carthage-software/mago/issues",
- "source": "https://github.com/carthage-software/mago/tree/1.50.0"
+ "source": "https://github.com/carthage-software/mago/tree/1.51.0"
},
"funding": [
{
@@ -10274,7 +10274,7 @@
"type": "github"
}
],
- "time": "2026-09-21T11:41:07+00:00"
+ "time": "2026-10-01T20:37:34+00:00"
},
{
"name": "cloudcreativity/json-api-testing",
@@ -12188,16 +12188,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "13.3.6",
+ "version": "13.4.0",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "b7d0ee4ea89121cb963302b8708b1c09d9ebc7d6"
+ "reference": "ef714df238ae4d050e74efaa23f7c428bd01034e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7d0ee4ea89121cb963302b8708b1c09d9ebc7d6",
- "reference": "b7d0ee4ea89121cb963302b8708b1c09d9ebc7d6",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ef714df238ae4d050e74efaa23f7c428bd01034e",
+ "reference": "ef714df238ae4d050e74efaa23f7c428bd01034e",
"shasum": ""
},
"require": {
@@ -12211,7 +12211,7 @@
"phar-io/manifest": "^2.0.4",
"phar-io/version": "^3.2.1",
"php": ">=8.4.1",
- "phpunit/php-code-coverage": "^14.3.5",
+ "phpunit/php-code-coverage": "^14.4",
"phpunit/php-file-iterator": "^7.0.2",
"phpunit/php-invoker": "^7.0.0",
"phpunit/php-text-template": "^6.0.0",
@@ -12219,7 +12219,7 @@
"sebastian/cli-parser": "^5.0.1",
"sebastian/comparator": "^8.4",
"sebastian/diff": "^9.0.1",
- "sebastian/environment": "^9.3.2",
+ "sebastian/environment": "^9.3.3",
"sebastian/exporter": "^8.2.1",
"sebastian/file-filter": "^1.0",
"sebastian/git-state": "^1.0",
@@ -12236,7 +12236,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "13.3-dev"
+ "dev-main": "13.4-dev"
}
},
"autoload": {
@@ -12268,7 +12268,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/13.3.6"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/13.4.0"
},
"funding": [
{
@@ -12276,7 +12276,7 @@
"type": "other"
}
],
- "time": "2026-09-29T12:12:05+00:00"
+ "time": "2026-10-02T03:20:44+00:00"
},
{
"name": "rector/rector",
@@ -12719,23 +12719,23 @@
},
{
"name": "sebastian/environment",
- "version": "9.3.2",
+ "version": "9.3.3",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e"
+ "reference": "d4dd10267a11055066a2a78ae04583d8ddd4f595"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e",
- "reference": "6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e",
+ "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/d4dd10267a11055066a2a78ae04583d8ddd4f595",
+ "reference": "d4dd10267a11055066a2a78ae04583d8ddd4f595",
"shasum": ""
},
"require": {
"php": ">=8.4"
},
"require-dev": {
- "phpunit/phpunit": "^13.1.11"
+ "phpunit/phpunit": "^13.3.6"
},
"suggest": {
"ext-posix": "*"
@@ -12771,7 +12771,7 @@
"support": {
"issues": "https://github.com/sebastianbergmann/environment/issues",
"security": "https://github.com/sebastianbergmann/environment/security/policy",
- "source": "https://github.com/sebastianbergmann/environment/tree/9.3.2"
+ "source": "https://github.com/sebastianbergmann/environment/tree/9.3.3"
},
"funding": [
{
@@ -12791,7 +12791,7 @@
"type": "tidelift"
}
],
- "time": "2026-05-25T13:41:38+00:00"
+ "time": "2026-10-01T12:37:56+00:00"
},
{
"name": "sebastian/exporter",
diff --git a/config/firefly.php b/config/firefly.php
index 0226b932f7..fc3ed20b02 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-09-30',
-'build_time' => 1790793485,
+'version' => 'develop/2026-10-02',
+'build_time' => 1790917807,
'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.json
index 83b60b079b..3e3f29f1da 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -986,9 +986,9 @@
}
},
"node_modules/admin-lte": {
- "version": "4.9.1",
- "resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-4.9.1.tgz",
- "integrity": "sha512-NmVAH7INZjEE+OpVGATGtoRQllaetxzT9AaOMm8eMa9CxW+Okd/kWwCThYeJ7g/sR0/t9sbQoIfCk9Aht8hIqQ==",
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-4.10.0.tgz",
+ "integrity": "sha512-CIJrStDk3l7d3md9qQWaV1OiIzk3tOUXryAdsWIt5nKex8VO7CL2xAYzMg5X5rjpJ2XcWerkltJT0hlGd1wx3w==",
"license": "MIT",
"engines": {
"node": ">=20"
@@ -1830,9 +1830,9 @@
"license": "ISC"
},
"node_modules/follow-redirects": {
- "version": "1.16.0",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz",
- "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==",
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.1.tgz",
+ "integrity": "sha512-FNvFGzoMLWmE6Yj9spb/zjd7yiNCHiAW9/Tg9CXrQ8wuu32HtlJOwWO11OJafl5FfY3DxTdQ0vj42zU1kvv5jg==",
"funding": [
{
"type": "individual",
@@ -1991,9 +1991,9 @@
}
},
"node_modules/globals": {
- "version": "17.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-17.12.0.tgz",
- "integrity": "sha512-cezEd/DTyyht9cvSSURyygXPfy04GtWO/5e6ZPvH7fCtjKz9PYOmuawphw1Ctd1f6C+5JypXfGD7ahNMXvevBA==",
+ "version": "17.13.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.13.0.tgz",
+ "integrity": "sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3410,16 +3410,16 @@
"link": true
},
"node_modules/vite": {
- "version": "8.3.1",
- "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.1.tgz",
- "integrity": "sha512-/bvH9E9tmCXRGp2uXY3WbOldqpTwFkbha/8ANaEQ6VkxhH60KyqLwgZq6lG2y+4uT55x9+9eUHMpQ7uGnOCKjA==",
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.2.tgz",
+ "integrity": "sha512-SQr1x6W5vVSbROg7vsyXIaxK9b0G7zsT68acdWWRmnBUsgDieLCRG+Rep9WdZgcposvv/GSnr4GUUBqB3vXq6w==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.7",
"postcss": "^8.5.28",
- "rolldown": "~1.2.9",
+ "rolldown": "~1.2.11",
"tinyglobby": "^0.2.17"
},
"bin": {
diff --git a/resources/assets/v3/js/pages/transactions/shared/parse-from-entries.js b/resources/assets/v3/js/pages/transactions/shared/parse-from-entries.js
index fc35a6aafe..8bdde4f45d 100644
--- a/resources/assets/v3/js/pages/transactions/shared/parse-from-entries.js
+++ b/resources/assets/v3/js/pages/transactions/shared/parse-from-entries.js
@@ -73,7 +73,7 @@ export function parseFromEntries(entries, originals, transactionType) {
current.budget_id = entry.budget_id;
current.category_name = entry.category_name;
const piggyId = parseInt(entry.piggy_bank_id);
- if(piggyId > 0) {
+ if (piggyId > 0) {
current.piggy_bank_id = piggyId;
}