Passed
Push — development ( b93807...dda237 )
by Emanuele
01:10 queued 23s
created
sources/ElkArte/AdminController/PackageServers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -678,7 +678,7 @@  discard block
 block discarded – undo
678 678
 			$context['package']['install']['link'] = '';
679 679
 		}
680 680
 
681
-		$context['package']['list_files']['link'] = '<a class="linkbutton" href="' .getUrl('admin', ['action' => 'admin', 'area' => 'packages', 'sa' => 'list', 'package' => $context['package']['filename']]) . '">' . $txt['list_files'] . '</a>';
681
+		$context['package']['list_files']['link'] = '<a class="linkbutton" href="' . getUrl('admin', ['action' => 'admin', 'area' => 'packages', 'sa' => 'list', 'package' => $context['package']['filename']]) . '">' . $txt['list_files'] . '</a>';
682 682
 
683 683
 		// Free a little bit of memory...
684 684
 		unset($context['package']['xml']);
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
 		}
791 791
 		elseif ($context['package']['type'] === 'avatar')
792 792
 		{
793
-			$context['package']['install']['link'] = '<a class="linkbutton" href="' .getUrl('admin', ['action' => 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['use_avatars'] . '</a>';
793
+			$context['package']['install']['link'] = '<a class="linkbutton" href="' . getUrl('admin', ['action' => 'admin', 'area' => 'packages', 'sa' => 'install', 'package' => $context['package']['filename']]) . '">' . $txt['use_avatars'] . '</a>';
794 794
 		}
795 795
 		elseif ($context['package']['type'] === 'language')
796 796
 		{
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManageScheduledTasks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@
 block discarded – undo
381 381
 			'items_per_page' => 30,
382 382
 			'title' => $txt['scheduled_log'],
383 383
 			'no_items_label' => $txt['scheduled_log_empty'],
384
-			'base_href' => $context['admin_area'] === 'scheduledtasks' ? getUrl('admin', ['action' => 'admin', 'area' => 'scheduledtasks', 'sa' => 'tasklog']) :getUrl('admin', ['action' => 'admin', 'area' => 'logs', 'sa' => 'tasklog']),
384
+			'base_href' => $context['admin_area'] === 'scheduledtasks' ? getUrl('admin', ['action' => 'admin', 'area' => 'scheduledtasks', 'sa' => 'tasklog']) : getUrl('admin', ['action' => 'admin', 'area' => 'logs', 'sa' => 'tasklog']),
385 385
 			'default_sort_col' => 'date',
386 386
 			'get_items' => array(
387 387
 				'function' => function ($start, $items_per_page, $sort) {
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManageMembers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -537,7 +537,7 @@
 block discarded – undo
537 537
 					),
538 538
 					'data' => array(
539 539
 						'sprintf' => array(
540
-							'format' => '<a href="' . getUrl('action', ['action' => 'trackip', 'searchip' => '%1$s']) .'">%1$s</a>',
540
+							'format' => '<a href="' . getUrl('action', ['action' => 'trackip', 'searchip' => '%1$s']) . '">%1$s</a>',
541 541
 							'params' => array(
542 542
 								'member_ip' => false,
543 543
 							),
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManagePermissions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@
 block discarded – undo
313 313
 
314 314
 							if ($rowData['id_group'] != 1)
315 315
 							{
316
-								return '<a href="' . getUrl('action', ['action' => 'admin', 'area' => 'permissions', 'sa' => 'modify', 'group' => $rowData['id_group']] +  (isset($this->_pid) ? ['pid' => $this->_pid] : [])) . '">' . $txt['membergroups_modify'] . '</a>';
316
+								return '<a href="' . getUrl('action', ['action' => 'admin', 'area' => 'permissions', 'sa' => 'modify', 'group' => $rowData['id_group']] + (isset($this->_pid) ? ['pid' => $this->_pid] : [])) . '">' . $txt['membergroups_modify'] . '</a>';
317 317
 							}
318 318
 
319 319
 							return '';
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManageSmileys.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1503,7 +1503,7 @@
 block discarded – undo
1503 1503
 					),
1504 1504
 					'data' => array(
1505 1505
 						'sprintf' => array(
1506
-							'format' => '<a href="' .getUrl('admin', ['action' => 'admin', 'area' => 'smileys', 'sa' => 'editicon', 'icon' => '%1$s']) .'">' . $txt['smileys_modify'] . '</a>',
1506
+							'format' => '<a href="' . getUrl('admin', ['action' => 'admin', 'area' => 'smileys', 'sa' => 'editicon', 'icon' => '%1$s']) . '">' . $txt['smileys_modify'] . '</a>',
1507 1507
 							'params' => array(
1508 1508
 								'id' => false,
1509 1509
 							),
Please login to merge, or discard this patch.
themes/default/Help.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
 	echo '
65 65
 					</ul>
66
-					<p>', sprintf($txt['manual_docs_and_credits'], $context['wiki_url'], getUrl('action',['action' => 'who', 'sa' => 'credits'])), '</p>
66
+					<p>', sprintf($txt['manual_docs_and_credits'], $context['wiki_url'], getUrl('action', ['action' => 'who', 'sa' => 'credits'])), '</p>
67 67
 				</div>
68 68
 			</div>';
69 69
 }
Please login to merge, or discard this patch.
themes/default/ProfileOptions.template.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
 
223 223
 	// Add to the ignore list?
224 224
 	echo '
225
-	<form action="', getUrl('action', ['action' => 'profile', 'u' => $context['id_member'], 'area' => 'lists', 'sa' => 'ignore']). '" method="post" accept-charset="UTF-8">
225
+	<form action="', getUrl('action', ['action' => 'profile', 'u' => $context['id_member'], 'area' => 'lists', 'sa' => 'ignore']) . '" method="post" accept-charset="UTF-8">
226 226
 		<div class="add_buddy">
227 227
 			<h2 class="category_header">', $txt['ignore_add'], '</h2>
228 228
 			<div class="well">
Please login to merge, or discard this patch.
themes/default/GenericControls.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 					resizeWidth: false,
52 52
 					resizeMaxHeight: -1,
53 53
 					emoticonsCompat: true,
54
-					emoticonsEnabled: ', $useSmileys ? 'true' : 'false',  ',
54
+					emoticonsEnabled: ', $useSmileys ? 'true' : 'false', ',
55 55
 					locale: "', !empty($editor_context['locale']) ? $editor_context['locale'] : 'en_US', '",
56 56
 					rtl: ', empty($context['right_to_left']) ? 'false' : 'true', ',
57 57
 					colors: "black,red,yellow,pink,green,orange,purple,blue,beige,brown,teal,navy,maroon,limegreen,white",
Please login to merge, or discard this patch.
sources/ElkArte/Search/SearchParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -549,7 +549,7 @@
 block discarded – undo
549 549
 	 */
550 550
 	public function setSortAndDirection($params)
551 551
 	{
552
-		$sort_columns = ['relevance', 'num_replies', 'id_msg',];
552
+		$sort_columns = ['relevance', 'num_replies', 'id_msg', ];
553 553
 
554 554
 		// Allow integration to add additional sort columns
555 555
 		call_integration_hook('integrate_search_sort_columns', array(&$sort_columns));
Please login to merge, or discard this patch.