Test Failed
Push — 1.0.0-dev ( b5c6bf...f8836a )
by nguereza
04:02
created
tests/bootstrap.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	*
37 37
 	* you can place this directory outside of your web directory, for example "/home/your_app", etc.
38 38
 	*/
39
-	define('ROOT_PATH', dirname(realpath(__FILE__)) . DS .'..' . DS);
39
+	define('ROOT_PATH', dirname(realpath(__FILE__)) . DS . '..' . DS);
40 40
 	
41 41
 	
42 42
 	//tests dir path
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	/**
62 62
 	* Custom application path for tests 
63 63
 	*/
64
-	define('APPS_PATH', TESTS_PATH .'hmvc' . DS);
64
+	define('APPS_PATH', TESTS_PATH . 'hmvc' . DS);
65 65
 
66 66
 	/**
67 67
 	* The path to the controller directory of your application.
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	* It contains your modules used files (config, controllers, libraries, etc.) that is to say which contains your files of the modules, 
198 198
 	* in HMVC architecture (hierichical, controllers, models, views).
199 199
 	*/
200
-	define('MODULE_PATH', dirname(realpath(__FILE__)) . DS .'hmvc' . DS . 'modules' . DS);
200
+	define('MODULE_PATH', dirname(realpath(__FILE__)) . DS . 'hmvc' . DS . 'modules' . DS);
201 201
 
202 202
 	/**
203 203
 	* The path to the directory of sources external to your application.
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 	//Fix to allow test as if application is running in CLI mode $_SESSION global variable is not available
237 237
 	$_SESSION = array();
238 238
 	
239
-	if(! isset($_SERVER['REMOTE_ADDR'])){ 
239
+	if (!isset($_SERVER['REMOTE_ADDR'])) { 
240 240
 		$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
241 241
 	}
242 242
 
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 	require_once  'include/autoloader.php';
245 245
 	
246 246
 	//check for composer autoload file if exists include it
247
-	if(file_exists(VENDOR_PATH . 'autoload.php')){
247
+	if (file_exists(VENDOR_PATH . 'autoload.php')) {
248 248
 		require_once VENDOR_PATH . 'autoload.php';
249 249
 		
250 250
 		//define the class alias for vstream
Please login to merge, or discard this patch.