Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-07 20:58:45 +00:00
parent e7c679405c
commit 16083484fd
330 changed files with 14915 additions and 14631 deletions

View File

@@ -46,12 +46,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 {
@@ -62,8 +62,8 @@ class InstallDB extends Command
$data = [
[
'user_name' => 'demo_admin',
'email' => '',
'password' => 'demopass',
'email' => '',
'password' => 'demopass',
],
];
$this->table($headers, $data);