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.
sources/ElkArte/Cache/CacheMethod/Memcache.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 	 *   - 'miss_rate': The rate of cache lookups that did not find a matching item per minute.
133 133
 	 *
134 134
 	 *  If the statistics cannot be obtained, an empty array is returned.
135
-     */
135
+	 */
136 136
 	public function getStats()
137 137
 	{
138 138
 		$results = [];
Please login to merge, or discard this patch.