Completed
Push — master ( 355aa6...2cd73c )
by Greg
09:18
created
public/ckeditor-4.15.1-custom/samples/old/assets/posteddata.php 3 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -28,22 +28,22 @@
 block discarded – undo
28 28
 
29 29
 if (!empty($_POST))
30 30
 {
31
-	foreach ( $_POST as $key => $value )
32
-	{
33
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
34
-			continue;
31
+    foreach ( $_POST as $key => $value )
32
+    {
33
+        if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
34
+            continue;
35 35
 
36
-		if ( get_magic_quotes_gpc() )
37
-			$value = htmlspecialchars( stripslashes((string)$value) );
38
-		else
39
-			$value = htmlspecialchars( (string)$value );
36
+        if ( get_magic_quotes_gpc() )
37
+            $value = htmlspecialchars( stripslashes((string)$value) );
38
+        else
39
+            $value = htmlspecialchars( (string)$value );
40 40
 ?>
41 41
 		<tr>
42 42
 			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
43 43
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
44 44
 		</tr>
45 45
 	<?php
46
-	}
46
+    }
47 47
 }
48 48
 ?>
49 49
 	</table>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -28,18 +28,18 @@
 block discarded – undo
28 28
 
29 29
 if (!empty($_POST))
30 30
 {
31
-	foreach ( $_POST as $key => $value )
31
+	foreach ($_POST as $key => $value)
32 32
 	{
33
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
33
+		if ((!is_string($value) && !is_numeric($value)) || !is_string($key))
34 34
 			continue;
35 35
 
36
-		if ( get_magic_quotes_gpc() )
37
-			$value = htmlspecialchars( stripslashes((string)$value) );
36
+		if (get_magic_quotes_gpc())
37
+			$value = htmlspecialchars(stripslashes((string) $value));
38 38
 		else
39
-			$value = htmlspecialchars( (string)$value );
39
+			$value = htmlspecialchars((string) $value);
40 40
 ?>
41 41
 		<tr>
42
-			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
42
+			<th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th>
43 43
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
44 44
 		</tr>
45 45
 	<?php
Please login to merge, or discard this patch.
Braces   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -26,18 +26,18 @@
 block discarded – undo
26 26
 		</thead>
27 27
 <?php
28 28
 
29
-if (!empty($_POST))
30
-{
31
-	foreach ( $_POST as $key => $value )
32
-	{
33
-		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
34
-			continue;
29
+if (!empty($_POST)) {
30
+	foreach ( $_POST as $key => $value ) {
31
+		if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) {
32
+					continue;
33
+		}
35 34
 
36
-		if ( get_magic_quotes_gpc() )
37
-			$value = htmlspecialchars( stripslashes((string)$value) );
38
-		else
39
-			$value = htmlspecialchars( (string)$value );
40
-?>
35
+		if ( get_magic_quotes_gpc() ) {
36
+					$value = htmlspecialchars( stripslashes((string)$value) );
37
+		} else {
38
+					$value = htmlspecialchars( (string)$value );
39
+		}
40
+		?>
41 41
 		<tr>
42 42
 			<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
43 43
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
Please login to merge, or discard this patch.