Completed
Push — master ( dc4eb5...9c4b0f )
by Sam
02:39
created
bootstrap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,20 +12,20 @@
 block discarded – undo
12 12
 /**
13 13
  * Exception handling.
14 14
  */
15
-set_error_handler(function ($code, $message, $file, $line, $context) {
15
+set_error_handler(function($code, $message, $file, $line, $context) {
16 16
     throw new ErrorException($code, $message, $file, $line, $context);
17 17
 });
18
-set_exception_handler([ \App\App::class, 'exceptionHandler' ]);
18
+set_exception_handler([\App\App::class, 'exceptionHandler']);
19 19
 
20 20
 /**
21 21
  * Configuration file. When testing, the tests/config.php file is used.
22 22
  */
23
-if (substr(basename($_SERVER['PHP_SELF']), 0, 7)==='phpunit') {
23
+if (substr(basename($_SERVER['PHP_SELF']), 0, 7) === 'phpunit') {
24 24
     define('CONFIG_FILE', __DIR__ . '/tests/config.php');
25 25
 } else {
26 26
     define('CONFIG_FILE', __DIR__ . '/config.php');
27 27
 }
28 28
 if (!file_exists(CONFIG_FILE)) {
29
-    echo "Please copy <code>config.example.php</code> to <code>".CONFIG_FILE."</code> and edit the values therein";
29
+    echo "Please copy <code>config.example.php</code> to <code>" . CONFIG_FILE . "</code> and edit the values therein";
30 30
     exit(1);
31 31
 }
Please login to merge, or discard this patch.