mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 10:33:30 +00:00
chore: fix command output
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user