Skip to content

Commit 36ac45b

Browse files
Merge pull request #98 from TheDragonCode/3.x
Update output styles
2 parents 25353ca + 989004f commit 36ac45b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/Notifications/Basic.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public function task(string $description, Closure $task): void
4242

4343
public function twoColumn(string $first, string $second): void
4444
{
45-
$this->info($first . ' .......... ' . $second);
45+
$divider = str_pad('', 20, '.');
46+
47+
$this->info($first . ' ' . $divider . ' ' . $second);
4648
}
4749
}

src/Services/Migrator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
class Migrator
2121
{
2222
public function __construct(
23-
protected File $file,
24-
protected Notification $notification,
23+
protected File $file,
24+
protected Notification $notification,
2525
protected ActionRepository $repository,
26-
protected Config $config,
27-
protected Application $laravel
26+
protected Config $config,
27+
protected Application $laravel
2828
) {
2929
}
3030

@@ -62,7 +62,7 @@ public function runUp(string $filename, int $batch, Options $options): void
6262
return;
6363
}
6464

65-
$this->notification->twoColumn($name, 'SKIP');
65+
$this->notification->twoColumn($name, '<fg=yellow;options=bold>SKIPPED</>');
6666
}
6767

6868
public function runDown(string $filename, Options $options): void

0 commit comments

Comments
 (0)