Passed
Push — development ( b773b4...471a27 )
by Spuds
01:20 queued 21s
created
sources/Security.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1730,10 +1730,13 @@
 block discarded – undo
1730 1730
 		if ($result[0] === 127 // Valid Response
1731 1731
 			&& ($result[3] & 3 || $result[3] & 5) // Listed as Suspicious + Harvester || Suspicious + Comment Spammer
1732 1732
 			&& $result[2] >= $modSettings['badbehavior_httpbl_threat'] // Level
1733
-			&& $result[1] <= $modSettings['badbehavior_httpbl_maxage']) // Age
1733
+			&& $result[1] <= $modSettings['badbehavior_httpbl_maxage'])
1734
+		{
1735
+			// Age
1734 1736
 		{
1735 1737
 			return true;
1736 1738
 		}
1739
+		}
1737 1740
 	}
1738 1741
 
1739 1742
 	return false;
Please login to merge, or discard this patch.
sources/subs/PaidSubscriptions.subs.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1377,11 +1377,13 @@
 block discarded – undo
1377 1377
 		{
1378 1378
 			// If we revert to the old id-group we need to ensure it wasn't from a subscription.
1379 1379
 			foreach ($context['subscriptions'] as $id => $group)
1380
-				// It was? Make them a regular member then!
1380
+			{
1381
+							// It was? Make them a regular member then!
1381 1382
 			{
1382 1383
 				if ($group['prim_group'] == $member['id_group'])
1383 1384
 				{
1384 1385
 					$member['id_group'] = 0;
1386
+			}
1385 1387
 				}
1386 1388
 			}
1387 1389
 
Please login to merge, or discard this patch.
sources/subs/Post.subs.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -735,10 +735,12 @@
 block discarded – undo
735 735
 		}
736 736
 		// If this is being unapproved, and it's equal to the id_last_msg we need to find a new one!
737 737
 		elseif (!$approve)
738
-			// Default to the first message and then we'll override in a bit ;)
738
+		{
739
+					// Default to the first message and then we'll override in a bit ;)
739 740
 		{
740 741
 			$topic_changes[$row['id_topic']]['id_last_msg'] = $row['id_first_msg'];
741 742
 		}
743
+		}
742 744
 
743 745
 		$topic_changes[$row['id_topic']]['unapproved_posts'] += $approve ? -1 : 1;
744 746
 		$board_changes[$row['id_board']]['unapproved_posts'] += $approve ? -1 : 1;
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManageFeatures.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -306,8 +306,7 @@
 block discarded – undo
306 306
 					class_exists($modSettings['front_page'])
307 307
 					&& in_array('validateFrontPageOptions', get_class_methods($modSettings['front_page']))
308 308
 					&& !$front_page::validateFrontPageOptions($this->_req->post)
309
-				)
310
-				{
309
+				) {
311 310
 					$this->_req->post->front_page = '';
312 311
 				}
313 312
 			}
Please login to merge, or discard this patch.
themes/index.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,6 @@
 block discarded – undo
12 12
 	header('Location: ' . $boardurl);
13 13
 }
14 14
 // Can't find it... just forget it.
15
-else
15
+else {
16 16
 	exit;
17
+}
Please login to merge, or discard this patch.
themes/default/css/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/images/post/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.
ssi_examples.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 			</li>
136 136
 		</ul>
137 137
 		<?php if (User::$info->is_admin)
138
-		{
138
+{
139 139
 			?>
140 140
 			<h3>Advanced Functions <i class="helpicon i-help" title="Functions that require additional tweaking, not just copy and paste."></i></h3>
141 141
 			<ul>
@@ -949,10 +949,12 @@  discard block
 block discarded – undo
949 949
 	$topics = ssi_recentTopics(8, null, null, 'array');
950 950
 
951 951
 	foreach ($topics as $topic)
952
-		echo '
952
+	{
953
+			echo '
953 954
 			<li>
954 955
 				<a href="', $topic['href'], '">', $topic['subject'], '</a> ', $txt['by'], ' ', $topic['poster']['link'], '
955 956
 			</li>';
957
+	}
956 958
 
957 959
 	unset($topics);
958 960
 
Please login to merge, or discard this patch.
themes/default/css/_light/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.