@@ -280,7 +280,6 @@ discard block  | 
                                                    ||
| 280 | 280 |  		$condition = 'id_member IN ({array_int:members})'; | 
                                                        
| 281 | 281 | $parameters['members'] = $members;  | 
                                                        
| 282 | 282 | }  | 
                                                        
| 283 | -  | 
                                                        |
| 284 | 283 | elseif ($members === null)  | 
                                                        
| 285 | 284 | $condition = '1=1';  | 
                                                        
| 286 | 285 | |
@@ -383,11 +382,9 @@ discard block  | 
                                                    ||
| 383 | 382 | $val = $val . ' END';  | 
                                                        
| 384 | 383 | $type = 'raw';  | 
                                                        
| 385 | 384 | }  | 
                                                        
| 386 | -  | 
                                                        |
| 387 | 385 | else  | 
                                                        
| 388 | 386 | $val = alert_count($members, true);  | 
                                                        
| 389 | 387 | }  | 
                                                        
| 390 | -  | 
                                                        |
| 391 | 388 | elseif ($type == 'int' && ($val === '+' || $val === '-'))  | 
                                                        
| 392 | 389 |  		{ | 
                                                        
| 393 | 390 | $val = $var . ' ' . $val . ' 1';  | 
                                                        
@@ -2174,12 +2171,12 @@ discard block  | 
                                                    ||
| 2174 | 2171 | 'tag' => 'cowsay',  | 
                                                        
| 2175 | 2172 | 'parameters' => array(  | 
                                                        
| 2176 | 2173 |  				'e' => array('optional' => true, 'quoted' => true, 'match' => '(.*?)', 'default' => 'oo', 'validate' => function ($eyes) use ($smcFunc) | 
                                                        
| 2177 | -					{ | 
                                                        |
| 2174 | +				{ | 
                                                        |
| 2178 | 2175 | return $smcFunc['substr']($eyes . 'oo', 0, 2);  | 
                                                        
| 2179 | 2176 | },  | 
                                                        
| 2180 | 2177 | ),  | 
                                                        
| 2181 | 2178 |  				't' => array('optional' => true, 'quoted' => true, 'match' => '(.*?)', 'default' => '  ', 'validate' => function ($tongue) use ($smcFunc) | 
                                                        
| 2182 | -					{ | 
                                                        |
| 2179 | +				{ | 
                                                        |
| 2183 | 2180 | return $smcFunc['substr']($tongue . ' ', 0, 2);  | 
                                                        
| 2184 | 2181 | },  | 
                                                        
| 2185 | 2182 | ),  | 
                                                        
@@ -2504,7 +2501,8 @@ discard block  | 
                                                    ||
| 2504 | 2501 | |
| 2505 | 2502 |  							foreach (array('path', 'query', 'fragment') as $part) | 
                                                        
| 2506 | 2503 |  							{ | 
                                                        
| 2507 | -								switch ($part) { | 
                                                        |
| 2504 | + switch ($part)  | 
                                                        |
| 2505 | +								{ | 
                                                        |
| 2508 | 2506 | case 'path':  | 
                                                        
| 2509 | 2507 | $part_disallowed_chars = '<>' . $bracket_quote_chars . $space_chars . $excluded_trailing_chars . '/#&';  | 
                                                        
| 2510 | 2508 |  										$part_excluded_trailing_chars = str_replace('?', '', $excluded_trailing_chars); | 
                                                        
@@ -3534,7 +3532,7 @@ discard block  | 
                                                    ||
| 3534 | 3532 | |
| 3535 | 3533 | // Replace away!  | 
                                                        
| 3536 | 3534 | $message = preg_replace_callback($smileyPregSearch, function($matches) use ($smileyPregReplacements)  | 
                                                        
| 3537 | -		{ | 
                                                        |
| 3535 | +	{ | 
                                                        |
| 3538 | 3536 | return $smileyPregReplacements[$matches[1]];  | 
                                                        
| 3539 | 3537 | }, $message);  | 
                                                        
| 3540 | 3538 | }  | 
                                                        
@@ -4345,7 +4343,6 @@ discard block  | 
                                                    ||
| 4345 | 4343 | if (!isset($minSeed) && isset($js_file['options']['seed']))  | 
                                                        
| 4346 | 4344 | $minSeed = $js_file['options']['seed'];  | 
                                                        
| 4347 | 4345 | }  | 
                                                        
| 4348 | -  | 
                                                        |
| 4349 | 4346 | else  | 
                                                        
| 4350 | 4347 |  			{ | 
                                                        
| 4351 | 4348 | echo '  | 
                                                        
@@ -6268,7 +6265,8 @@ discard block  | 
                                                    ||
| 6268 | 6265 | $zones[$tzkey]['tzid'] = $tzid;  | 
                                                        
| 6269 | 6266 | $zones[$tzkey]['dst_type'] = count($tzinfo) > 1 ? 1 : ($tzinfo[0]['isdst'] ? 2 : 0);  | 
                                                        
| 6270 | 6267 | |
| 6271 | -			foreach ($tzinfo as $transition) { | 
                                                        |
| 6268 | + foreach ($tzinfo as $transition)  | 
                                                        |
| 6269 | +			{ | 
                                                        |
| 6272 | 6270 | $zones[$tzkey]['abbrs'][] = $transition['abbr'];  | 
                                                        
| 6273 | 6271 | }  | 
                                                        
| 6274 | 6272 | |
@@ -6353,7 +6351,8 @@ discard block  | 
                                                    ||
| 6353 | 6351 |  			$desc = implode(', ', array_slice(array_unique($tzvalue['locations']), 0, 5)) . (count($tzvalue['locations']) > 5 ? ', ' . $txt['etc'] : ''); | 
                                                        
| 6354 | 6352 | |
| 6355 | 6353 | // We don't want abbreviations like '+03' or '-11'.  | 
                                                        
| 6356 | -		$abbrs = array_filter($tzvalue['abbrs'], function ($abbr) { | 
                                                        |
| 6354 | + $abbrs = array_filter($tzvalue['abbrs'], function ($abbr)  | 
                                                        |
| 6355 | +		{ | 
                                                        |
| 6357 | 6356 | return !strspn($abbr, '+-');  | 
                                                        
| 6358 | 6357 | });  | 
                                                        
| 6359 | 6358 | $abbrs = count($abbrs) == count($tzvalue['abbrs']) ? array_unique($abbrs) : array();  | 
                                                        
@@ -6754,7 +6753,6 @@ discard block  | 
                                                    ||
| 6754 | 6753 | $isWritable = true;  | 
                                                        
| 6755 | 6754 | break;  | 
                                                        
| 6756 | 6755 | }  | 
                                                        
| 6757 | -  | 
                                                        |
| 6758 | 6756 | else  | 
                                                        
| 6759 | 6757 | @chmod($file, $val);  | 
                                                        
| 6760 | 6758 | }  |