]> git.mxchange.org Git - core.git/blobdiff - application/tests/exceptions.php
Continued:
[core.git] / application / tests / exceptions.php
index a336bb98e68c8d0d22afeac9d5b8bc64fad01e81..bdcf2cb596a4428e99388f89fe18b180efbadf88 100644 (file)
@@ -42,7 +42,7 @@ function tests_exception_handler ($exceptionInstance) {
                        // Convert arguments type into human-readable
                        foreach ($traceArray['args'] as $arg) {
                                $argsString .= ', ' . gettype($arg);
-                       } // END - foreach
+                       }
                        $argsString = substr($argsString, 2);
 
                        // Set missing file/line
@@ -64,7 +64,7 @@ Line   : %d\n",
                                basename($traceArray['file']),
                                $traceArray['line']
                        );
-               } // END - foreach
+               }
 
                // Construct the message
                $message = sprintf("--------------------------------------------------------------------------------
@@ -121,7 +121,7 @@ function tests_assert_handler (string $file, int $line, $code) {
        // Empty code?
        if ($code === '') {
                $code = '<em>Unknown</em>';
-       } // END - if
+       }
 
        // Create message
        $message = sprintf('File: %s, Line: %s, Code: %s',