]> git.mxchange.org Git - core.git/blobdiff - application/tests/exceptions.php
Continued rewriting:
[core.git] / application / tests / exceptions.php
index 1c3c2c4737d335a04cd951afea65d5b5aa1a9406..ea239eb594953aeb6cf3f8bfe2293ae4836192fc 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Import framework stuff
+use CoreFramework\Object\BaseFrameworkSystem;
+
 /**
  * An include file for setting up the exception handler of test suite
  *
@@ -87,7 +90,7 @@ Backtrace:
                // Invalid exception instance detected! Do *only* throw exceptions that
                // extends our own exception 'FrameworkException' to get such nice
                // outputs like above.
-               print('exceptionInstance[]=' . gettype($exceptionInstance) . ' is invalid! Please inform the core developer team.');
+               print('exceptionInstance[]=' . gettype($exceptionInstance) . ' is invalid! Please inform the core developer team.' . PHP_EOL);
        }
 }
 
@@ -138,6 +141,3 @@ assert_options(ASSERT_WARNING   , FALSE);
 assert_options(ASSERT_BAIL      , TRUE);
 assert_options(ASSERT_QUIET_EVAL, FALSE);
 assert_options(ASSERT_CALLBACK  , '__assertHandler');
-
-// [EOF]
-?>