Skip to content

Firefly III: a personal finances manager

🤖 Auto commit for release 'develop' on 2026-08-21

JC5ed10fd791e3b
diff --git a/.ci/php-cs-fixer/composer.lock b/.ci/php-cs-fixer/composer.lock
index 2614d5842f..595f485cb8 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.18",
+ "version": "v3.95.20",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
- "reference": "a8b4e4216faabf67f4e96110ee99a48c96e4e683"
+ "reference": "4d6c9886a77dbc1db3b9eaca6472cedf9eb1fab7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a8b4e4216faabf67f4e96110ee99a48c96e4e683",
- "reference": "a8b4e4216faabf67f4e96110ee99a48c96e4e683",
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/4d6c9886a77dbc1db3b9eaca6472cedf9eb1fab7",
+ "reference": "4d6c9886a77dbc1db3b9eaca6472cedf9eb1fab7",
"shasum": ""
},
"require": {
@@ -513,7 +513,6 @@
"infection/infection": "^0.32.7",
"justinrainbow/json-schema": "^6.10.0",
"keradus/cli-executor": "^2.3",
- "mikey179/vfsstream": "^1.6.12",
"php-coveralls/php-coveralls": "^2.9.1",
"php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.8",
"php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.8",
@@ -561,7 +560,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.18"
+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.95.20"
},
"funding": [
{
@@ -569,7 +568,7 @@
"type": "github"
}
],
- "time": "2026-07-30T15:46:02+00:00"
+ "time": "2026-08-19T16:28:14+00:00"
},
{
"name": "psr/container",
diff --git a/app/Api/V1/Controllers/Controller.php b/app/Api/V1/Controllers/Controller.php
index cba640d9fa..f43efe0238 100644
--- a/app/Api/V1/Controllers/Controller.php
+++ b/app/Api/V1/Controllers/Controller.php
@@ -179,7 +179,7 @@ abstract class Controller extends BaseController
{
$bag = new ParameterBag();
$page = (int) request()->get('page');
- $page = clamp(value: $page, min:1, max:2 ** 16);
+ $page = clamp(value: $page, min: 1, max: 2 ** 16);
$bag->set('page', $page);
// some date fields:
@@ -221,7 +221,7 @@ abstract class Controller extends BaseController
}
if (null !== $value) {
$value = (int) $value;
- $value = clamp($value, 1, 2**16);
+ $value = clamp($value, 1, 2 ** 16);
$bag->set($integer, $value);
}
// && 'limit' === $integer
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/Controllers/System/CronController.php b/app/Api/V1/Controllers/System/CronController.php
index d0bdabc504..fc54231269 100644
--- a/app/Api/V1/Controllers/System/CronController.php
+++ b/app/Api/V1/Controllers/System/CronController.php
@@ -44,7 +44,7 @@ final class CronController extends Controller
{
CLIToken::routeBinder($cliToken, $request->route());
$config = $request->getAll();
- $user = CLIToken::findUserByToken($cliToken);
+ $user = CLIToken::findUserByToken($cliToken);
Log::debug(sprintf('Now in %s', __METHOD__));
Log::debug(sprintf('Date is %s', $config['date']->toIsoString()));
diff --git a/app/Api/V1/Requests/Autocomplete/AutocompleteApiRequest.php b/app/Api/V1/Requests/Autocomplete/AutocompleteApiRequest.php
index 293ce28c2e..eeff66e78a 100644
--- a/app/Api/V1/Requests/Autocomplete/AutocompleteApiRequest.php
+++ b/app/Api/V1/Requests/Autocomplete/AutocompleteApiRequest.php
@@ -39,7 +39,7 @@ class AutocompleteApiRequest extends AggregateFormRequest
{
return [
DateRequest::class,
- [PaginationRequest::class, 'sort_class' => Account::class],
+ [PaginationRequest::class, 'sort_class' => Account::class],
[ObjectTypeApiRequest::class, 'object_type' => Account::class],
QueryRequest::class,
];
diff --git a/app/Api/V1/Requests/Autocomplete/AutocompleteTransactionApiRequest.php b/app/Api/V1/Requests/Autocomplete/AutocompleteTransactionApiRequest.php
index 82eac73e70..236741beac 100644
--- a/app/Api/V1/Requests/Autocomplete/AutocompleteTransactionApiRequest.php
+++ b/app/Api/V1/Requests/Autocomplete/AutocompleteTransactionApiRequest.php
@@ -40,7 +40,7 @@ class AutocompleteTransactionApiRequest extends AggregateFormRequest
{
return [
DateRequest::class,
- [PaginationRequest::class, 'sort_class' => Account::class],
+ [PaginationRequest::class, 'sort_class' => Account::class],
[ObjectTypeApiRequest::class, 'object_type' => Transaction::class],
QueryRequest::class,
];
diff --git a/app/Api/V1/Requests/Generic/PaginationDateRangeRequest.php b/app/Api/V1/Requests/Generic/PaginationDateRangeRequest.php
index 6590a5d631..f8608cfc9a 100644
--- a/app/Api/V1/Requests/Generic/PaginationDateRangeRequest.php
+++ b/app/Api/V1/Requests/Generic/PaginationDateRangeRequest.php
@@ -41,7 +41,7 @@ class PaginationDateRangeRequest extends AggregateFormRequest
return [
DateRangeRequest::class,
[ObjectTypeApiRequest::class, 'object_type' => Transaction::class],
- [PaginationRequest::class, 'sort_class' => Transaction::class],
+ [PaginationRequest::class, 'sort_class' => Transaction::class],
];
}
}
diff --git a/app/Api/V1/Requests/PaginationRequest.php b/app/Api/V1/Requests/PaginationRequest.php
index 0d8c467af2..cd1f7d7579 100644
--- a/app/Api/V1/Requests/PaginationRequest.php
+++ b/app/Api/V1/Requests/PaginationRequest.php
@@ -70,7 +70,7 @@ class PaginationRequest extends ApiRequest
$limit = (int) Preferences::getForUser($user, 'listPageSize', 50)->data;
}
$page = $this->convertInteger('page');
- $page = clamp(value: $page, min:1, max:2 ** 16);
+ $page = clamp(value: $page, min: 1, max: 2 ** 16);
$offset = ($page - 1) * $limit;
$sort = null !== $this->sortClass ? $this->convertSortParameters('sort', $this->sortClass) : $this->get('sort');
$this->attributes->set('limit', $limit);
diff --git a/app/Http/Controllers/Account/IndexController.php b/app/Http/Controllers/Account/IndexController.php
index 4b072a72d3..08bcec815a 100644
--- a/app/Http/Controllers/Account/IndexController.php
+++ b/app/Http/Controllers/Account/IndexController.php
@@ -80,7 +80,7 @@ final class IndexController extends Controller
$collection = $this->repository->getInactiveAccountsByType($types);
$total = $collection->count();
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$accounts = $collection->slice(($page - 1) * $pageSize, $pageSize);
$inactiveCount = $this->repository->getInactiveAccountsByType($types)->count();
@@ -147,7 +147,7 @@ final class IndexController extends Controller
$collection = $this->repository->getActiveAccountsByType($types);
$total = $collection->count();
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$accounts = $collection->slice(($page - 1) * $pageSize, $pageSize);
$inactiveCount = $this->repository->getInactiveAccountsByType($types)->count();
diff --git a/app/Http/Controllers/Account/ShowController.php b/app/Http/Controllers/Account/ShowController.php
index 76101266f2..3bf628e245 100644
--- a/app/Http/Controllers/Account/ShowController.php
+++ b/app/Http/Controllers/Account/ShowController.php
@@ -215,7 +215,7 @@ final class ShowController extends Controller
$start = $this->repository->oldestJournalDate($account) ?? today(config('app.timezone'))->startOfMonth();
$subTitleIcon = config('firefly.subIconsByIdentifier.'.$account->accountType->type);
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$currency = $this->repository->getAccountCurrency($account) ?? $this->primaryCurrency;
$subTitle = (string) trans('firefly.all_journals_for_account', ['name' => $account->name]);
diff --git a/app/Http/Controllers/Bill/ShowController.php b/app/Http/Controllers/Bill/ShowController.php
index 48629b27c4..b31e026c92 100644
--- a/app/Http/Controllers/Bill/ShowController.php
+++ b/app/Http/Controllers/Bill/ShowController.php
@@ -130,7 +130,7 @@ final class ShowController extends Controller
$end = session('end');
$year = $start->year;
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$yearAverage = $this->repository->getYearAverage($bill, $start);
$overallAverage = $this->repository->getOverallAverage($bill);
diff --git a/app/Http/Controllers/Budget/BudgetLimitController.php b/app/Http/Controllers/Budget/BudgetLimitController.php
index 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 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 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 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/Budget/ShowController.php b/app/Http/Controllers/Budget/ShowController.php
index a2c9863645..c44862ad7a 100644
--- a/app/Http/Controllers/Budget/ShowController.php
+++ b/app/Http/Controllers/Budget/ShowController.php
@@ -97,7 +97,7 @@ final class ShowController extends Controller
$firstDate = $first instanceof TransactionJournal ? $first->date : $start;
$periods = $this->getNoModelPeriodOverview('budget', $firstDate, $end);
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
/** @var GroupCollectorInterface $collector */
@@ -132,7 +132,7 @@ final class ShowController extends Controller
$start = $first instanceof TransactionJournal ? $first->date : new Carbon();
$end = today(config('app.timezone'));
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
/** @var GroupCollectorInterface $collector */
@@ -166,7 +166,7 @@ final class ShowController extends Controller
$allStart = session('first', today(config('app.timezone'))->startOfYear());
$allEnd = today();
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$limits = $this->getLimits($budget, $allStart, $allEnd);
$repetition = null;
@@ -217,7 +217,7 @@ final class ShowController extends Controller
$currencySymbol = $budgetLimit->transactionCurrency->symbol;
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$subTitle = trans('firefly.budget_in_period', [
'name' => $budget->name,
diff --git a/app/Http/Controllers/Category/IndexController.php b/app/Http/Controllers/Category/IndexController.php
index fd715df264..99246b416d 100644
--- a/app/Http/Controllers/Category/IndexController.php
+++ b/app/Http/Controllers/Category/IndexController.php
@@ -71,7 +71,7 @@ final class IndexController extends Controller
public function index(Request $request): Factory|\Illuminate\Contracts\View\View
{
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$collection = $this->repository->getCategories();
$total = $collection->count();
diff --git a/app/Http/Controllers/Category/NoCategoryController.php b/app/Http/Controllers/Category/NoCategoryController.php
index 26b489881d..b9dda8f0af 100644
--- a/app/Http/Controllers/Category/NoCategoryController.php
+++ b/app/Http/Controllers/Category/NoCategoryController.php
@@ -85,7 +85,7 @@ final class NoCategoryController extends Controller
/** @var Carbon $start */
/** @var Carbon $end */
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$subTitle = trans('firefly.without_category_between', [
'start' => $start->isoFormat($this->monthAndDayFormat),
@@ -135,7 +135,7 @@ final class NoCategoryController extends Controller
$end = null;
$periods = new Collection();
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
Log::debug('Start of noCategory()');
$subTitle = (string) trans('firefly.all_journals_without_category');
diff --git a/app/Http/Controllers/Category/ShowController.php b/app/Http/Controllers/Category/ShowController.php
index bf9a644800..7c92e6245d 100644
--- a/app/Http/Controllers/Category/ShowController.php
+++ b/app/Http/Controllers/Category/ShowController.php
@@ -84,7 +84,7 @@ final class ShowController extends Controller
/** @var Carbon $end */
$subTitleIcon = 'bi-bookmark';
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$attachments = $this->repository->getAttachments($category);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$oldest = $this->repository->firstUseDate($category) ?? today(config('app.timezone'))->startOfYear();
@@ -136,7 +136,7 @@ final class ShowController extends Controller
// default values:
$subTitleIcon = 'bi-bookmark';
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$start = null;
$end = null;
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 9c5bbdbe03..e90e4a4d37 100644
--- a/app/Http/Controllers/Controller.php
+++ b/app/Http/Controllers/Controller.php
@@ -69,7 +69,7 @@ abstract class Controller extends BaseController
protected string $monthAndDayFormat;
protected string $monthFormat;
protected string $redirectUrl = '/';
- protected string $from = '';
+ protected string $from = '';
/**
* Controller constructor.
@@ -91,7 +91,7 @@ abstract class Controller extends BaseController
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();
View::share('FF3_FROM', $this->from);
// this breaks when running < PHP 8.5 and is totally intentional.
$input = ' James is cool';
@@ -190,8 +190,8 @@ abstract class Controller extends BaseController
private function getFromUrl(): string
{
- $current = parse_url(URL::full());
- $from = '';
+ $current = parse_url(URL::full());
+ $from = '';
if (array_key_exists('path', $current)) {
$from = $current['path'];
}
diff --git a/app/Http/Controllers/PreferencesController.php b/app/Http/Controllers/PreferencesController.php
index 590a0d11ca..d00e62a02e 100644
--- a/app/Http/Controllers/PreferencesController.php
+++ b/app/Http/Controllers/PreferencesController.php
@@ -194,12 +194,12 @@ final class PreferencesController extends Controller
$ntfyPass = '';
}
- $mapEnabled = true === AppConfiguration::get('enable_external_map', config('firefly.enable_external_map', false))->data;
+ $mapEnabled = true === AppConfiguration::get('enable_external_map', config('firefly.enable_external_map', false))->data;
return view('preferences.index', [
'anonymous' => $anonymous,
'language' => $language,
- 'mapEnabled' => $mapEnabled,
+ 'mapEnabled' => $mapEnabled,
'pushoverAppToken' => $pushoverAppToken,
'pushoverUserToken' => $pushoverUserToken,
'ntfyServer' => $ntfyServer,
diff --git a/app/Http/Controllers/Recurring/IndexController.php b/app/Http/Controllers/Recurring/IndexController.php
index ee290a9376..da82d97e5f 100644
--- a/app/Http/Controllers/Recurring/IndexController.php
+++ b/app/Http/Controllers/Recurring/IndexController.php
@@ -81,7 +81,7 @@ final class IndexController extends Controller
public function index(Request $request): Factory|\Illuminate\Contracts\View\View
{
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$collection = $this->repository->get();
$today = today(config('app.timezone'));
diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php
index 52e19fd2d7..a040c37027 100644
--- a/app/Http/Controllers/SearchController.php
+++ b/app/Http/Controllers/SearchController.php
@@ -67,7 +67,7 @@ final class SearchController extends Controller
}
$fullQuery = (string) $fullQuery;
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp(value: $page, min:1, max:2 ** 16);
+ $page = clamp(value: $page, min: 1, max: 2 ** 16);
$ruleId = (int) $request->input('rule');
$ruleChanged = false;
@@ -117,7 +117,7 @@ final class SearchController extends Controller
}
$fullQuery = (string) $entry;
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp(value: $page, min:1, max:2 ** 16);
+ $page = clamp(value: $page, min: 1, max: 2 ** 16);
$searcher->parseQuery($fullQuery);
diff --git a/app/Http/Controllers/TagController.php b/app/Http/Controllers/TagController.php
index 2c1ac4da68..a2cf4be4b4 100644
--- a/app/Http/Controllers/TagController.php
+++ b/app/Http/Controllers/TagController.php
@@ -298,7 +298,7 @@ final class TagController extends Controller
// default values:
$subTitleIcon = 'bi-tag';
$page = (int) $request->input('page');
- $page = clamp(value: $page, min:1, max:2 ** 16);
+ $page = clamp(value: $page, min: 1, max: 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$periods = [];
$subTitle = (string) trans('firefly.all_journals_for_tag', ['tag' => $tag->tag]);
diff --git a/app/Http/Controllers/Transaction/CreateController.php b/app/Http/Controllers/Transaction/CreateController.php
index 11a6536903..817d3e0f62 100644
--- a/app/Http/Controllers/Transaction/CreateController.php
+++ b/app/Http/Controllers/Transaction/CreateController.php
@@ -24,14 +24,11 @@ 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\AppConfiguration;
use FireflyIII\Support\Facades\Preferences;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
@@ -105,36 +102,36 @@ final class CreateController extends Controller
{
Preferences::mark();
- $sourceId = (int) request()->get('source');
- $destinationId = (int) request()->get('destination');
+ $sourceId = (int) request()->get('source');
+ $destinationId = (int) request()->get('destination');
/** @var AccountRepositoryInterface $accountRepository */
- $accountRepository = app(AccountRepositoryInterface::class);
- $cash = $accountRepository->getCashAccount();
- $preFilled = session()->has('preFilled') ? session('preFilled') : [];
- $subTitle = (string) trans(sprintf('breadcrumbs.create_%s', strtolower((string) $objectType)));
- $subTitleIcon = 'bi-plus';
-
- $allowedOpposingTypes = config('firefly.allowed_opposing_types');
- $accountToTypes = config('firefly.account_to_transaction');
- $previousUrl = $this->rememberPreviousUrl('transactions.create.url');
- $parts = parse_url((string) $previousUrl);
- $search = sprintf('?%s', $parts['query'] ?? '');
- $previousUrl = str_replace($search, '', $previousUrl);
+ $accountRepository = app(AccountRepositoryInterface::class);
+ $cash = $accountRepository->getCashAccount();
+ $preFilled = session()->has('preFilled') ? session('preFilled') : [];
+ $subTitle = (string) trans(sprintf('breadcrumbs.create_%s', strtolower((string) $objectType)));
+ $subTitleIcon = 'bi-plus';
+
+ $allowedOpposingTypes = config('firefly.allowed_opposing_types');
+ $accountToTypes = config('firefly.account_to_transaction');
+ $previousUrl = $this->rememberPreviousUrl('transactions.create.url');
+ $parts = parse_url((string) $previousUrl);
+ $search = sprintf('?%s', $parts['query'] ?? '');
+ $previousUrl = str_replace($search, '', $previousUrl);
// map info:
- $longitude = config('firefly.default_location.longitude');
- $latitude = config('firefly.default_location.latitude');
- $zoomLevel = config('firefly.default_location.zoom_level');
+ $longitude = config('firefly.default_location.longitude');
+ $latitude = config('firefly.default_location.latitude');
+ $zoomLevel = config('firefly.default_location.zoom_level');
session()->put('preFilled', $preFilled);
return view('transactions.create', [
'subTitleIcon' => $subTitleIcon,
'cash' => $cash,
-// 'longitude' => $longitude,
-// 'latitude' => $latitude,
-// 'zoomLevel' => $zoomLevel,
+ // 'longitude' => $longitude,
+ // 'latitude' => $latitude,
+ // 'zoomLevel' => $zoomLevel,
'objectType' => $objectType,
'subTitle' => $subTitle,
'previousUrl' => $previousUrl,
diff --git a/app/Http/Controllers/Transaction/IndexController.php b/app/Http/Controllers/Transaction/IndexController.php
index 1e53b6da6a..93161e4576 100644
--- a/app/Http/Controllers/Transaction/IndexController.php
+++ b/app/Http/Controllers/Transaction/IndexController.php
@@ -152,7 +152,7 @@ final class IndexController extends Controller
$subTitleIcon = config('firefly.transactionIconsByType.'.$objectType);
$types = config('firefly.transactionTypesByType.'.$objectType);
$page = (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$path = route('transactions.index.all', [$objectType]);
$first = $this->repository->firstNull();
diff --git a/app/Http/Controllers/TransactionCurrency/IndexController.php b/app/Http/Controllers/TransactionCurrency/IndexController.php
index fdf560b452..ba7883977d 100644
--- a/app/Http/Controllers/TransactionCurrency/IndexController.php
+++ b/app/Http/Controllers/TransactionCurrency/IndexController.php
@@ -72,7 +72,7 @@ final class IndexController extends Controller
/** @var User $user */
$user = auth()->user();
$page = 0 === (int) $request->input('page') ? 1 : (int) $request->input('page');
- $page = clamp($page, 1, 2 ** 16);
+ $page = clamp($page, 1, 2 ** 16);
$pageSize = (int) Preferences::get('listPageSize', 50)->data;
$collection = $this->repository->getAll();
diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.php
index 0d223a3b99..ceede3cd1c 100644
--- a/app/Jobs/CreateAutoBudgetLimits.php
+++ b/app/Jobs/CreateAutoBudgetLimits.php
@@ -77,8 +77,10 @@ class CreateAutoBudgetLimits implements ShouldQueue
{
Log::debug(sprintf('Now at start of CreateAutoBudgetLimits() job for %s.', $this->date->format('D d M Y')));
- $autoBudgets = AutoBudget::leftJoin('budgets','auto_budgets.budget_id','=','budgets.id')->where('budgets.user_id', $this->user->id)->get(['auto_budgets.*']);
- if($this->user->hasRole('owner')) {
+ $autoBudgets = AutoBudget::leftJoin('budgets', 'auto_budgets.budget_id', '=', 'budgets.id')->where('budgets.user_id', $this->user->id)->get([
+ 'auto_budgets.*',
+ ]);
+ if ($this->user->hasRole('owner')) {
$autoBudgets = AutoBudget::get();
}
Log::debug(sprintf('Found %d auto budgets.', $autoBudgets->count()));
@@ -133,13 +135,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));
@@ -229,13 +225,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/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.php
index 89cff35e45..c57a0ddf88 100644
--- a/app/Jobs/CreateRecurringTransactions.php
+++ b/app/Jobs/CreateRecurringTransactions.php
@@ -55,29 +55,29 @@ class CreateRecurringTransactions implements ShouldQueue
use Queueable;
use SerializesModels;
- public int $created;
- public int $executed;
- public int $submitted;
- private Carbon $date;
- private bool $force;
+ public int $created;
+ public int $executed;
+ public int $submitted;
+ private Carbon $date;
+ private bool $force;
private TransactionGroupRepositoryInterface $groupRepository;
- private Collection $groups;
- private JournalRepositoryInterface $journalRepository;
- private Collection $recurrences;
- private RecurringRepositoryInterface $repository;
- private User $user;
+ private Collection $groups;
+ private JournalRepositoryInterface $journalRepository;
+ private Collection $recurrences;
+ private RecurringRepositoryInterface $repository;
+ private User $user;
/**
* Create a new job instance.
*/
public function __construct(?Carbon $date)
{
- $newDate = new Carbon();
+ $newDate = new Carbon();
$newDate->startOfDay();
- $this->date = $newDate;
+ $this->date = $newDate;
if ($date instanceof Carbon) {
- $newDate = clone $date;
+ $newDate = clone $date;
$newDate->startOfDay();
$this->date = $newDate;
}
@@ -99,11 +99,6 @@ class CreateRecurringTransactions implements ShouldQueue
return $this->groups;
}
- public function setUser(User $user): void
- {
- $this->user = $user;
- }
-
/**
* Execute the job.
*/
@@ -130,7 +125,7 @@ class CreateRecurringTransactions implements ShouldQueue
Log::debug(sprintf('Count of collection is %d', $count));
// filter recurrences:
- $filtered = $this->filterRecurrences($this->recurrences);
+ $filtered = $this->filterRecurrences($this->recurrences);
Log::debug(sprintf('Left after filtering is %d', $filtered->count()));
/** @var Recurrence $recurrence */
@@ -146,7 +141,7 @@ class CreateRecurringTransactions implements ShouldQueue
Preferences::setForUser($recurrence->user, 'lastActivity', microtime());
Log::debug(sprintf('Now at recurrence #%d of user #%d', $recurrence->id, $recurrence->user_id));
- $createdReps = $this->handleRepetitions($recurrence);
+ $createdReps = $this->handleRepetitions($recurrence);
Log::debug(sprintf('Done with recurrence #%d', $recurrence->id));
$result[$recurrence->user_id] = $result[$recurrence->user_id]->merge($createdReps);
++$this->executed;
@@ -166,7 +161,7 @@ class CreateRecurringTransactions implements ShouldQueue
public function setDate(Carbon $date): void
{
- $newDate = clone $date;
+ $newDate = clone $date;
$newDate->startOfDay();
Log::debug(sprintf('Overruled date to "%s', $newDate->format('Y-m-d H:i:s')));
$this->date = $newDate;
@@ -182,6 +177,11 @@ class CreateRecurringTransactions implements ShouldQueue
$this->recurrences = $recurrences;
}
+ public function setUser(User $user): void
+ {
+ $this->user = $user;
+ }
+
/**
* Return recurring transaction is active.
*/
@@ -219,13 +219,13 @@ class CreateRecurringTransactions implements ShouldQueue
$transactions = $recurrence->recurrenceTransactions()->get();
$transactions->first();
- $return = [];
+ $return = [];
/** @var RecurrenceTransaction $transaction */
foreach ($transactions as $index => $transaction) {
$single = [
'type' => null === $transaction->transactionType?->type
- ? strtolower((string)$recurrence->transactionType->type)
+ ? strtolower((string) $recurrence->transactionType->type)
: strtolower($transaction->transactionType->type),
'date' => $date,
'user' => $recurrence->user,
@@ -249,7 +249,7 @@ class CreateRecurringTransactions implements ShouldQueue
'identifier' => $index,
'recurrence_id' => $recurrence->id,
'order' => $index,
- 'notes' => (string)trans('firefly.created_from_recurrence', ['id' => $recurrence->id, 'title' => $recurrence->title]),
+ 'notes' => (string) trans('firefly.created_from_recurrence', ['id' => $recurrence->id, 'title' => $recurrence->title]),
'tags' => $this->repository->getTags($transaction),
'piggy_bank_id' => $this->repository->getPiggyBank($transaction),
'piggy_bank_name' => null,
@@ -296,11 +296,11 @@ class CreateRecurringTransactions implements ShouldQueue
}
// create transaction array and send to factory.
- $groupTitle = null;
- $count = $recurrence->recurrenceTransactions->count();
+ $groupTitle = null;
+ $count = $recurrence->recurrenceTransactions->count();
// #8844, if there is one recurrence transaction, use the first title as the title.
// #9305, if there is one recurrence transaction, group title must be NULL.
- $groupTitle = null;
+ $groupTitle = null;
// #8844, if there are more, use the recurrence transaction itself.
if ($count > 1) {
@@ -313,7 +313,7 @@ class CreateRecurringTransactions implements ShouldQueue
return null;
}
- $array = [
+ $array = [
'user' => $recurrence->user,
'user_group' => $recurrence->user->userGroup,
'group_title' => $groupTitle,
@@ -321,7 +321,7 @@ class CreateRecurringTransactions implements ShouldQueue
];
/** @var TransactionGroup $group */
- $group = $this->groupRepository->store($array);
+ $group = $this->groupRepository->store($array);
++$this->created;
Log::info(sprintf('Created new transaction group #%d', $group->id));
$this->groups->push($group);
@@ -367,22 +367,22 @@ class CreateRecurringTransactions implements ShouldQueue
/** @var RecurrenceRepetition $repetition */
foreach ($recurrence->recurrenceRepetitions as $repetition) {
Log::debug(sprintf(
- 'Now repeating %s with value "%s", skips every %d time(s)',
- $repetition->repetition_type,
- $repetition->repetition_moment,
- $repetition->repetition_skip
- ));
+ 'Now repeating %s with value "%s", skips every %d time(s)',
+ $repetition->repetition_type,
+ $repetition->repetition_moment,
+ $repetition->repetition_skip
+ ));
// start looping from $startDate to today perhaps we have a hit?
// add two days to $this->date, so we always include the weekend.
$includeWeekend = clone $this->date;
$includeWeekend->addDays(2);
- $occurrences = $this->repository->getOccurrencesInRange($repetition, $recurrence->first_date, $includeWeekend);
+ $occurrences = $this->repository->getOccurrencesInRange($repetition, $recurrence->first_date, $includeWeekend);
unset($includeWeekend);
- $result = $this->handleOccurrences($recurrence, $repetition, $occurrences);
- $collection = $collection->merge($result);
+ $result = $this->handleOccurrences($recurrence, $repetition, $occurrences);
+ $collection = $collection->merge($result);
}
return $collection;
@@ -442,11 +442,11 @@ class CreateRecurringTransactions implements ShouldQueue
// is no longer running
if ($this->repeatUntilHasPassed($recurrence)) {
Log::info(sprintf(
- 'Recurrence #%d was set to run until %s, and today\'s date is %s. Skipped.',
- $recurrence->id,
- $recurrence->repeat_until->format('Y-m-d'),
- $this->date->format('Y-m-d')
- ));
+ 'Recurrence #%d was set to run until %s, and today\'s date is %s. Skipped.',
+ $recurrence->id,
+ $recurrence->repeat_until->format('Y-m-d'),
+ $this->date->format('Y-m-d')
+ ));
return false;
}
@@ -454,11 +454,11 @@ class CreateRecurringTransactions implements ShouldQueue
// first_date is in the future
if ($this->hasNotStartedYet($recurrence)) {
Log::info(sprintf(
- 'Recurrence #%d is set to run on %s, and today\'s date is %s. Skipped.',
- $recurrence->id,
- $recurrence->first_date->format('Y-m-d H:i:s'),
- $this->date->format('Y-m-d H:i:s')
- ));
+ 'Recurrence #%d is set to run on %s, and today\'s date is %s. Skipped.',
+ $recurrence->id,
+ $recurrence->first_date->format('Y-m-d H:i:s'),
+ $this->date->format('Y-m-d H:i:s')
+ ));
return false;
}
diff --git a/app/Jobs/DownloadExchangeRates.php b/app/Jobs/DownloadExchangeRates.php
index fb5755b59a..11b9821172 100644
--- a/app/Jobs/DownloadExchangeRates.php
+++ b/app/Jobs/DownloadExchangeRates.php
@@ -99,18 +99,16 @@ class DownloadExchangeRates implements ShouldQueue
public function setUser(User $user): void
{
- $this->user = $user;
+ $this->user = $user;
$this->users = new Collection([$user]);
- if($this->user->hasRole('admin')) {
+ if ($this->user->hasRole('admin')) {
// get all users:
/** @var UserRepositoryInterface $userRepository */
- $userRepository = app(UserRepositoryInterface::class);
- $this->users = $userRepository->all();
+ $userRepository = app(UserRepositoryInterface::class);
+ $this->users = $userRepository->all();
}
}
-
-
/**
* @throws GuzzleException
* @throws JsonException
diff --git a/app/Jobs/WarnAboutBills.php b/app/Jobs/WarnAboutBills.php
index 33219b0866..c3b8c2d53d 100644
--- a/app/Jobs/WarnAboutBills.php
+++ b/app/Jobs/WarnAboutBills.php
@@ -80,7 +80,7 @@ class WarnAboutBills implements ShouldQueue
Log::debug(sprintf('Now at start of WarnAboutBills() job for %s.', $this->date->format('D d M Y')));
$users = [$this->user];
- if($this->user->hasRole('owner')) {
+ if ($this->user->hasRole('owner')) {
Log::debug('User is owner, will run for all users.');
$users = User::all();
}
diff --git a/app/Listeners/Model/Account/UpdatesAccountInformation.php b/app/Listeners/Model/Account/UpdatesAccountInformation.php
index 3d9b48a124..1f5f1160da 100644
--- a/app/Listeners/Model/Account/UpdatesAccountInformation.php
+++ b/app/Listeners/Model/Account/UpdatesAccountInformation.php
@@ -1,7 +1,5 @@
<?php
-
-
declare(strict_types=1);
/*
diff --git a/app/Listeners/Security/System/HandlesNewUserRegistration.php b/app/Listeners/Security/System/HandlesNewUserRegistration.php
index c346d9cf04..4a951c94e3 100644
--- a/app/Listeners/Security/System/HandlesNewUserRegistration.php
+++ b/app/Listeners/Security/System/HandlesNewUserRegistration.php
@@ -1,7 +1,5 @@
<?php
-
-
declare(strict_types=1);
/*
diff --git a/app/Support/Binder/CLIToken.php b/app/Support/Binder/CLIToken.php
index 3351b922f9..ecae5e0cce 100644
--- a/app/Support/Binder/CLIToken.php
+++ b/app/Support/Binder/CLIToken.php
@@ -36,46 +36,46 @@ use Illuminate\Support\Facades\Log;
*/
class CLIToken implements BinderInterface
{
- public static function routeBinder(string $value, Route $route): string
+ public static function findUserByToken(string $value): ?User
{
/** @var UserRepositoryInterface $repository */
$repository = app(UserRepositoryInterface::class);
$users = $repository->all();
- // check for static token
- if (hash_equals($value, (string)config('firefly.static_cron_token')) && 32 === strlen(config('firefly.static_cron_token'))) {
- return $value;
- }
-
foreach ($users as $user) {
$accessToken = Preferences::getForUser($user, 'access_token');
- if (null !== $accessToken && hash_equals((string)$accessToken->data, $value)) {
+ if (null !== $accessToken && hash_equals((string) $accessToken->data, $value)) {
Log::info(sprintf('Recognized user #%d (%s) from his access token.', $user->id, $user->email));
- return $value;
+ return $user;
}
}
Log::error(sprintf('Recognized no users by access token "%s"', $value));
- throw new AuthenticationException();
+ return null;
}
- public static function findUserByToken(string $value): ?User
+ public static function routeBinder(string $value, Route $route): string
{
-
/** @var UserRepositoryInterface $repository */
$repository = app(UserRepositoryInterface::class);
$users = $repository->all();
+ // check for static token
+ if (hash_equals($value, (string) config('firefly.static_cron_token')) && 32 === strlen(config('firefly.static_cron_token'))) {
+ return $value;
+ }
+
foreach ($users as $user) {
$accessToken = Preferences::getForUser($user, 'access_token');
- if (null !== $accessToken && hash_equals((string)$accessToken->data, $value)) {
+ if (null !== $accessToken && hash_equals((string) $accessToken->data, $value)) {
Log::info(sprintf('Recognized user #%d (%s) from his access token.', $user->id, $user->email));
- return $user;
+ return $value;
}
}
Log::error(sprintf('Recognized no users by access token "%s"', $value));
- return null;
+
+ throw new AuthenticationException();
}
}
diff --git a/app/Support/Cronjobs/AbstractCronjob.php b/app/Support/Cronjobs/AbstractCronjob.php
index e2beac967d..89636a79d8 100644
--- a/app/Support/Cronjobs/AbstractCronjob.php
+++ b/app/Support/Cronjobs/AbstractCronjob.php
@@ -32,15 +32,15 @@ use FireflyIII\User;
*/
abstract class AbstractCronjob
{
- public bool $jobErrored = false;
- public bool $jobFired = false;
- public bool $jobSucceeded = false;
- public ?string $message = null;
- public int $timeBetweenRuns = 43_200;
+ public bool $jobErrored = false;
+ public bool $jobFired = false;
+ public bool $jobSucceeded = false;
+ public ?string $message = null;
+ public int $timeBetweenRuns = 43_200;
protected Carbon $date;
- protected bool $force = false;
- protected User $user;
- protected bool $isOwner = false;
+ protected bool $force = false;
+ protected User $user;
+ protected bool $isOwner = false;
/**
* AbstractCronjob constructor.
@@ -65,7 +65,7 @@ abstract class AbstractCronjob
final public function setUser(User $user): void
{
- $this->user = $user;
+ $this->user = $user;
$this->isOwner = $user->hasRole('owner');
}
}
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/View/Components/Transaction/Split.php b/app/View/Components/Transaction/Split.php
index a5387846e2..db3e9c6a64 100644
--- a/app/View/Components/Transaction/Split.php
+++ b/app/View/Components/Transaction/Split.php
@@ -30,13 +30,10 @@ use Illuminate\View\Component;
class Split extends Component
{
-
/**
* Create a new component instance.
*/
- public function __construct()
- {
- }
+ public function __construct() {}
/**
* Get the view / contents that represent the component.
diff --git a/composer.lock b/composer.lock
index d3e7b0ebc7..3ba7621071 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1577,26 +1577,26 @@
},
{
"name": "guzzlehttp/uri-template",
- "version": "v1.0.10",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/guzzle/uri-template.git",
- "reference": "f6c24c21f42b990e9a58912b332d0874df6ba839"
+ "reference": "516c3bf2af176c532d5b59b3430292f7e9ecccb1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/uri-template/zipball/f6c24c21f42b990e9a58912b332d0874df6ba839",
- "reference": "f6c24c21f42b990e9a58912b332d0874df6ba839",
+ "url": "https://api.github.com/repos/guzzle/uri-template/zipball/516c3bf2af176c532d5b59b3430292f7e9ecccb1",
+ "reference": "516c3bf2af176c532d5b59b3430292f7e9ecccb1",
"shasum": ""
},
"require": {
- "php": "^7.2.5 || ^8.0",
+ "php": "^7.4 || ^8.0",
"symfony/polyfill-php80": "^1.25"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
- "phpunit/phpunit": "^8.5.52 || ^9.6.34",
- "uri-template/tests": "1.0.0"
+ "phpunit/phpunit": "^9.6.34",
+ "uri-template/tests": "1.0.2"
},
"type": "library",
"extra": {
@@ -1643,7 +1643,7 @@
],
"support": {
"issues": "https://github.com/guzzle/uri-template/issues",
- "source": "https://github.com/guzzle/uri-template/tree/v1.0.10"
+ "source": "https://github.com/guzzle/uri-template/tree/v2.0.0"
},
"funding": [
{
@@ -1659,7 +1659,7 @@
"type": "tidelift"
}
],
- "time": "2026-07-17T13:53:03+00:00"
+ "time": "2026-07-20T13:40:43+00:00"
},
{
"name": "jc5/google2fa-laravel",
@@ -1885,16 +1885,16 @@
},
{
"name": "laravel/framework",
- "version": "v13.25.0",
+ "version": "v13.26.1",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
- "reference": "ed36fe882bd4eed4e6ff75343cbad8dbda03fdba"
+ "reference": "e4a1bc52ef551d52e60244bb004256d6861da7ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/framework/zipball/ed36fe882bd4eed4e6ff75343cbad8dbda03fdba",
- "reference": "ed36fe882bd4eed4e6ff75343cbad8dbda03fdba",
+ "url": "https://api.github.com/repos/laravel/framework/zipball/e4a1bc52ef551d52e60244bb004256d6861da7ab",
+ "reference": "e4a1bc52ef551d52e60244bb004256d6861da7ab",
"shasum": ""
},
"require": {
@@ -1911,9 +1911,10 @@
"ext-session": "*",
"ext-tokenizer": "*",
"fruitcake/php-cors": "^1.3",
- "guzzlehttp/guzzle": "^7.8.2",
- "guzzlehttp/promises": "^2.0.3",
- "guzzlehttp/uri-template": "^1.0",
+ "guzzlehttp/guzzle": "^7.8.2 || ^8.0",
+ "guzzlehttp/promises": "^2.0.3 || ^3.0",
+ "guzzlehttp/psr7": "^2.9 || ^3.0",
+ "guzzlehttp/uri-template": "^1.0 || ^2.0",
"laravel/prompts": "^0.3.11",
"laravel/serializable-closure": "^2.0.10",
"league/commonmark": "^2.8.1",
@@ -1925,6 +1926,7 @@
"nunomaduro/termwind": "^2.0",
"php": "^8.3",
"psr/container": "^1.1.1 || ^2.0.1",
+ "psr/http-message": "^1.0 || ^2.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
"ramsey/uuid": "^4.7",
@@ -1999,7 +2001,6 @@
"aws/aws-sdk-php": "^3.322.9",
"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",
@@ -2049,7 +2050,6 @@
"php-http/discovery": "Required to use PSR-7 bridging features (^1.15).",
"phpunit/phpunit": "Required to use assertions and run tests (^11.5.50 || ^12.5.8 || ^13.0.3).",
"predis/predis": "Required to use the predis connector (^2.3 || ^3.0).",
- "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0 || ^7.0).",
"resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0 || ^1.0).",
"spatie/fork": "Required to use the 'fork' concurrency driver (^1.2).",
@@ -2108,7 +2108,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2026-08-11T13:56:22+00:00"
+ "time": "2026-08-18T20:31:28+00:00"
},
{
"name": "laravel/passport",
@@ -2187,16 +2187,16 @@
},
{
"name": "laravel/prompts",
- "version": "v0.3.22",
+ "version": "v0.3.23",
"source": {
"type": "git",
"url": "https://github.com/laravel/prompts.git",
- "reference": "02b89b39e8972a998db4d5d4ad4719239dd4aee4"
+ "reference": "b7b4c35e5bc47450f6b6238c6cc9c47ba19b2221"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/laravel/prompts/zipball/02b89b39e8972a998db4d5d4ad4719239dd4aee4",
- "reference": "02b89b39e8972a998db4d5d4ad4719239dd4aee4",
+ "url": "https://api.github.com/repos/laravel/prompts/zipball/b7b4c35e5bc47450f6b6238c6cc9c47ba19b2221",
+ "reference": "b7b4c35e5bc47450f6b6238c6cc9c47ba19b2221",
"shasum": ""
},
"require": {
@@ -2240,9 +2240,9 @@
"description": "Add beautiful and user-friendly forms to your command-line applications.",
"support": {
"issues": "https://github.com/laravel/prompts/issues",
- "source": "https://github.com/laravel/prompts/tree/v0.3.22"
+ "source": "https://github.com/laravel/prompts/tree/v0.3.23"
},
- "time": "2026-08-04T14:50:50+00:00"
+ "time": "2026-08-11T18:58:24+00:00"
},
{
"name": "laravel/serializable-closure",
@@ -3727,16 +3727,16 @@
},
{
"name": "nette/schema",
- "version": "v1.3.5",
+ "version": "v1.3.6",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
- "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002"
+ "reference": "c54350438cd6914616f790a49cb424605f421562"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nette/schema/zipball/f0ab1a3cda782dbc5da270d28545236aa80c4002",
- "reference": "f0ab1a3cda782dbc5da270d28545236aa80c4002",
+ "url": "https://api.github.com/repos/nette/schema/zipball/c54350438cd6914616f790a49cb424605f421562",
+ "reference": "c54350438cd6914616f790a49cb424605f421562",
"shasum": ""
},
"require": {
@@ -3788,9 +3788,9 @@
],
"support": {
"issues": "https://github.com/nette/schema/issues",
- "source": "https://github.com/nette/schema/tree/v1.3.5"
+ "source": "https://github.com/nette/schema/tree/v1.3.6"
},
- "time": "2026-02-23T03:47:12+00:00"
+ "time": "2026-08-16T21:58:41+00:00"
},
{
"name": "nette/utils",
@@ -10107,20 +10107,24 @@
},
{
"name": "carthage-software/mago",
- "version": "1.46.0",
+ "version": "1.47.2",
"source": {
"type": "git",
"url": "https://github.com/carthage-software/mago.git",
- "reference": "256da8ab866491730bf402d015161876330c822d"
+ "reference": "6d09af9b5980d0e9219642c19521a76883d863db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/carthage-software/mago/zipball/256da8ab866491730bf402d015161876330c822d",
- "reference": "256da8ab866491730bf402d015161876330c822d",
+ "url": "https://api.github.com/repos/carthage-software/mago/zipball/6d09af9b5980d0e9219642c19521a76883d863db",
+ "reference": "6d09af9b5980d0e9219642c19521a76883d863db",
"shasum": ""
},
"require": {
- "php": "~8.1 || ~8.2 || ~8.3 || ~8.4 || ~8.5 || ~8.6"
+ "php": "~8.1 || ~8.2 || ~8.3 || ~8.4 || ~8.5 || ~8.6",
+ "revolt/event-loop": "^1.0.9"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^10.5"
},
"suggest": {
"ext-curl": "To show binary download progress"
@@ -10144,7 +10148,7 @@
],
"authors": [
{
- "name": "Saif Eddin Gmati",
+ "name": "Seifeddine Gmati",
"email": "[email protected]"
}
],
@@ -10154,7 +10158,7 @@
],
"support": {
"issues": "https://github.com/carthage-software/mago/issues",
- "source": "https://github.com/carthage-software/mago/tree/1.46.0"
+ "source": "https://github.com/carthage-software/mago/tree/1.47.2"
},
"funding": [
{
@@ -10162,7 +10166,7 @@
"type": "github"
}
],
- "time": "2026-08-05T22:31:08+00:00"
+ "time": "2026-08-19T17:32:04+00:00"
},
{
"name": "cloudcreativity/json-api-testing",
@@ -10541,16 +10545,16 @@
},
{
"name": "fruitcake/laravel-debugbar",
- "version": "v4.4.1",
+ "version": "v4.4.2",
"source": {
"type": "git",
"url": "https://github.com/fruitcake/laravel-debugbar.git",
- "reference": "389157fb616e5c5d19d16a88fd9bfcf3e3248e9b"
+ "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/389157fb616e5c5d19d16a88fd9bfcf3e3248e9b",
- "reference": "389157fb616e5c5d19d16a88fd9bfcf3e3248e9b",
+ "url": "https://api.github.com/repos/fruitcake/laravel-debugbar/zipball/18d1c1c64cc5d7794a2c52a2165fe6121e28ed44",
+ "reference": "18d1c1c64cc5d7794a2c52a2165fe6121e28ed44",
"shasum": ""
},
"require": {
@@ -10628,7 +10632,7 @@
],
"support": {
"issues": "https://github.com/fruitcake/laravel-debugbar/issues",
- "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.1"
+ "source": "https://github.com/fruitcake/laravel-debugbar/tree/v4.4.2"
},
"funding": [
{
@@ -10640,7 +10644,7 @@
"type": "github"
}
],
- "time": "2026-08-03T06:23:16+00:00"
+ "time": "2026-08-20T12:02:04+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -10967,16 +10971,16 @@
},
{
"name": "mockery/mockery",
- "version": "1.6.13",
+ "version": "1.6.15",
"source": {
"type": "git",
"url": "https://github.com/mockery/mockery.git",
- "reference": "9cb54414cdcd2ec5ca292e7ba19dba3a3444885d"
+ "reference": "967a801bd188989a5669bd280f252d51c0fdc9ee"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/mockery/mockery/zipball/9cb54414cdcd2ec5ca292e7ba19dba3a3444885d",
- "reference": "9cb54414cdcd2ec5ca292e7ba19dba3a3444885d",
+ "url": "https://api.github.com/repos/mockery/mockery/zipball/967a801bd188989a5669bd280f252d51c0fdc9ee",
+ "reference": "967a801bd188989a5669bd280f252d51c0fdc9ee",
"shasum": ""
},
"require": {
@@ -11045,7 +11049,7 @@
"security": "https://github.com/mockery/mockery/security/advisories",
"source": "https://github.com/mockery/mockery"
},
- "time": "2026-08-15T03:07:32+00:00"
+ "time": "2026-08-19T19:37:52+00:00"
},
{
"name": "myclabs/deep-copy",
@@ -12142,16 +12146,16 @@
},
{
"name": "rector/rector",
- "version": "2.6.2",
+ "version": "2.6.3",
"source": {
"type": "git",
"url": "https://github.com/rectorphp/rector.git",
- "reference": "03cd615cdd5648abb5f10ff3a684fdb976687190"
+ "reference": "7e46709996a4b3dc59e1d6ecbb6a38ace335bd58"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rectorphp/rector/zipball/03cd615cdd5648abb5f10ff3a684fdb976687190",
- "reference": "03cd615cdd5648abb5f10ff3a684fdb976687190",
+ "url": "https://api.github.com/repos/rectorphp/rector/zipball/7e46709996a4b3dc59e1d6ecbb6a38ace335bd58",
+ "reference": "7e46709996a4b3dc59e1d6ecbb6a38ace335bd58",
"shasum": ""
},
"require": {
@@ -12190,7 +12194,7 @@
],
"support": {
"issues": "https://github.com/rectorphp/rector/issues",
- "source": "https://github.com/rectorphp/rector/tree/2.6.2"
+ "source": "https://github.com/rectorphp/rector/tree/2.6.3"
},
"funding": [
{
@@ -12198,7 +12202,79 @@
"type": "github"
}
],
- "time": "2026-08-12T06:23:05+00:00"
+ "time": "2026-08-18T22:01:18+00:00"
+ },
+ {
+ "name": "revolt/event-loop",
+ "version": "v1.0.9",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/revoltphp/event-loop.git",
+ "reference": "44061cf513e53c6200372fc935ac42271566295d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/revoltphp/event-loop/zipball/44061cf513e53c6200372fc935ac42271566295d",
+ "reference": "44061cf513e53c6200372fc935ac42271566295d",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=8.1"
+ },
+ "require-dev": {
+ "ext-json": "*",
+ "jetbrains/phpstorm-stubs": "^2019.3",
+ "phpunit/phpunit": "^9",
+ "psalm/phar": "6.16.*"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Revolt\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Aaron Piotrowski",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Cees-Jan Kiewiet",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Christian Lück",
+ "email": "[email protected]"
+ },
+ {
+ "name": "Niklas Keller",
+ "email": "[email protected]"
+ }
+ ],
+ "description": "Rock-solid event loop for concurrent PHP applications.",
+ "keywords": [
+ "async",
+ "asynchronous",
+ "concurrency",
+ "event",
+ "event-loop",
+ "non-blocking",
+ "scheduler"
+ ],
+ "support": {
+ "issues": "https://github.com/revoltphp/event-loop/issues",
+ "source": "https://github.com/revoltphp/event-loop/tree/v1.0.9"
+ },
+ "time": "2026-05-16T17:55:38+00:00"
},
{
"name": "sebastian/cli-parser",
diff --git a/config/firefly.php b/config/firefly.php
index 0545ae12db..ba078d102d 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-08-17',
-'build_time' => 1786937012,
+'version' => 'develop/2026-08-21',
+'build_time' => 1787286909,
'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 4d7208d4dd..f1de686a90 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -66,9 +66,9 @@
}
},
"node_modules/@oxc-project/types": {
- "version": "0.144.0",
- "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.144.0.tgz",
- "integrity": "sha512-nuhZIOLuI6TFQ32I/WnUx+SCPY7SdSKwgnFHydAuoS1+Z4BRcaP+RRJmGzl9lw+0OFF7UmaESf7KQRXaNLHypg==",
+ "version": "0.146.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.146.0.tgz",
+ "integrity": "sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==",
"dev": true,
"license": "MIT",
"funding": {
@@ -387,10 +387,27 @@
"url": "https://opencollective.com/popperjs"
}
},
+ "node_modules/@rolldown/binding-android-arm-eabi": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.5.tgz",
+ "integrity": "sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
"node_modules/@rolldown/binding-android-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.4.tgz",
- "integrity": "sha512-jHC2cnyKz5xU2fhECtFl8OZ83cYNt13GZQD+0uMJ/X3o+ijmd56okHhTUwxVSHPx1IRVIJEZ1/1pPzeLCU6XKA==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.5.tgz",
+ "integrity": "sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==",
"cpu": [
"arm64"
],
@@ -405,9 +422,9 @@
}
},
"node_modules/@rolldown/binding-darwin-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.4.tgz",
- "integrity": "sha512-Dc5mPD8F5F/FS8i01syd7FTF6yB2fVthH/TRkjwJkzUK6EpoxHtqvZQP5Zwq80/5z19TWYHIg1KOHboCgVx/aQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.5.tgz",
+ "integrity": "sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==",
"cpu": [
"arm64"
],
@@ -422,9 +439,9 @@
}
},
"node_modules/@rolldown/binding-darwin-x64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.4.tgz",
- "integrity": "sha512-fpDm4oBo6SqLvWUYCmFhdde3U9KH2fRNNMeAnAPAIwxRL345xutL0EtEUcuoxsoazdJGv/MuDBQHlCDrtbvqOg==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.5.tgz",
+ "integrity": "sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==",
"cpu": [
"x64"
],
@@ -439,9 +456,9 @@
}
},
"node_modules/@rolldown/binding-freebsd-x64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.4.tgz",
- "integrity": "sha512-rSJoreDE/HoIzoaib6MTp5jQtCTdMHKIvItAKT/ImS6Y6Ww76oUaeMyp4Vc/fAgd/ehji068IxetHXAnqUwN9A==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.5.tgz",
+ "integrity": "sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==",
"cpu": [
"x64"
],
@@ -456,9 +473,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm-gnueabihf": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.4.tgz",
- "integrity": "sha512-/jm8OGHgn7oGaJu3i/qZI9spUGcJ+y/lk43ttQ/iO1tOd9NissG6o97bighBCiL+BKRngmcDuR6ikfwYdJmVuQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.5.tgz",
+ "integrity": "sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==",
"cpu": [
"arm"
],
@@ -473,9 +490,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-gnu": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.4.tgz",
- "integrity": "sha512-tIP06BeD9EqvECBrPZ+sqdPlYrT+aYaAiu1wYziVx5elRK/ftm33JxVDy2bXGbr6J0CrtirCkR87/X5a2euEng==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.5.tgz",
+ "integrity": "sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==",
"cpu": [
"arm64"
],
@@ -490,9 +507,9 @@
}
},
"node_modules/@rolldown/binding-linux-arm64-musl": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.4.tgz",
- "integrity": "sha512-Ql1Q0EQqVThvn9VAVlwNzsUvbSFtCMGjLpRRi4pk5i7NZZ4n5ISiLMjHYtus4VQ2PvkSw24zyaCVsiS+sXPj1w==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.5.tgz",
+ "integrity": "sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==",
"cpu": [
"arm64"
],
@@ -507,9 +524,9 @@
}
},
"node_modules/@rolldown/binding-linux-ppc64-gnu": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.4.tgz",
- "integrity": "sha512-GjbjXD4XXfN19D0LZNbmiCBUoDiRACsYHr0yaIbbn8aFsXjHZifcYqu/W5Er5X2X990WjHXFrxarn5chzItorQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.5.tgz",
+ "integrity": "sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==",
"cpu": [
"ppc64"
],
@@ -524,9 +541,9 @@
}
},
"node_modules/@rolldown/binding-linux-s390x-gnu": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.4.tgz",
- "integrity": "sha512-p5WR0NOwaRmJ/B1b6IjEFLLivwEsf3PrdBIhRbhTCQisbo2SvHHpG4ELB/+FgQNnB88LTOF86upmJmbvZdQ2lw==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.5.tgz",
+ "integrity": "sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==",
"cpu": [
"s390x"
],
@@ -541,9 +558,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-gnu": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.4.tgz",
- "integrity": "sha512-4/GyVjmhR+Tc6HLJvwc1sOhPqAZtySiSMesOZyX6JQ5XBxoTDEMKQzvo07NIK6nTon/SivlZqvhzvuVBNQhObQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.5.tgz",
+ "integrity": "sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==",
"cpu": [
"x64"
],
@@ -558,9 +575,9 @@
}
},
"node_modules/@rolldown/binding-linux-x64-musl": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.4.tgz",
- "integrity": "sha512-l9eeLsCNvPpmSXUej0etw/J1eqV0Jj1D5G/xG6YTijmE6dkv6E2QezgWbTfQk63v952DPqrjOCoiqxq7Bw0YUQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.5.tgz",
+ "integrity": "sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==",
"cpu": [
"x64"
],
@@ -575,9 +592,9 @@
}
},
"node_modules/@rolldown/binding-openharmony-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.4.tgz",
- "integrity": "sha512-e0F355MSTMm3+UOqtV3L24gFUp2N5m1f8L/7d56deik6va+AXdrt9F8LbzGpeWGWRbZEDq4m8NVnJDeBtf9DZg==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.5.tgz",
+ "integrity": "sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==",
"cpu": [
"arm64"
],
@@ -592,9 +609,9 @@
}
},
"node_modules/@rolldown/binding-win32-arm64-msvc": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.4.tgz",
- "integrity": "sha512-AWLi0uBRYh6QlE7OKhiz+phZC0qwtij2QZmhmOdsLdFn64m7oMpooE9ICE3lhm9xMb4SpDo2WbHcxX1iFLFtqw==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.5.tgz",
+ "integrity": "sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==",
"cpu": [
"arm64"
],
@@ -609,9 +626,9 @@
}
},
"node_modules/@rolldown/binding-win32-x64-msvc": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.4.tgz",
- "integrity": "sha512-UwSDJOg3dqCAejWdxclJjCsh3Qq4vLYMDxmyHqo1btz3stK2VqgwNd3mm5tuIwzSlGIQ/1H9Hr+Zn09mrezNqQ==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.5.tgz",
+ "integrity": "sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==",
"cpu": [
"x64"
],
@@ -633,18 +650,18 @@
"license": "MIT"
},
"node_modules/@vue/reactivity": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.5.tgz",
- "integrity": "sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==",
+ "version": "3.5.41",
+ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.41.tgz",
+ "integrity": "sha512-rznsqKM0np0x18EjzF8x88MpEhdNsffbvFbckLL5+oUKz1BxAImEmO7J1ArRYSyo6aQaVoBDp7jEkT91OOxydA==",
"license": "MIT",
"dependencies": {
- "@vue/shared": "3.1.5"
+ "@vue/shared": "3.5.41"
}
},
"node_modules/@vue/shared": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.5.tgz",
- "integrity": "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==",
+ "version": "3.5.41",
+ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.41.tgz",
+ "integrity": "sha512-IOnwSCma8j+9xJT6b8H0dEYidC80NsYmNMlZxRsukYcSoGaDBohog5hDxzeUXdFeGWFA++vWvxqOmrr96VlqMA==",
"license": "MIT"
},
"node_modules/@yarnpkg/lockfile": {
@@ -654,9 +671,9 @@
"license": "BSD-2-Clause"
},
"node_modules/admin-lte": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-4.3.1.tgz",
- "integrity": "sha512-1JBf8MtHFonXyXs525scIXJPpDl8WJdIz9jjl2vJfZTfAjyIwxC+LRIVR3ElCLCyQmWZX74YmlL+IgKKrkN81A==",
+ "version": "4.8.5",
+ "resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-4.8.5.tgz",
+ "integrity": "sha512-q/hduRp+cytyFDqfWlUPAQsOwC4EUlE1StlA8VMm1BVqSjCh5FiL78h6/3vtx2quEJik6HBDLCPUMlTrjkEqfQ==",
"license": "MIT",
"engines": {
"node": ">=20"
@@ -678,12 +695,12 @@
}
},
"node_modules/alpinejs": {
- "version": "3.16.1",
- "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.16.1.tgz",
- "integrity": "sha512-QXcW8MK9JoG8GZ7vCt2cXJlcEPIA7Xk/7IQ1+L2iLp7sXcIxct0PrgidmHzK97gD9QlfUjHXPxujdZ1mC2PYVg==",
+ "version": "3.16.2",
+ "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.16.2.tgz",
+ "integrity": "sha512-6kbqqrRK7iGPYx5upTfqc8Tcl1xhpcurLCxTdn4/ym2Kb68+cYj+2I5Zji53vUIPf7zj3C1DoIvrDkgrNDCXdA==",
"license": "MIT",
"dependencies": {
- "@vue/reactivity": "~3.1.1"
+ "@vue/reactivity": "~3.5.40"
}
},
"node_modules/ansi-regex": {
@@ -1429,9 +1446,9 @@
}
},
"node_modules/i18next": {
- "version": "26.3.6",
- "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.3.6.tgz",
- "integrity": "sha512-Bu5Z2nAXgfVyM8xvW3jk9EKRIuX37PudsrBViThNFx7CR7aaYTpP01cxNB/E4c4UUzTDiAZRstEhsRfPOL/8xA==",
+ "version": "26.4.0",
+ "resolved": "https://registry.npmjs.org/i18next/-/i18next-26.4.0.tgz",
+ "integrity": "sha512-rsmK5bFqsD1AetSFSIa43wtNR4WpvvH4p0tLEsTxkC7QTrfdFm06nbQ95bh8Og4wwaCnUEcm9DVYL2cgxitiQg==",
"funding": [
{
"type": "individual",
@@ -2144,13 +2161,13 @@
}
},
"node_modules/rolldown": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.4.tgz",
- "integrity": "sha512-rSr7irW0K7QRWzjdJXqZowkcRdDtjRduh43rBltnVKd0VFq839l1lJoDvGJb6gl7+4rTTCrPWu+YfujUL8Ug7w==",
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.5.tgz",
+ "integrity": "sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@oxc-project/types": "=0.144.0",
+ "@oxc-project/types": "=0.146.0",
"@rolldown/pluginutils": "^1.0.0"
},
"bin": {
@@ -2160,20 +2177,21 @@
"node": "^20.19.0 || >=22.12.0"
},
"optionalDependencies": {
- "@rolldown/binding-android-arm64": "1.2.4",
- "@rolldown/binding-darwin-arm64": "1.2.4",
- "@rolldown/binding-darwin-x64": "1.2.4",
- "@rolldown/binding-freebsd-x64": "1.2.4",
- "@rolldown/binding-linux-arm-gnueabihf": "1.2.4",
- "@rolldown/binding-linux-arm64-gnu": "1.2.4",
- "@rolldown/binding-linux-arm64-musl": "1.2.4",
- "@rolldown/binding-linux-ppc64-gnu": "1.2.4",
- "@rolldown/binding-linux-s390x-gnu": "1.2.4",
- "@rolldown/binding-linux-x64-gnu": "1.2.4",
- "@rolldown/binding-linux-x64-musl": "1.2.4",
- "@rolldown/binding-openharmony-arm64": "1.2.4",
- "@rolldown/binding-win32-arm64-msvc": "1.2.4",
- "@rolldown/binding-win32-x64-msvc": "1.2.4"
+ "@rolldown/binding-android-arm-eabi": "1.2.5",
+ "@rolldown/binding-android-arm64": "1.2.5",
+ "@rolldown/binding-darwin-arm64": "1.2.5",
+ "@rolldown/binding-darwin-x64": "1.2.5",
+ "@rolldown/binding-freebsd-x64": "1.2.5",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.5",
+ "@rolldown/binding-linux-arm64-gnu": "1.2.5",
+ "@rolldown/binding-linux-arm64-musl": "1.2.5",
+ "@rolldown/binding-linux-ppc64-gnu": "1.2.5",
+ "@rolldown/binding-linux-s390x-gnu": "1.2.5",
+ "@rolldown/binding-linux-x64-gnu": "1.2.5",
+ "@rolldown/binding-linux-x64-musl": "1.2.5",
+ "@rolldown/binding-openharmony-arm64": "1.2.5",
+ "@rolldown/binding-win32-arm64-msvc": "1.2.5",
+ "@rolldown/binding-win32-x64-msvc": "1.2.5"
}
},
"node_modules/rxjs": {
@@ -2187,9 +2205,9 @@
}
},
"node_modules/sass": {
- "version": "1.102.0",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.102.0.tgz",
- "integrity": "sha512-NSOyTnaQF7rTAEOtI2fwb386vL+akyiQLBZu8Na7hXCb+umJy0GAqlcMIaqACZ6Z1VgTBS4K9PG6B3IdjHGJsw==",
+ "version": "1.103.1",
+ "resolved": "https://registry.npmjs.org/sass/-/sass-1.103.1.tgz",
+ "integrity": "sha512-9icZURbP51S6S0QGoyaeqk9uB06GNWxsFYWfH5RgpFgqK5FA8tJcM3AdVxrZEVJ7dz+L87nG95gBKf4VuaMHGw==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2489,16 +2507,16 @@
"link": true
},
"node_modules/vite": {
- "version": "8.2.1",
- "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.1.tgz",
- "integrity": "sha512-EU/eS7BH3XROHh2YnBefjM6DBKA6ZeMZEYQbj7NLWg5wHYlhB8B/Mayd5XsgWq+NFYccDOTemRpdETWR6Ka/lw==",
+ "version": "8.2.2",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.2.2.tgz",
+ "integrity": "sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"lightningcss": "^1.33.0",
"picomatch": "^4.0.5",
- "postcss": "^8.5.25",
- "rolldown": "~1.2.1",
+ "postcss": "^8.5.26",
+ "rolldown": "~1.2.4",
"tinyglobby": "^0.2.17"
},
"bin": {
@@ -2515,7 +2533,7 @@
},
"peerDependencies": {
"@types/node": "^20.19.0 || >=22.12.0",
- "@vitejs/devtools": "^0.4.0",
+ "@vitejs/devtools": "^0.4.0 || ^0.5.0",
"esbuild": "^0.27.0 || ^0.28.0",
"jiti": ">=1.21.0",
"less": "^4.0.0",
diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php
index eaf8caf65f..1fc9a47b00 100644
--- a/resources/lang/en_US/firefly.php
+++ b/resources/lang/en_US/firefly.php
@@ -30,7 +30,7 @@ return [
'actions' => 'Actions',
'edit' => 'Edit',
'loading' => 'Loading',
- 'thinking' => 'Thinking...',
+ 'thinking' => 'Thinking...',
'transaction_journal_id' => 'Transaction journal ID',
'delete' => 'Delete',
'split' => 'Split',
@@ -2123,7 +2123,7 @@ return [
// transactions:
'wait_loading_transaction' => 'Please wait for the form to load',
- 'wait_loading_page' => 'Please wait a moment for the page to load',
+ 'wait_loading_page' => 'Please wait a moment for the page to load',
'wait_loading_data' => 'Please wait for your information to load...',
'wait_attachments' => 'Please wait for the attachments to upload.',
'errors_upload' => 'The upload has failed. Please check your browser console for the error.',
@@ -2601,7 +2601,7 @@ return [
'config_features' => 'Enabled features',
'config_tech' => 'Tech related features',
'config_external_connections' => 'Privacy-sensitive settings (connects to the internet)',
- 'no_external_map_disabled' => 'This option is disabled because Firefly III is not allowed to download external maps.',
+ 'no_external_map_disabled' => 'This option is disabled because Firefly III is not allowed to download external maps.',
'setting_enable_exchange_rates' => 'Enable exchange rates',
'setting_enable_exchange_rates_explain' => 'Firefly III has the capability of calculating exchange rates for you.',