Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix phpstan issues.
James Colebb365ecf7cce
diff --git a/app/Jobs/CreateAutoBudgetLimits.php b/app/Jobs/CreateAutoBudgetLimits.phpindex 476da65ac3..fd94666f1d 100644--- a/app/Jobs/CreateAutoBudgetLimits.php+++ b/app/Jobs/CreateAutoBudgetLimits.php@@ -64,7 +64,7 @@ class CreateAutoBudgetLimits implements ShouldQueue$newDate = clone $date;$newDate->startOfDay();$this->date = $newDate;- Log::debug(sprintf('Created new CreateAutoBudgetLimits("%s")', $this->date->format('Y-m-d')));+ // Log::debug(sprintf('Created new CreateAutoBudgetLimits("%s")', $this->date->format('Y-m-d')));}}diff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.phpindex 86ad79244d..2f42659573 100644--- a/app/Jobs/CreateRecurringTransactions.php+++ b/app/Jobs/CreateRecurringTransactions.php@@ -91,7 +91,7 @@ class CreateRecurringTransactions implements ShouldQueue$this->recurrences = new Collection();$this->groups = new Collection();- Log::debug(sprintf('Created new CreateRecurringTransactions("%s")', $this->date->format('Y-m-d')));+ // Log::debug(sprintf('Created new CreateRecurringTransactions("%s")', $this->date->format('Y-m-d')));}public function getGroups(): Collectiondiff --git a/app/Jobs/DownloadExchangeRates.php b/app/Jobs/DownloadExchangeRates.phpindex 09f8a44216..f2cef4d911 100644--- a/app/Jobs/DownloadExchangeRates.php+++ b/app/Jobs/DownloadExchangeRates.php@@ -70,7 +70,7 @@ class DownloadExchangeRates implements ShouldQueue$newDate = clone $date;$newDate->startOfDay();$this->date = $newDate;- Log::debug(sprintf('Created new DownloadExchangeRates("%s")', $this->date->format('Y-m-d')));+ // Log::debug(sprintf('Created new DownloadExchangeRates("%s")', $this->date->format('Y-m-d')));}}diff --git a/app/Jobs/WarnAboutBills.php b/app/Jobs/WarnAboutBills.phpindex 2711763fa5..20473278b5 100644--- a/app/Jobs/WarnAboutBills.php+++ b/app/Jobs/WarnAboutBills.php@@ -69,7 +69,7 @@ class WarnAboutBills implements ShouldQueue$this->force = false;- Log::debug(sprintf('Created new WarnAboutBills("%s")', $this->date->format('Y-m-d')));+ // Log::debug(sprintf('Created new WarnAboutBills("%s")', $this->date->format('Y-m-d')));}/**diff --git a/app/Repositories/Category/CategoryRepository.php b/app/Repositories/Category/CategoryRepository.phpindex 44c6480e3f..d25bd74240 100644--- a/app/Repositories/Category/CategoryRepository.php+++ b/app/Repositories/Category/CategoryRepository.php@@ -195,8 +195,6 @@ class CategoryRepository implements CategoryRepositoryInterface, UserGroupInterf// add sort parameters$allowed = config('firefly.allowed_db_sort_parameters.Category', []);$sorted = 0;- $sort ??= [];- $filter ??= [];if (0 !== count($sort)) {foreach ($sort as $param) {// basic sort:diff --git a/app/Support/Search/OperatorQuerySearch.php b/app/Support/Search/OperatorQuerySearch.phpindex 702804e4c4..b24961b560 100644--- a/app/Support/Search/OperatorQuerySearch.php+++ b/app/Support/Search/OperatorQuerySearch.php@@ -89,7 +89,7 @@ class OperatorQuerySearch implements SearchInterface*/public function __construct(){- Log::debug('Constructed OperatorQuerySearch');+ // Log::debug('Constructed OperatorQuerySearch');$this->operators = new Collection();$this->validOperators = array_keys(config('search.operators'));$this->startTime = microtime(true);diff --git a/config/translations.php b/config/translations.phpindex 6508b951f8..d7ed3149d3 100644--- a/config/translations.php+++ b/config/translations.php@@ -83,6 +83,7 @@ return ['deposit','transfer','could_not_load_chart',+ 'webhook_was_triggered','inactive_account_link_js','active_account_link','inactive',diff --git a/database/migrations/2026_10_09_062600_migrations_10_2026.php b/database/migrations/2026_10_09_062600_migrations_10_2026.phpindex 595338d77e..6e83cdc59e 100644--- a/database/migrations/2026_10_09_062600_migrations_10_2026.php+++ b/database/migrations/2026_10_09_062600_migrations_10_2026.php@@ -1,5 +1,7 @@<?php+declare(strict_types=1);+use Illuminate\Database\Migrations\Migration;use Illuminate\Database\Schema\Blueprint;use Illuminate\Support\Facades\Log;