Passed
Push — release-2.1 ( 7401ba...5d05c6 )
by Mathias
08:16 queued 14s
created
other/upgrade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1092,7 +1092,7 @@
 block discarded – undo
1092 1092
 	// PHP currently has a terrible handling with unserialize in which errors are fatal and not catchable.  Lets borrow some code from the RFC that intends to fix this
1093 1093
 	// https://wiki.php.net/rfc/improve_unserialize_error_handling
1094 1094
 	try {
1095
-    	set_error_handler(static function ($severity, $message, $file, $line) {
1095
+		set_error_handler(static function ($severity, $message, $file, $line) {
1096 1096
 			throw new \ErrorException($message, 0, $severity, $file, $line);
1097 1097
 		});
1098 1098
 		$ser_test = @unserialize($modSettings['attachmentUploadDir']);
Please login to merge, or discard this patch.