chore: fix command output

This commit is contained in:
James Cole
2023-06-03 17:18:04 +02:00
parent 0aa6d5b322
commit 88b294d873
18 changed files with 18 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ class AccountCurrencies extends Command
{ {
$this->stupidLaravel(); $this->stupidLaravel();
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -57,7 +57,7 @@ class AppendBudgetLimitPeriods extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -68,7 +68,7 @@ class BackToJournals extends Command
$this->error('Please run firefly-iii:migrate-to-groups first.'); $this->error('Please run firefly-iii:migrate-to-groups first.');
} }
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -59,7 +59,7 @@ class BudgetLimitCurrency extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -53,7 +53,7 @@ class CCLiabilities extends Command
$start = microtime(true); $start = microtime(true);
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -62,7 +62,7 @@ class MigrateAttachments extends Command
{ {
$start = microtime(true); $start = microtime(true);
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -63,7 +63,7 @@ class MigrateJournalNotes extends Command
$start = microtime(true); $start = microtime(true);
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -64,7 +64,7 @@ class MigrateRecurrenceMeta extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -62,7 +62,7 @@ class MigrateRecurrenceType extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -61,7 +61,7 @@ class MigrateTagLocations extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -79,7 +79,7 @@ class MigrateToRules extends Command
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -66,7 +66,7 @@ class OtherCurrenciesCorrections extends Command
$this->stupidLaravel(); $this->stupidLaravel();
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -59,7 +59,7 @@ class RenameAccountMeta extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -64,7 +64,7 @@ class TransactionIdentifier extends Command
$this->stupidLaravel(); $this->stupidLaravel();
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -66,7 +66,7 @@ class TransferCurrenciesCorrections extends Command
$this->stupidLaravel(); $this->stupidLaravel();
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -57,7 +57,7 @@ class UpgradeLiabilities extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -59,7 +59,7 @@ class UpgradeLiabilitiesEight extends Command
public function handle(): int public function handle(): int
{ {
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }

View File

@@ -33,7 +33,7 @@ class UpgradeSkeleton extends Command
{ {
$start = microtime(true); $start = microtime(true);
if ($this->isExecuted() && true !== $this->option('force')) { 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; return 0;
} }