Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-03 08:26:59 +00:00
parent fd79c97a1d
commit 9d1a57f99d
236 changed files with 14774 additions and 14382 deletions

View File

@@ -45,12 +45,12 @@ class InstallDB extends Command
try {
if ($this->confirm('Do you want to migrate tables now?')) {
$env = base_path().DIRECTORY_SEPARATOR.'.env';
if (! is_file($env)) {
if (!is_file($env)) {
throw new \Exception("Please run 'php artisan install:faveo'");
}
$dummy_confirm = $this->confirm('Would you like to install dummy data in database to test before going live?');
$this->call('key:generate', ['--force' => true]);
if (! $dummy_confirm) {
if (!$dummy_confirm) {
$this->call('install:migrate');
$this->call('install:seed');
} else {
@@ -61,8 +61,8 @@ class InstallDB extends Command
$data = [
[
'user_name' => 'demo_admin',
'email' => '',
'password' => 'demopass',
'email' => '',
'password' => 'demopass',
],
];
$this->table($headers, $data);