INFRA-132 - Put "else" and "catch" on new line
[civicrm-core.git] / tests / phpunit / CiviTest / bootstrap.php
index f32f6a4e82865b06e139dde8ae2eec9f5ecea849..31920cc104ba5fb930178602ba25dd46bf8a5000 100644 (file)
@@ -14,20 +14,20 @@ ini_set('include_path',
 #  Relying on system timezone setting produces a warning,
 #  doing the following prevents the warning message
 if ( file_exists( '/etc/timezone' ) ) {
-    $timezone = trim( file_get_contents( '/etc/timezone' ) );
-    if ( ini_set('date.timezone', $timezone ) === false ) {
-        echo "ini_set( 'date.timezone', '$timezone' ) failed\n";
-    }
+  $timezone = trim( file_get_contents( '/etc/timezone' ) );
+  if ( ini_set('date.timezone', $timezone ) === FALSE ) {
+    echo "ini_set( 'date.timezone', '$timezone' ) failed\n";
+  }
 }
 
 # Crank up the memory
 ini_set('memory_limit', '2G');
 
-require_once $GLOBALS['base_dir'] . '/packages/vendor/autoload.php';
+require_once $GLOBALS['base_dir'] . '/vendor/autoload.php';
 
 /*
 require $GLOBALS['base_dir'] . DIRECTORY_SEPARATOR .
         'packages' . DIRECTORY_SEPARATOR .
         'PHPUnit' . DIRECTORY_SEPARATOR .
         'Autoload.php';
-*/
\ No newline at end of file
+*/