Passed
Pull Request — development (#3766)
by Elk
06:51
created
themes/default/Emailuser.template.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,13 @@
 block discarded – undo
19 19
 {
20 20
 	global $context, $txt;
21 21
 
22
-	 if (empty($context['sub_template'])) {
22
+	 if (empty($context['sub_template']))
23
+	 {
23 24
 		 return;
24 25
 	 }
25 26
 
26
-	 if ($context['sub_template'] !== 'report') {
27
+	 if ($context['sub_template'] !== 'report')
28
+	 {
27 29
 		 return;
28 30
 	 }
29 31
 
Please login to merge, or discard this patch.
sources/ElkArte/Controller/Giphy.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,10 +159,10 @@  discard block
 block discarded – undo
159 159
 			return $this->sendResults([], []);
160 160
 		}
161 161
 
162
-		$images =  $this->prepareImageResults($result);
162
+		$images = $this->prepareImageResults($result);
163 163
 		$result['pagination']['limit'] = $this->config['limit'];
164 164
 
165
-		return $this->sendResults($images,$result);
165
+		return $this->sendResults($images, $result);
166 166
 	}
167 167
 
168 168
 	/**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	{
203 203
 		$result = [];
204 204
 		$params = ['api_key' => $this->apiKey] + $params;
205
-		$path .= '?' . http_build_query($params, '','&');
205
+		$path .= '?' . http_build_query($params, '', '&');
206 206
 
207 207
 		require_once(SUBSDIR . '/Package.subs.php');
208 208
 		$body = fetch_web_data($this->baseApiUrl . $path);
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
@@ -482,7 +482,7 @@
 block discarded – undo
482 482
 		global $context;
483 483
 
484 484
 		$total = 0;
485
-		foreach($context['likes'] as $item) {
485
+		foreach ($context['likes'] as $item) {
486 486
 			$total += $item['count'];
487 487
 		}
488 488
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -482,7 +482,8 @@
 block discarded – undo
482 482
 		global $context;
483 483
 
484 484
 		$total = 0;
485
-		foreach($context['likes'] as $item) {
485
+		foreach($context['likes'] as $item)
486
+		{
486 487
 			$total += $item['count'];
487 488
 		}
488 489
 
Please login to merge, or discard this patch.