Skip to content

Firefly III: a personal finances manager

chore: fix command output

James Cole88b294d873ca
diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.php
index 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.php
index 7ccfa3fe00..3fbea226cf 100644
--- a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php
+++ b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php
@@ -57,7 +57,7 @@ class AppendBudgetLimitPeriods extends Command
public 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.php
index 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.php
index 3203af7a39..b286643953 100644
--- a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php
+++ b/app/Console/Commands/Upgrade/BudgetLimitCurrency.php
@@ -59,7 +59,7 @@ class BudgetLimitCurrency extends Command
public 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.php
index 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.php
index 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.php
index 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.php
index 3e16eb7e78..342157aad0 100644
--- a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php
+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php
@@ -64,7 +64,7 @@ class MigrateRecurrenceMeta extends Command
public 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.php
index 29ee8dcfff..58d7b74df0 100644
--- a/app/Console/Commands/Upgrade/MigrateRecurrenceType.php
+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceType.php
@@ -62,7 +62,7 @@ class MigrateRecurrenceType extends Command
public 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.php
index 4b4b1d9917..845c562acf 100644
--- a/app/Console/Commands/Upgrade/MigrateTagLocations.php
+++ b/app/Console/Commands/Upgrade/MigrateTagLocations.php
@@ -61,7 +61,7 @@ class MigrateTagLocations extends Command
public 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.php
index dbf73a3661..f89fedcabe 100644
--- a/app/Console/Commands/Upgrade/MigrateToRules.php
+++ b/app/Console/Commands/Upgrade/MigrateToRules.php
@@ -79,7 +79,7 @@ class MigrateToRules extends Command
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/OtherCurrenciesCorrections.php b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php
index 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.php
index b2151f729c..a5a1d2622e 100644
--- a/app/Console/Commands/Upgrade/RenameAccountMeta.php
+++ b/app/Console/Commands/Upgrade/RenameAccountMeta.php
@@ -59,7 +59,7 @@ class RenameAccountMeta extends Command
public 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.php
index 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.php
index 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.php
index 1d6b8f6134..de6101b552 100644
--- a/app/Console/Commands/Upgrade/UpgradeLiabilities.php
+++ b/app/Console/Commands/Upgrade/UpgradeLiabilities.php
@@ -57,7 +57,7 @@ class UpgradeLiabilities extends Command
public 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.php
index f1d1037458..a878f1809b 100644
--- a/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php
+++ b/app/Console/Commands/Upgrade/UpgradeLiabilitiesEight.php
@@ -59,7 +59,7 @@ class UpgradeLiabilitiesEight extends Command
public 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.stub
index 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;
}