Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
chore: fix command output
James Cole88b294d873ca
diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.phpindex 512ffafd59..0b4f6ed8bf 100644--- a/app/Console/Commands/Upgrade/AccountCurrencies.php+++ b/app/Console/Commands/Upgrade/AccountCurrencies.php@@ -59,7 +59,7 @@ class AccountCurrencies extends Command{$this->stupidLaravel();if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.phpindex 7ccfa3fe00..3fbea226cf 100644--- a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php+++ b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php@@ -57,7 +57,7 @@ class AppendBudgetLimitPeriods extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/BackToJournals.php b/app/Console/Commands/Upgrade/BackToJournals.phpindex c5bcba2a64..d00f691c0c 100644--- a/app/Console/Commands/Upgrade/BackToJournals.php+++ b/app/Console/Commands/Upgrade/BackToJournals.php@@ -68,7 +68,7 @@ class BackToJournals extends Command$this->error('Please run firefly-iii:migrate-to-groups first.');}if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php b/app/Console/Commands/Upgrade/BudgetLimitCurrency.phpindex 3203af7a39..b286643953 100644--- a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php+++ b/app/Console/Commands/Upgrade/BudgetLimitCurrency.php@@ -59,7 +59,7 @@ class BudgetLimitCurrency extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/CCLiabilities.php b/app/Console/Commands/Upgrade/CCLiabilities.phpindex 9b9a3b1aed..4e6a6d55bc 100644--- a/app/Console/Commands/Upgrade/CCLiabilities.php+++ b/app/Console/Commands/Upgrade/CCLiabilities.php@@ -53,7 +53,7 @@ class CCLiabilities extends Command$start = microtime(true);if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateAttachments.php b/app/Console/Commands/Upgrade/MigrateAttachments.phpindex 4ab0eb43d3..9d22dad7bc 100644--- a/app/Console/Commands/Upgrade/MigrateAttachments.php+++ b/app/Console/Commands/Upgrade/MigrateAttachments.php@@ -62,7 +62,7 @@ class MigrateAttachments extends Command{$start = microtime(true);if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateJournalNotes.php b/app/Console/Commands/Upgrade/MigrateJournalNotes.phpindex 72c91d4cbc..b878c6cfdb 100644--- a/app/Console/Commands/Upgrade/MigrateJournalNotes.php+++ b/app/Console/Commands/Upgrade/MigrateJournalNotes.php@@ -63,7 +63,7 @@ class MigrateJournalNotes extends Command$start = microtime(true);if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.phpindex 3e16eb7e78..342157aad0 100644--- a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php@@ -64,7 +64,7 @@ class MigrateRecurrenceMeta extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php b/app/Console/Commands/Upgrade/MigrateRecurrenceType.phpindex 29ee8dcfff..58d7b74df0 100644--- a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php@@ -62,7 +62,7 @@ class MigrateRecurrenceType extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('This command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateTagLocations.php b/app/Console/Commands/Upgrade/MigrateTagLocations.phpindex 4b4b1d9917..845c562acf 100644--- a/app/Console/Commands/Upgrade/MigrateTagLocations.php+++ b/app/Console/Commands/Upgrade/MigrateTagLocations.php@@ -61,7 +61,7 @@ class MigrateTagLocations extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/MigrateToRules.php b/app/Console/Commands/Upgrade/MigrateToRules.phpindex dbf73a3661..f89fedcabe 100644--- a/app/Console/Commands/Upgrade/MigrateToRules.php+++ b/app/Console/Commands/Upgrade/MigrateToRules.php@@ -79,7 +79,7 @@ class MigrateToRules extends Commandif ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.phpindex 77ecf18e2d..9b55610038 100644--- a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php+++ b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php@@ -66,7 +66,7 @@ class OtherCurrenciesCorrections extends Command$this->stupidLaravel();if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/RenameAccountMeta.php b/app/Console/Commands/Upgrade/RenameAccountMeta.phpindex b2151f729c..a5a1d2622e 100644--- a/app/Console/Commands/Upgrade/RenameAccountMeta.php+++ b/app/Console/Commands/Upgrade/RenameAccountMeta.php@@ -59,7 +59,7 @@ class RenameAccountMeta extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/TransactionIdentifier.php b/app/Console/Commands/Upgrade/TransactionIdentifier.phpindex ccebe548bd..1c0fe0c4be 100644--- a/app/Console/Commands/Upgrade/TransactionIdentifier.php+++ b/app/Console/Commands/Upgrade/TransactionIdentifier.php@@ -64,7 +64,7 @@ class TransactionIdentifier extends Command$this->stupidLaravel();if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.phpindex 23395e7540..8a02a157a4 100644--- a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php+++ b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php@@ -66,7 +66,7 @@ class TransferCurrenciesCorrections extends Command$this->stupidLaravel();if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilities.php b/app/Console/Commands/Upgrade/UpgradeLiabilities.phpindex 1d6b8f6134..de6101b552 100644--- a/app/Console/Commands/Upgrade/UpgradeLiabilities.php+++ b/app/Console/Commands/Upgrade/UpgradeLiabilities.php@@ -57,7 +57,7 @@ class UpgradeLiabilities extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('This command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php b/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.phpindex f1d1037458..a878f1809b 100644--- a/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php+++ b/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php@@ -59,7 +59,7 @@ class UpgradeLiabilitiesEight extends Commandpublic function handle(): int{if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('This command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}diff --git a/app/Console/Commands/Upgrade/UpgradeSkeleton.php.stub b/app/Console/Commands/Upgrade/UpgradeSkeleton.php.stubindex c11ba2c00e..e454950502 100644--- a/app/Console/Commands/Upgrade/UpgradeSkeleton.php.stub+++ b/app/Console/Commands/Upgrade/UpgradeSkeleton.php.stub@@ -33,7 +33,7 @@ class UpgradeSkeleton extends Command{$start = microtime(true);if ($this->isExecuted() && true !== $this->option('force')) {- $this->warn('Correct: this command has already been executed.');+ $this->info('Correct: this command has already been executed.');return 0;}