Completed
Push — master ( c983f9...4e7553 )
by Simon
02:43
created
autoloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
  * @param string $class The fully-qualified class name.
12 12
  * @return void
13 13
  */
14
-spl_autoload_register(function ($class) {
14
+spl_autoload_register(function($class) {
15 15
 
16 16
     // project-specific namespace prefix
17 17
     //$prefix = 'Foo\\Bar\\';
Please login to merge, or discard this patch.
webroot/CLogExample.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 //
4 4
 // Set the error reporting.
5 5
 //
6
-error_reporting(-1);              // Report all type of errors
7
-ini_set('output_buffering', 0);   // Do not buffer outputs, write directly
6
+error_reporting(-1); // Report all type of errors
7
+ini_set('output_buffering', 0); // Do not buffer outputs, write directly
8 8
 
9 9
 //
10 10
 // Get required files
Please login to merge, or discard this patch.
src/Logger/CLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             $duration = round($val['duration'], $this->precision);
80 80
             $percent  = round(($when) / $totalDuration * 100);
81 81
             $memory   = round($val['memory'] / 1024 / 1024, 2);
82
-            $peak     = isset($val['memory-peak']) ? round($val['memory-peak'] / 1024 / 1024, 2): 0;
82
+            $peak     = isset($val['memory-peak']) ? round($val['memory-peak'] / 1024 / 1024, 2) : 0;
83 83
             $when     = round($when, $this->precision);
84 84
             $html .= "<tr><td>{$val['domain']}</td><td>{$val['where']}</td><td{$right}>{$when}</td><td{$right}>{$duration}</td><td{$right}>{$percent}</td><td{$right}>{$memory}</td><td{$right}>{$peak}</td><td>{$val['comment']}</td></tr>";
85 85
             @$total['domain'][$val['domain']] += $val['duration'];
Please login to merge, or discard this patch.