Completed
Push — v5 ( c89db4...8b8972 )
by Georges
04:26
created
src/phpFastCache/CacheManager.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -52,13 +52,13 @@  discard block
 block discarded – undo
52 52
      * @var array
53 53
      */
54 54
     protected static $config = [
55
-      'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
56
-      'htaccess' => true,// Auto-generate .htaccess if tit is missing
57
-      'default_chmod' => 0777, // 0777 recommended
58
-      'path' => '',// if not set will be the value of sys_get_temp_dir()
59
-      'fallback' => false, //Fall back when old driver is not support
60
-      "limited_memory_each_object" => 4096, // maximum size (bytes) of object store in memory
61
-      "compress_data" => false, // compress stored data, if the backend supports it
55
+        'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
56
+        'htaccess' => true,// Auto-generate .htaccess if tit is missing
57
+        'default_chmod' => 0777, // 0777 recommended
58
+        'path' => '',// if not set will be the value of sys_get_temp_dir()
59
+        'fallback' => false, //Fall back when old driver is not support
60
+        "limited_memory_each_object" => 4096, // maximum size (bytes) of object store in memory
61
+        "compress_data" => false, // compress stored data, if the backend supports it
62 62
     ];
63 63
 
64 64
     /**
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 }
107 107
             }
108 108
         } else if(++$badPracticeOmeter[$driver] >= 5){
109
-           trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
109
+            trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
110 110
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
111 111
         }
112 112
 
@@ -217,21 +217,21 @@  discard block
 block discarded – undo
217 217
     public static function getStaticSystemDrivers()
218 218
     {
219 219
         return [
220
-          'Sqlite',
221
-          'Files',
222
-          'Apc',
223
-          'Apcu',
224
-          'Memcache',
225
-          'Memcached',
226
-          'Couchbase',
227
-          'Mongodb',
228
-          'Predis',
229
-          'Redis',
230
-          'Ssdb',
231
-          'Leveldb',
232
-          'Wincache',
233
-          'Xcache',
234
-          'Devnull',
220
+            'Sqlite',
221
+            'Files',
222
+            'Apc',
223
+            'Apcu',
224
+            'Memcache',
225
+            'Memcached',
226
+            'Couchbase',
227
+            'Mongodb',
228
+            'Predis',
229
+            'Redis',
230
+            'Ssdb',
231
+            'Leveldb',
232
+            'Wincache',
233
+            'Xcache',
234
+            'Devnull',
235 235
         ];
236 236
     }
237 237
 
Please login to merge, or discard this patch.