Completed
Push — release-2.1 ( a15cd1...d4d8de )
by Jeremy
30s queued 22s
created
Sources/Subs-Charset.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2917,7 +2917,7 @@  discard block
 block discarded – undo
2917 2917
 	$string = preg_split('/(.)/su', $string, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
2918 2918
 
2919 2919
 	// Replace characters with decomposed forms.
2920
-	for ($i=0; $i < count($string); $i++)
2920
+	for ($i = 0; $i < count($string); $i++)
2921 2921
 	{
2922 2922
 		// Hangul characters.
2923 2923
 		if ($string[$i] >= "\xEA\xB0\x80" && $string[$i] <= "\xED\x9E\xA3")
@@ -2951,7 +2951,7 @@  discard block
 block discarded – undo
2951 2951
 		{
2952 2952
 			$temp = $string[$i];
2953 2953
 			$string[$i] = $string[$i - 1];
2954
-			$string[$i -1] = $temp;
2954
+			$string[$i - 1] = $temp;
2955 2955
 
2956 2956
 			// Backtrack and check again.
2957 2957
 			if ($i > 1)
Please login to merge, or discard this patch.
Sources/Subs-Compat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
 			if (!function_exists('mb_encode_numericentity'))
223 223
 				return false;
224 224
 
225
-			$entity = mb_encode_numericentity($string, array(0x0,0x10FFFF,0x0,0xFFFFFF), $encoding);
225
+			$entity = mb_encode_numericentity($string, array(0x0, 0x10FFFF, 0x0, 0xFFFFFF), $encoding);
226 226
 
227 227
 			if (strpos($entity, '&#') !== 0)
228 228
 				return false;
Please login to merge, or discard this patch.
other/install.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 				return false;
91 91
 		},
92 92
 		'utf8_version' => '8.0',
93
-		'utf8_version_check' => function (){
93
+		'utf8_version_check' => function() {
94 94
 			$request = pg_query('SELECT version()');
95 95
 			list ($version) = pg_fetch_row($request);
96 96
 			list($pgl, $version) = explode(' ', $version);
@@ -981,7 +981,7 @@  discard block
 block discarded – undo
981 981
 	$incontext['continue'] = 1;
982 982
 
983 983
 	// Check Postgres setting
984
-	if ( $db_type === 'postgresql')
984
+	if ($db_type === 'postgresql')
985 985
 	{
986 986
 		load_database();
987 987
 		$result = $smcFunc['db_query']('', '
Please login to merge, or discard this patch.