From a91cafc79a39be76bdd800da52584743bdd74293 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 18 Jan 2018 11:26:29 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- _install/install_nntmux.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_install/install_nntmux.php b/_install/install_nntmux.php index 4946cc093..254a1650c 100644 --- a/_install/install_nntmux.php +++ b/_install/install_nntmux.php @@ -97,18 +97,16 @@ if (! $error) { ); $pdo->exec('SET FOREIGN_KEY_CHECKS=0;'); - try { $DbSetup->processSQLFile(); // Setup default schema ColorCLI::doEcho(ColorCLI::header('Migrating tables and populating them')); passthru('php '.NN_ROOT.'artisan migrate'); passthru('php '.NN_ROOT.'artisan db:seed'); - } catch (\RuntimeException $err){ + } catch (\RuntimeException $err) { $error = true; - ColorCLI::doEcho(ColorCLI::error('Error (' . $err->getMessage() . ')')); + ColorCLI::doEcho(ColorCLI::error('Error ('.$err->getMessage().')')); } - if (! $error) { // Check one of the standard tables was created and has data. $dbInstallWorked = false;