mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Reformat code.
This commit is contained in:
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -111,6 +111,7 @@ class MigrateToGroups extends Command
|
||||
|
||||
|
||||
$this->markAsMigrated();
|
||||
|
||||
// app('telemetry')->feature('executed-command', $this->signature);
|
||||
|
||||
return 0;
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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) {
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -116,6 +116,7 @@ class UpgradeDatabase extends Command
|
||||
app('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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user