Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Reformat code.
James Colec6d17e9bd7d4
diff --git a/app/Console/Commands/Correction/CorrectDatabase.php b/app/Console/Commands/Correction/CorrectDatabase.phpindex 224ed7e5fd..0c87804883 100644--- a/app/Console/Commands/Correction/CorrectDatabase.php+++ b/app/Console/Commands/Correction/CorrectDatabase.php@@ -82,6 +82,7 @@ class CorrectDatabase extends Command$result = Artisan::output();echo $result;}+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/CreateAccessTokens.php b/app/Console/Commands/Correction/CreateAccessTokens.phpindex 4c859f6d5d..f541e626f3 100644--- a/app/Console/Commands/Correction/CreateAccessTokens.php+++ b/app/Console/Commands/Correction/CreateAccessTokens.php@@ -77,6 +77,7 @@ class CreateAccessTokens extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verify access tokens in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/CreateLinkTypes.php b/app/Console/Commands/Correction/CreateLinkTypes.phpindex cbf2dc4ebc..73fcf9dc1d 100644--- a/app/Console/Commands/Correction/CreateLinkTypes.php+++ b/app/Console/Commands/Correction/CreateLinkTypes.php@@ -78,6 +78,7 @@ class CreateLinkTypes extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified link types in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/DeleteEmptyGroups.php b/app/Console/Commands/Correction/DeleteEmptyGroups.phpindex c15c1ff0bd..f59e250023 100644--- a/app/Console/Commands/Correction/DeleteEmptyGroups.php+++ b/app/Console/Commands/Correction/DeleteEmptyGroups.php@@ -74,6 +74,7 @@ class DeleteEmptyGroups extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified empty groups in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/DeleteEmptyJournals.php b/app/Console/Commands/Correction/DeleteEmptyJournals.phpindex 832529ef0e..07c23d75c2 100644--- a/app/Console/Commands/Correction/DeleteEmptyJournals.php+++ b/app/Console/Commands/Correction/DeleteEmptyJournals.php@@ -57,6 +57,7 @@ class DeleteEmptyJournals extends Command{$this->deleteUnevenJournals();$this->deleteEmptyJournals();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php b/app/Console/Commands/Correction/DeleteOrphanedTransactions.phpindex dfa5e4d96c..f35b35590f 100644--- a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php+++ b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php@@ -61,6 +61,7 @@ class DeleteOrphanedTransactions extends Command$this->deleteFromOrphanedAccounts();$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified orphans in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/DeleteZeroAmount.php b/app/Console/Commands/Correction/DeleteZeroAmount.phpindex 16e9abf641..2e860610b9 100644--- a/app/Console/Commands/Correction/DeleteZeroAmount.php+++ b/app/Console/Commands/Correction/DeleteZeroAmount.php@@ -77,6 +77,7 @@ class DeleteZeroAmount extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified zero-amount integrity in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/EnableCurrencies.php b/app/Console/Commands/Correction/EnableCurrencies.phpindex fbac80536c..b44306f3f5 100644--- a/app/Console/Commands/Correction/EnableCurrencies.php+++ b/app/Console/Commands/Correction/EnableCurrencies.php@@ -100,6 +100,7 @@ class EnableCurrencies extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified currencies in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Correction/FixAccountTypes.php b/app/Console/Commands/Correction/FixAccountTypes.phpindex 86ba9cb940..7f6dc372cf 100644--- a/app/Console/Commands/Correction/FixAccountTypes.php+++ b/app/Console/Commands/Correction/FixAccountTypes.php@@ -105,6 +105,7 @@ class FixAccountTypes extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verifying account types took %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/FixLongDescriptions.php b/app/Console/Commands/Correction/FixLongDescriptions.phpindex b6c44c888d..1cc90566b7 100644--- a/app/Console/Commands/Correction/FixLongDescriptions.php+++ b/app/Console/Commands/Correction/FixLongDescriptions.php@@ -73,6 +73,7 @@ class FixLongDescriptions extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified all transaction group and journal title lengths in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/FixPiggies.php b/app/Console/Commands/Correction/FixPiggies.phpindex 215d005c77..f13c52c868 100644--- a/app/Console/Commands/Correction/FixPiggies.php+++ b/app/Console/Commands/Correction/FixPiggies.php@@ -97,6 +97,7 @@ class FixPiggies extends Command$end = round(microtime(true) - $start, 2);$this->line(sprintf('Verified the content of %d piggy bank events in %s seconds.', $set->count(), $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/FixRecurringTransactions.php b/app/Console/Commands/Correction/FixRecurringTransactions.phpindex c8f6cd0ba1..a0a1a6170b 100644--- a/app/Console/Commands/Correction/FixRecurringTransactions.php+++ b/app/Console/Commands/Correction/FixRecurringTransactions.php@@ -65,6 +65,7 @@ class FixRecurringTransactions extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Corrected recurring transactions %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/FixUnevenAmount.php b/app/Console/Commands/Correction/FixUnevenAmount.phpindex 7db74aacd7..a8e29d540f 100644--- a/app/Console/Commands/Correction/FixUnevenAmount.php+++ b/app/Console/Commands/Correction/FixUnevenAmount.php@@ -74,6 +74,7 @@ class FixUnevenAmount extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified amount integrity in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/RemoveBills.php b/app/Console/Commands/Correction/RemoveBills.phpindex e387fdcd42..292bcd5e50 100644--- a/app/Console/Commands/Correction/RemoveBills.php+++ b/app/Console/Commands/Correction/RemoveBills.php@@ -70,6 +70,7 @@ class RemoveBills extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified bills / journals in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/RenameMetaFields.php b/app/Console/Commands/Correction/RenameMetaFields.phpindex ed779d3b34..7a32c509d0 100644--- a/app/Console/Commands/Correction/RenameMetaFields.php+++ b/app/Console/Commands/Correction/RenameMetaFields.php@@ -82,6 +82,7 @@ class RenameMetaFields extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Renamed meta fields in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Correction/TransferBudgets.php b/app/Console/Commands/Correction/TransferBudgets.phpindex 7631d1788e..1f622aac9b 100644--- a/app/Console/Commands/Correction/TransferBudgets.php+++ b/app/Console/Commands/Correction/TransferBudgets.php@@ -73,6 +73,7 @@ class TransferBudgets extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified budget/journals in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/CreateDatabase.php b/app/Console/Commands/CreateDatabase.phpindex e6a202adeb..46cd5109ba 100644--- a/app/Console/Commands/CreateDatabase.php+++ b/app/Console/Commands/CreateDatabase.php@@ -55,6 +55,7 @@ class CreateDatabase extends Command{if ('mysql' !== env('DB_CONNECTION')) {$this->info(sprintf('CreateDB does not apply to "%s", skipped.', env('DB_CONNECTION')));+return 0;}// try to set up a raw connection:@@ -68,6 +69,7 @@ class CreateDatabase extends Command$pdo = new PDO($dsn, env('DB_USERNAME'), env('DB_PASSWORD'), $options);} catch (PDOException $e) {$this->error(sprintf('Error when connecting to DB: %s', $e->getMessage()));+return 1;}// with PDO, try to list DB's (diff --git a/app/Console/Commands/DecryptDatabase.php b/app/Console/Commands/DecryptDatabase.phpindex 0eced08e11..7dfcb24179 100644--- a/app/Console/Commands/DecryptDatabase.php+++ b/app/Console/Commands/DecryptDatabase.php@@ -117,6 +117,7 @@ class DecryptDatabase extends Command}$this->info('Done!');+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Export/ExportData.php b/app/Console/Commands/Export/ExportData.phpindex f901274640..89ac2abdb7 100644--- a/app/Console/Commands/Export/ExportData.php+++ b/app/Console/Commands/Export/ExportData.php@@ -135,9 +135,11 @@ class ExportData extends Command$this->exportData($options, $data);} catch (FireflyException $e) {$this->error(sprintf('Could not store data: %s', $e->getMessage()));+// app('telemetry')->feature('executed-command-with-error', $this->signature);return 1;}+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Import/CreateCSVImport.php b/app/Console/Commands/Import/CreateCSVImport.phpindex 8fc7dea518..537d8bdc96 100644--- a/app/Console/Commands/Import/CreateCSVImport.php+++ b/app/Console/Commands/Import/CreateCSVImport.php@@ -127,6 +127,7 @@ class CreateCSVImport extends Command$this->processFile();} catch (FireflyException $e) {$this->errorLine($e->getMessage());+// app('telemetry')->feature('executed-command-with-error', $this->signature);return 1;}@@ -136,6 +137,7 @@ class CreateCSVImport extends Command$this->storeData();} catch (FireflyException $e) {$this->errorLine($e->getMessage());+// app('telemetry')->feature('executed-command-with-error', $this->signature);return 1;}@@ -145,6 +147,7 @@ class CreateCSVImport extends Command// clear cache for user:app('preferences')->setForUser($user, 'lastActivity', microtime());+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Integrity/ReportEmptyObjects.php b/app/Console/Commands/Integrity/ReportEmptyObjects.phpindex 25cc137e72..2607a5ef8c 100644--- a/app/Console/Commands/Integrity/ReportEmptyObjects.php+++ b/app/Console/Commands/Integrity/ReportEmptyObjects.php@@ -63,6 +63,7 @@ class ReportEmptyObjects extends Command$this->reportBudgetLimits();$end = round(microtime(true) - $start, 2);$this->info(sprintf('Report on empty objects finished in %s seconds', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Integrity/ReportIntegrity.php b/app/Console/Commands/Integrity/ReportIntegrity.phpindex e4cfd70ad2..5a5db4356e 100644--- a/app/Console/Commands/Integrity/ReportIntegrity.php+++ b/app/Console/Commands/Integrity/ReportIntegrity.php@@ -68,6 +68,7 @@ class ReportIntegrity extends Command$result = Artisan::output();echo $result;}+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Integrity/ReportSum.php b/app/Console/Commands/Integrity/ReportSum.phpindex 446644c3ec..6485bddddd 100644--- a/app/Console/Commands/Integrity/ReportSum.php+++ b/app/Console/Commands/Integrity/ReportSum.php@@ -53,6 +53,7 @@ class ReportSum extends Commandpublic function handle(): int{$this->reportSum();+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Integrity/RestoreOAuthKeys.php b/app/Console/Commands/Integrity/RestoreOAuthKeys.phpindex 079d215fd2..22d1db5cc4 100644--- a/app/Console/Commands/Integrity/RestoreOAuthKeys.php+++ b/app/Console/Commands/Integrity/RestoreOAuthKeys.php@@ -50,6 +50,7 @@ class RestoreOAuthKeys extends Commandpublic function handle(): int{$this->restoreOAuthKeys();+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/ScanAttachments.php b/app/Console/Commands/ScanAttachments.phpindex 8cda6f68fd..9a2c4a4655 100644--- a/app/Console/Commands/ScanAttachments.php+++ b/app/Console/Commands/ScanAttachments.php@@ -85,6 +85,7 @@ class ScanAttachments extends Command$attachment->save();$this->line(sprintf('Fixed attachment #%d', $attachment->id));}+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Tools/ApplyRules.php b/app/Console/Commands/Tools/ApplyRules.phpindex 6858255607..9973a9a8dc 100644--- a/app/Console/Commands/Tools/ApplyRules.php+++ b/app/Console/Commands/Tools/ApplyRules.php@@ -130,6 +130,7 @@ class ApplyRules extends Command$this->warn(' --rules=1,2,...');$this->warn(' --rule_groups=1,2,...');$this->warn(' --all_rules');+// app('telemetry')->feature('executed-command-with-error', $this->signature);return 1;}@@ -165,6 +166,7 @@ class ApplyRules extends Command}$this->line('');$this->line('Done!');+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Tools/Cron.php b/app/Console/Commands/Tools/Cron.phpindex f6061308e6..f633b5d207 100644--- a/app/Console/Commands/Tools/Cron.php+++ b/app/Console/Commands/Tools/Cron.php@@ -93,6 +93,7 @@ class Cron extends Command}$this->info('More feedback on the cron jobs can be found in the log files.');+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.phpindex 3af0086908..018a219ebc 100644--- a/app/Console/Commands/Upgrade/AccountCurrencies.php+++ b/app/Console/Commands/Upgrade/AccountCurrencies.php@@ -86,6 +86,7 @@ class AccountCurrencies extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified and fixed account currencies in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/BackToJournals.php b/app/Console/Commands/Upgrade/BackToJournals.phpindex a3951e7799..283f0e0903 100644--- a/app/Console/Commands/Upgrade/BackToJournals.php+++ b/app/Console/Commands/Upgrade/BackToJournals.php@@ -77,6 +77,7 @@ class BackToJournals extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Updated category and budget info for all transaction journals in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php b/app/Console/Commands/Upgrade/BudgetLimitCurrency.phpindex d85b004cea..32e5955043 100644--- a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php+++ b/app/Console/Commands/Upgrade/BudgetLimitCurrency.php@@ -91,6 +91,7 @@ class BudgetLimitCurrency extends Command$this->info(sprintf('Verified budget limits in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/CCLiabilities.php b/app/Console/Commands/Upgrade/CCLiabilities.phpindex 8ed8c600d2..0d411bf360 100644--- a/app/Console/Commands/Upgrade/CCLiabilities.php+++ b/app/Console/Commands/Upgrade/CCLiabilities.php@@ -90,6 +90,7 @@ class CCLiabilities extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified credit card liabilities in %s seconds', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/MigrateAttachments.php b/app/Console/Commands/Upgrade/MigrateAttachments.phpindex 40107557f4..595e78aa55 100644--- a/app/Console/Commands/Upgrade/MigrateAttachments.php+++ b/app/Console/Commands/Upgrade/MigrateAttachments.php@@ -100,6 +100,7 @@ class MigrateAttachments extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Migrated attachment notes in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/MigrateJournalNotes.php b/app/Console/Commands/Upgrade/MigrateJournalNotes.phpindex e61a9ee90f..1a19560810 100644--- a/app/Console/Commands/Upgrade/MigrateJournalNotes.php+++ b/app/Console/Commands/Upgrade/MigrateJournalNotes.php@@ -99,6 +99,7 @@ class MigrateJournalNotes extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Migrated notes in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.phpindex dbf678020f..a9a0df3ec3 100644--- a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php@@ -70,6 +70,7 @@ class MigrateRecurrenceMeta extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Migrated recurrence meta data in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/MigrateTagLocations.php b/app/Console/Commands/Upgrade/MigrateTagLocations.phpindex 88e9b5aefd..94e42e3045 100644--- a/app/Console/Commands/Upgrade/MigrateTagLocations.php+++ b/app/Console/Commands/Upgrade/MigrateTagLocations.php@@ -63,6 +63,7 @@ class MigrateTagLocations extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Migrated tag locations in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateToGroups.php b/app/Console/Commands/Upgrade/MigrateToGroups.phpindex 3a997e0a17..7b85398825 100644--- a/app/Console/Commands/Upgrade/MigrateToGroups.php+++ b/app/Console/Commands/Upgrade/MigrateToGroups.php@@ -111,6 +111,7 @@ class MigrateToGroups extends Command$this->markAsMigrated();+// app('telemetry')->feature('executed-command', $this->signature);return 0;diff --git a/app/Console/Commands/Upgrade/MigrateToRules.php b/app/Console/Commands/Upgrade/MigrateToRules.phpindex 1052079580..a29188433c 100644--- a/app/Console/Commands/Upgrade/MigrateToRules.php+++ b/app/Console/Commands/Upgrade/MigrateToRules.php@@ -98,6 +98,7 @@ class MigrateToRules extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified and fixed bills in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.phpindex 46bc609e82..5c1f5d8187 100644--- a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php+++ b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php@@ -89,6 +89,7 @@ class OtherCurrenciesCorrections extends Command$this->line(sprintf('Verified %d transaction(s) and journal(s).', $this->count));$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified and fixed transaction currencies in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}@@ -271,13 +272,13 @@ class OtherCurrenciesCorrections extends Command{$set= $this->cliRepos->getAllJournals(- [+ [TransactionType::WITHDRAWAL,TransactionType::DEPOSIT,TransactionType::OPENING_BALANCE,TransactionType::RECONCILIATION,]- );+ );/** @var TransactionJournal $journal */foreach ($set as $journal) {diff --git a/app/Console/Commands/Upgrade/RenameAccountMeta.php b/app/Console/Commands/Upgrade/RenameAccountMeta.phpindex 37c5dcec12..355e403c41 100644--- a/app/Console/Commands/Upgrade/RenameAccountMeta.php+++ b/app/Console/Commands/Upgrade/RenameAccountMeta.php@@ -90,6 +90,7 @@ class RenameAccountMeta extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Fixed account meta data in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/TransactionIdentifier.php b/app/Console/Commands/Upgrade/TransactionIdentifier.phpindex d7b2718e37..c8f79c4b6c 100644--- a/app/Console/Commands/Upgrade/TransactionIdentifier.php+++ b/app/Console/Commands/Upgrade/TransactionIdentifier.php@@ -100,6 +100,7 @@ class TransactionIdentifier extends Command$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified and fixed transaction identifiers in %s seconds.', $end));$this->markAsExecuted();+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.phpindex fd6d18cf9d..64ccbeb9d7 100644--- a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php+++ b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php@@ -110,6 +110,7 @@ class TransferCurrenciesCorrections extends Command}$end = round(microtime(true) - $start, 2);$this->info(sprintf('Verified and fixed currency information for transfers in %s seconds.', $end));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/Upgrade/UpgradeDatabase.php b/app/Console/Commands/Upgrade/UpgradeDatabase.phpindex 7501b6739d..28dd57256b 100644--- a/app/Console/Commands/Upgrade/UpgradeDatabase.php+++ b/app/Console/Commands/Upgrade/UpgradeDatabase.php@@ -116,6 +116,7 @@ class UpgradeDatabase extends Commandapp('fireflyconfig')->set('db_version', (int) config('firefly.db_version'));// index will set FF3 version.app('fireflyconfig')->set('ff3_version', (string) config('firefly.version'));+// app('telemetry')->feature('executed-command', $this->signature);return 0;}diff --git a/app/Console/Commands/UpgradeFireflyInstructions.php b/app/Console/Commands/UpgradeFireflyInstructions.phpindex 99ff2575e7..a7ded8703e 100644--- a/app/Console/Commands/UpgradeFireflyInstructions.php+++ b/app/Console/Commands/UpgradeFireflyInstructions.php@@ -56,6 +56,7 @@ class UpgradeFireflyInstructions extends Commandif ('install' === (string) $this->argument('task')) {$this->installInstructions();}+// app('telemetry')->feature('executed-command', $this->signature);return 0;}