Completed
Pull Request — final (#340)
by
unknown
03:10
created
src/phpFastCache/CacheManager.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -57,14 +57,14 @@  discard block
 block discarded – undo
57 57
      * @var array
58 58
      */
59 59
     protected static $config = [
60
-      'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
61
-      'defaultTtl' => 900,// Default time-to-live in second
62
-      'htaccess' => true,// Auto-generate .htaccess if tit is missing
63
-      'default_chmod' => 0777, // 0777 recommended
64
-      'path' => '',// if not set will be the value of sys_get_temp_dir()
65
-      'fallback' => false, //Fall back when old driver is not support
66
-      'limited_memory_each_object' => 4096, // maximum size (bytes) of object store in memory
67
-      'compress_data' => false, // compress stored data, if the backend supports it
60
+        'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
61
+        'defaultTtl' => 900,// Default time-to-live in second
62
+        'htaccess' => true,// Auto-generate .htaccess if tit is missing
63
+        'default_chmod' => 0777, // 0777 recommended
64
+        'path' => '',// if not set will be the value of sys_get_temp_dir()
65
+        'fallback' => false, //Fall back when old driver is not support
66
+        'limited_memory_each_object' => 4096, // maximum size (bytes) of object store in memory
67
+        'compress_data' => false, // compress stored data, if the backend supports it
68 68
     ];
69 69
 
70 70
     /**
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
                 }
113 113
             }
114 114
         } else if(++$badPracticeOmeter[$driver] >= 5){
115
-           trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
115
+            trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
116 116
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
117 117
         }
118 118
 
@@ -223,23 +223,23 @@  discard block
 block discarded – undo
223 223
     public static function getStaticSystemDrivers()
224 224
     {
225 225
         return [
226
-          'Sqlite',
227
-          'Files',
228
-          'Apc',
229
-          'Apcu',
230
-          'Memcache',
231
-          'Memcached',
232
-          'Couchbase',
233
-          'Mongodb',
234
-          'Predis',
235
-          'Redis',
236
-          'Ssdb',
237
-          'Leveldb',
238
-          'Wincache',
239
-          'Xcache',
240
-          'Zenddisk',
241
-          'Zendshm',
242
-          'Devnull',
226
+            'Sqlite',
227
+            'Files',
228
+            'Apc',
229
+            'Apcu',
230
+            'Memcache',
231
+            'Memcached',
232
+            'Couchbase',
233
+            'Mongodb',
234
+            'Predis',
235
+            'Redis',
236
+            'Ssdb',
237
+            'Leveldb',
238
+            'Wincache',
239
+            'Xcache',
240
+            'Zenddisk',
241
+            'Zendshm',
242
+            'Devnull',
243 243
         ];
244 244
     }
245 245
 
Please login to merge, or discard this patch.