[Fusionforge-commits] r18272 - trunk/src/common/include

Marc-Etienne VARGENAU vargenau at fusionforge.org
Mon Oct 21 10:54:55 CEST 2013


Author: vargenau
Date: 2013-10-21 10:54:55 +0200 (Mon, 21 Oct 2013)
New Revision: 18272

Modified:
   trunk/src/common/include/extras-debug.php
Log:
Whitespace

Modified: trunk/src/common/include/extras-debug.php
===================================================================
--- trunk/src/common/include/extras-debug.php	2013-10-21 08:53:59 UTC (rev 18271)
+++ trunk/src/common/include/extras-debug.php	2013-10-21 08:54:55 UTC (rev 18272)
@@ -56,7 +56,7 @@
 
 	$msg = "[$errno] $errstr ($errfile at $errline)";
 
-	// display messages only once
+	// Display messages only once.
 	foreach ($ffErrors as $m) {
 		if ($m['message'] == $msg) {
 			return true;
@@ -64,30 +64,30 @@
 	}
 
 	switch ($errno) {
-	case E_USER_ERROR:
-	case E_ERROR:
-		$type = 'error';
-		break;
+		case E_USER_ERROR:
+		case E_ERROR:
+			$type = 'error';
+			break;
 
-	case E_USER_WARNING:
-	case E_WARNING:
-		$type = 'warning';
-		break;
+		case E_USER_WARNING:
+		case E_WARNING:
+			$type = 'warning';
+			break;
 
-	case E_USER_NOTICE:
-	case E_NOTICE:
-		$type = 'notice';
-		break;
+		case E_USER_NOTICE:
+		case E_NOTICE:
+			$type = 'notice';
+			break;
 
-	case E_STRICT:
-	case E_USER_DEPRECATED:
-	case E_DEPRECATED:
-		$type = "strict";
-		break;
+		case E_STRICT:
+		case E_USER_DEPRECATED:
+		case E_DEPRECATED:
+			$type = "strict";
+			break;
 
-	default:
-		$type = 'unknown';
-		break;
+		default:
+			$type = 'unknown';
+			break;
 	}
 
 	if (forge_get_config('sysdebug_backtraces')) {
@@ -98,8 +98,8 @@
 
 	$ffErrors[] = array(
 		'type' => $type,
-		'message' => $msg,
-	    );
+		'message' => $msg
+	);
 	/* Don't execute PHP internal error handler */
 	return true;
 }




More information about the Fusionforge-commits mailing list