From afe4936b8a55f38736e1af5191a964a926d7255a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 18 May 2017 22:54:40 +0200 Subject: [PATCH] opps MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- application/tests/exceptions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/tests/exceptions.php b/application/tests/exceptions.php index ed824148..3d91a741 100644 --- a/application/tests/exceptions.php +++ b/application/tests/exceptions.php @@ -101,7 +101,7 @@ Backtrace: } // Error handler -function test_error_handler ($errno, $errstr, $errfile, $errline, array $errcontext) { +function tests_error_handler ($errno, $errstr, $errfile, $errline, array $errcontext) { // Construct the message $message = sprintf('File: %s, Line: %s, Code: %s, Message: %s', basename($errfile), @@ -115,7 +115,7 @@ function test_error_handler ($errno, $errstr, $errfile, $errline, array $errcont } // END - function // Assertion handler -function test_assert_handler ($file, $line, $code) { +function tests_assert_handler ($file, $line, $code) { // Empty code? if ($code === '') { $code = 'Unknown'; @@ -136,7 +136,7 @@ function test_assert_handler ($file, $line, $code) { } // END - function // Set error handler -//set_error_handler('test_error_handler'); +//set_error_handler('tests_error_handler'); // Set the new handler set_exception_handler('tests_exception_handler'); @@ -146,4 +146,4 @@ assert_options(ASSERT_ACTIVE , true); assert_options(ASSERT_WARNING , false); assert_options(ASSERT_BAIL , true); assert_options(ASSERT_QUIET_EVAL, false); -assert_options(ASSERT_CALLBACK , 'test_assert_handler'); +assert_options(ASSERT_CALLBACK , 'tests_assert_handler'); -- 2.30.2