Test Failed
Push — 1.0.0-dev ( 52e7b8...740ad8 )
by nguereza
02:33
created
core/classes/database/DatabaseQueryRunner.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             //reset instance
101 101
             $this->reset();
102 102
 
103
-            $this->logger->debug('Begin execution of SQL query [' . $this->query .']');
103
+            $this->logger->debug('Begin execution of SQL query [' . $this->query . ']');
104 104
            
105 105
             //for database query execution time
106 106
             $benchmarkMarkerKey = $this->getBenchmarkKey();
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             if ((double) $responseTime >= 1.000000) {
118 118
                 $this->logger->warning(
119 119
                                         'High response time while processing database query [' . $this->query . '].' 
120
-                                        . 'The response time is [' .$responseTime . '] sec.'
120
+                                        . 'The response time is [' . $responseTime . '] sec.'
121 121
                                         );
122 122
             }
123 123
     		
Please login to merge, or discard this patch.
core/classes/Log.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
             $dtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
216 216
             $fileInfo = $dtrace[0];
217 217
             $i = 0;
218
-            while ($dtrace[$i]['file'] == __FILE__ ) {
218
+            while ($dtrace[$i]['file'] == __FILE__) {
219 219
                 $i++;
220 220
             } 
221 221
             $fileInfo = $dtrace[$i];
Please login to merge, or discard this patch.
core/classes/cache/FileCache.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,13 +108,13 @@
 block discarded – undo
108 108
         public function set($key, $data, $ttl = 0) {
109 109
             $expire = time() + $ttl;
110 110
             $this->logger->debug('Setting cache data for key [' . $key . '], '
111
-                           . 'time to live [' . $ttl . '], '
112
-                           . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']');
111
+                            . 'time to live [' . $ttl . '], '
112
+                            . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']');
113 113
             $filePath = $this->getFilePath($key);
114 114
             $handle = fopen($filePath, 'w');
115 115
             if (!is_resource($handle)) {
116 116
                 $this->logger->error('Can not open the file cache '
117
-                                     . '[' . $filePath . '] for the key [' . $key . '], return false');
117
+                                        . '[' . $filePath . '] for the key [' . $key . '], return false');
118 118
                 return false;
119 119
             }
120 120
             flock($handle, LOCK_EX); // exclusive lock, will get released when the file is closed
Please login to merge, or discard this patch.