Passed
Push — development ( fe7938...2d06b1 )
by Spuds
01:21 queued 27s
created
sources/ElkArte/Search/API/Custom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 		// We can't do anything without this
138 138
 		$db_search = db_search();
139 139
 
140
-		$query_select = ['id_msg' => 'm.id_msg',];
140
+		$query_select = ['id_msg' => 'm.id_msg', ];
141 141
 		$query_inner_join = [];
142 142
 		$query_left_join = [];
143 143
 		$query_where = [];
Please login to merge, or discard this patch.
sources/ElkArte/Search/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
 				'no_member' => 0,
316 316
 			]
317 317
 		)->fetch_callback(
318
-			static function ($row) use (&$posters) {
318
+			static function($row) use (&$posters) {
319 319
 				$posters[] = (int) $row['id_member'];
320 320
 			}
321 321
 		);
Please login to merge, or discard this patch.
sources/ElkArte/Search/SearchParams.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
 		// Test for gzuncompress failing, our ErrorException will die on any E_WARNING with no
90 90
 		// Exception, so turn it off/on for this check.
91
-		set_error_handler(static function () { /* ignore errors */ });
91
+		set_error_handler(static function() { /* ignore errors */ });
92 92
 		try
93 93
 		{
94 94
 			$check = gzuncompress($temp_params);
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 
128 128
 		// Due to some potential browser/server limitations, attempt to compress
129 129
 		// old IE's 2083 character limit, we have to compress long search
130
-		set_error_handler(static function () { /* ignore errors */ });
130
+		set_error_handler(static function() { /* ignore errors */ });
131 131
 		try
132 132
 		{
133 133
 			$compressed = gzcompress($encoded);
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
 	 */
558 558
 	public function setSortAndDirection($params)
559 559
 	{
560
-		$sort_columns = ['relevance', 'num_replies', 'id_msg',];
560
+		$sort_columns = ['relevance', 'num_replies', 'id_msg', ];
561 561
 
562 562
 		// Allow integration to add additional sort columns
563 563
 		call_integration_hook('integrate_search_sort_columns', [&$sort_columns]);
Please login to merge, or discard this patch.