Passed
Push — development ( e6e944...f737f3 )
by Spuds
01:21 queued 34s
created
sources/subs/Poll.subs.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 			'not_guest' => 0,
314 314
 		)
315 315
 	)->fetch_callback(
316
-		function ($row) use (&$pollOptions) {
316
+		function($row) use (&$pollOptions) {
317 317
 			$row['label'] = censor($row['label']);
318 318
 			$pollOptions[$row['id_choice']] = $row;
319 319
 		}
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 			'id_poll' => $id_poll,
345 345
 		)
346 346
 	)->fetch_callback(
347
-		function ($row) use (&$pollOptions) {
347
+		function($row) use (&$pollOptions) {
348 348
 			$row['label'] = censor($row['label']);
349 349
 			$pollOptions[$row['id_choice']] = $row;
350 350
 		}
@@ -727,7 +727,7 @@  discard block
 block discarded – undo
727 727
 			'id_poll' => $id_poll,
728 728
 		)
729 729
 	)->fetch_callback(
730
-		function ($row) use (&$pollOptions) {
730
+		function($row) use (&$pollOptions) {
731 731
 			if (isset($row['id_choice']))
732 732
 			{
733 733
 				$pollOptions[] = $row['id_choice'];
@@ -795,7 +795,7 @@  discard block
 block discarded – undo
795 795
 			'id_poll' => $id_poll,
796 796
 		)
797 797
 	)->fetch_callback(
798
-		function ($row) use (&$choices, &$number) {
798
+		function($row) use (&$choices, &$number) {
799 799
 			$row['label'] = censor($row['label']);
800 800
 			$choices[$row['id_choice']] = array(
801 801
 				'id' => $row['id_choice'],
Please login to merge, or discard this patch.
sources/ElkArte/MetadataIntegrate.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -487,7 +487,7 @@
 block discarded – undo
487 487
 			return $total;
488 488
 		}
489 489
 
490
-		foreach($context['likes'] as $item) {
490
+		foreach ($context['likes'] as $item) {
491 491
 			$total += $item['count'];
492 492
 		}
493 493
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -487,7 +487,8 @@
 block discarded – undo
487 487
 			return $total;
488 488
 		}
489 489
 
490
-		foreach($context['likes'] as $item) {
490
+		foreach($context['likes'] as $item)
491
+		{
491 492
 			$total += $item['count'];
492 493
 		}
493 494
 
Please login to merge, or discard this patch.
themes/default/css/_gold/index.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@
 block discarded – undo
2 2
 
3 3
 // Try to handle it with the upper level index.php. (it should know what to do.)
4 4
 if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
5
+{
5 6
 	include (dirname(dirname(__FILE__)) . '/index.php');
6
-else
7
-	exit;
8 7
\ No newline at end of file
8
+}
9
+else {
10
+	exit;
11
+}
Please login to merge, or discard this patch.
themes/default/css/_blue/index.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@
 block discarded – undo
2 2
 
3 3
 // Try to handle it with the upper level index.php. (it should know what to do.)
4 4
 if (file_exists(dirname(dirname(__FILE__)) . '/index.php'))
5
+{
5 6
 	include (dirname(dirname(__FILE__)) . '/index.php');
6
-else
7
-	exit;
8 7
\ No newline at end of file
8
+}
9
+else {
10
+	exit;
11
+}
Please login to merge, or discard this patch.