Passed
Push — development ( 8f3e46...8433eb )
by Spuds
01:17 queued 31s
created
sources/ElkArte/Cache/CacheMethod/Apc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 		$results['version'] = phpversion('apcu');
60 60
 
61 61
 		// Seems start_time is really up_time, at least going by its value ?
62
-		$elapsed = max($cache['start_time'], 1)/ 60;
62
+		$elapsed = max($cache['start_time'], 1) / 60;
63 63
 		$results['hit_rate'] = sprintf("%.2f", $cache['num_hits'] / $elapsed);
64 64
 		$results['miss_rate'] = sprintf("%.2f", $cache['num_misses'] / $elapsed);
65 65
 
Please login to merge, or discard this patch.
sources/ElkArte/Cache/CacheMethod/Redis.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
 			$host = empty($server[0]) ? 'localhost' : $server[0];
146 146
 			$port = empty($server[1]) ? 6379 : (int) $server[1];
147 147
 
148
-			set_error_handler(static function () { /* ignore php_network_getaddresses errors */ });
148
+			set_error_handler(static function() { /* ignore php_network_getaddresses errors */ });
149 149
 			try
150 150
 			{
151 151
 				if ($this->_is_persist())
Please login to merge, or discard this patch.