From 308efb603344e7adf57d0f55eae17ea28c34f966 Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Wed, 3 Dec 2014 12:33:38 +0000 Subject: [PATCH] Fixing CS errors in bootstrap.php --- bootstrap.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 112efad4..c2f9c69b 100755 --- a/bootstrap.php +++ b/bootstrap.php @@ -30,12 +30,18 @@ if (!file_exists($configFile)) { // If we don't have a config file at all, fail at this point and tell the user to install: if (!file_exists($configFile) && (!defined('PHPCI_IS_CONSOLE') || !PHPCI_IS_CONSOLE)) { - die('PHPCI has not yet been installed - Please use the command "./console phpci:install" (or "php ./console phpci:install" for Windows) to install it.'); + $message = 'PHPCI has not yet been installed - Please use the command "./console phpci:install" '; + $message .= '(or "php ./console phpci:install" for Windows) to install it.'; + + die($message); } // If composer has not been run, fail at this point and tell the user to install: if (!file_exists(dirname(__FILE__) . '/vendor/autoload.php') && defined('PHPCI_IS_CONSOLE') && PHPCI_IS_CONSOLE) { - file_put_contents('php://stderr', 'Please install PHPCI with "composer install" (or "php composer.phar install" for Windows) before using console'); + $message = 'Please install PHPCI with "composer install" (or "php composer.phar install"'; + $message .= ' for Windows) before using console'; + + file_put_contents('php://stderr', $message); exit(1); }