Skip to content

Commit 2bb56eb

Browse files
committed
Unifying output styles
1 parent dec8fe8 commit 2bb56eb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

app/commands/Syntax/DatabaseCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,20 @@ public function fire()
5353
// Set up a migration location artisan can use
5454
$migrationLocation = str_replace(base_path() .'/', '', $syntaxDirectory . $migrationDirectory);
5555

56-
$this->info('Running '. $package .' migrations...');
56+
$this->comment('Running '. $package .' migrations...');
5757

5858
// Run the migrations
5959
Artisan::call('migrate', array('--path' => $migrationLocation), new StreamOutput($stream));
6060

61-
$this->info(ucwords($package) .' migrations complete!');
61+
$this->comment(ucwords($package) .' migrations complete!');
6262
}
6363

6464
// Handle the seeds
6565
if (File::exists($syntaxDirectory . $seedDirectory)) {
6666
$seeds = File::files($syntaxDirectory . $seedDirectory);
6767

6868
if (count($seeds) > 0) {
69-
$this->info('Running '. $package .' seeds...');
69+
$this->comment('Running '. $package .' seeds...');
7070

7171
foreach ($seeds as $seed) {
7272
$seeder = explode('/', $seed);
@@ -85,11 +85,11 @@ public function fire()
8585
$newSeed->name = $seeder;
8686
$newSeed->save();
8787

88-
$this->info(ucwords($package) .' '. $seeder .' seeded!');
88+
$this->comment(ucwords($package) .' '. $seeder .' seeded!');
8989
}
9090
}
9191

92-
$this->info(ucwords($package) .' seeds complete!');
92+
$this->comment(ucwords($package) .' seeds complete!');
9393
}
9494
}
9595
}

app/commands/Syntax/GulpCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public function fire()
4242
$ignoredFiles = file(base_path('.gitignore'));
4343

4444
if (!in_array('/node_modules', $ignoredFiles)) {
45-
$this->info('Adding node_modules directory to .gitignore');
45+
$this->comment('Adding node_modules directory to .gitignore');
4646
File::append(base_path('.gitignore'), "/node_modules");
4747
}
4848

49-
$this->info('Adding all the gulp plugins...');
49+
$this->comment('Adding all the gulp plugins...');
5050
$rootDirectory = Config::get('remote.connections.default.root');
5151

5252
$commands = [
@@ -58,7 +58,7 @@ public function fire()
5858
echo $line.PHP_EOL;
5959
});
6060

61-
$this->info('Finished adding gulp plugins.');
61+
$this->comment('Finished adding gulp plugins.');
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)