mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Applied fixes from StyleCI
This commit is contained in:
@@ -10,21 +10,17 @@
|
||||
|
||||
namespace Flarum\Install\Console;
|
||||
|
||||
use Exception;
|
||||
use Flarum\Console\Command\AbstractCommand;
|
||||
use Flarum\Database\AbstractModel;
|
||||
use Flarum\Core\User;
|
||||
use Flarum\Core\Group;
|
||||
use Flarum\Core\Permission;
|
||||
use Flarum\Core\User;
|
||||
use Flarum\Database\AbstractModel;
|
||||
use Illuminate\Contracts\Foundation\Application;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Validation\Factory;
|
||||
use PDO;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Input\InputArgument;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Exception;
|
||||
|
||||
class InstallCommand extends AbstractCommand
|
||||
{
|
||||
@@ -77,7 +73,7 @@ class InstallCommand extends AbstractCommand
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function fire()
|
||||
{
|
||||
@@ -238,7 +234,7 @@ class InstallCommand extends AbstractCommand
|
||||
$migrator = $this->application->make('Flarum\Database\Migrator');
|
||||
$migrator->getRepository()->createRepository();
|
||||
|
||||
$migrator->run(__DIR__ . '/../../../migrations');
|
||||
$migrator->run(__DIR__.'/../../../migrations');
|
||||
|
||||
foreach ($migrator->getNotes() as $note) {
|
||||
$this->info($note);
|
||||
@@ -393,7 +389,7 @@ class InstallCommand extends AbstractCommand
|
||||
$this->info($error['message']);
|
||||
|
||||
if (isset($error['detail'])) {
|
||||
$this->output->writeln('<comment>' . $error['detail'] . '</comment>');
|
||||
$this->output->writeln('<comment>'.$error['detail'].'</comment>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user