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.