Passed
Push — 1.0.0-dev ( e3bc99...72449d )
by nguereza
03:01
created
core/classes/cache/ApcCache.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         /**
34 34
          * Construct new ApcCache instance
35 35
          */
36
-	public function __construct() {
36
+    public function __construct() {
37 37
             parent::__construct();
38 38
             if (!$this->isSupported()) {
39 39
                 show_error('The cache for APC[u] driver is not available. Check if APC[u] extension is loaded and enabled.');
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         public function set($key, $data, $ttl = 0) {
80 80
             $expire = time() + $ttl;
81 81
             $this->logger->debug('Setting cache data for key [' . $key . '], time to live [' . $ttl . '], '
82
-                                 . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']');
82
+                                    . 'expire at [' . date('Y-m-d H:i:s', $expire) . ']');
83 83
             $result = apc_store($key, $data, $ttl);
84 84
             if ($result === false) {
85 85
                 $this->logger->error('Can not save cache data for the key [' . $key . '], return false');
Please login to merge, or discard this patch.
core/classes/Log.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -140,11 +140,11 @@
 block discarded – undo
140 140
                 //NOTE: here need put the show_error() "logging" to false 
141 141
                 //to prevent self function loop call
142 142
                 show_error('Invalid config log level [' . $configLogLevel . '], '
143
-                           . 'the value must be one of the following: ' 
144
-                           . implode(', ', array_map('strtoupper', self::$validConfigLevel))
145
-                           , 'Log Config Error', 
146
-                           $logging = false
147
-                       );
143
+                            . 'the value must be one of the following: ' 
144
+                            . implode(', ', array_map('strtoupper', self::$validConfigLevel))
145
+                            , 'Log Config Error', 
146
+                            $logging = false
147
+                        );
148 148
                 return;	
149 149
             }
150 150
 			
Please login to merge, or discard this patch.