Completed
Push — v5 ( 4f37c0...3c8367 )
by Georges
02:44
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
     public static $config = [
55
-      'default_chmod' => 0777, // 0777 recommended
56
-      'fallback' => 'files', //Fall back when old driver is not support
57
-      'securityKey' => 'auto',
58
-      'htaccess' => true,
59
-      'path' => '',// if not set will be the value of sys_get_temp_dir()
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
+        'default_chmod' => 0777, // 0777 recommended
56
+        'fallback' => 'files', //Fall back when old driver is not support
57
+        'securityKey' => 'auto',
58
+        'htaccess' => true,
59
+        'path' => '',// if not set will be the value of sys_get_temp_dir()
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
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $class = self::getNamespacePath() . $driver . '\Driver';
90 90
             self::$instances[ $instance ] = new $class($config);
91 91
         } else {
92
-           trigger_error('[' . $driver . '] Calling CacheManager::getInstance for already instanced drivers is a bad practice and have a significant impact on performances.
92
+            trigger_error('[' . $driver . '] Calling CacheManager::getInstance for already instanced drivers is a bad practice and have a significant impact on performances.
93 93
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
94 94
         }
95 95
 
@@ -178,21 +178,21 @@  discard block
 block discarded – undo
178 178
     public static function getStaticSystemDrivers()
179 179
     {
180 180
         return [
181
-          'Sqlite',
182
-          'Files',
183
-          'Apc',
184
-          'Apcu',
185
-          'Memcache',
186
-          'Memcached',
187
-          'Couchbase',
188
-          'Mongodb',
189
-          'Predis',
190
-          'Redis',
191
-          'Ssdb',
192
-          'Leveldb',
193
-          'Wincache',
194
-          'Xcache',
195
-          'Devnull',
181
+            'Sqlite',
182
+            'Files',
183
+            'Apc',
184
+            'Apcu',
185
+            'Memcache',
186
+            'Memcached',
187
+            'Couchbase',
188
+            'Mongodb',
189
+            'Predis',
190
+            'Redis',
191
+            'Ssdb',
192
+            'Leveldb',
193
+            'Wincache',
194
+            'Xcache',
195
+            'Devnull',
196 196
         ];
197 197
     }
198 198
 
Please login to merge, or discard this patch.