Completed
Pull Request — final (#421)
by
unknown
02:26
created
src/phpFastCache/CacheManager.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -57,15 +57,15 @@  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 the sub-directory
61
-      'ignoreSymfonyNotice' => false, // Ignore Symfony notices for Symfony projects that do not makes use of PhpFastCache's Symfony Bundle
62
-      'defaultTtl' => 900, // Default time-to-live in seconds
63
-      'htaccess' => true, // Auto-generate .htaccess if it is missing
64
-      'default_chmod' => 0777, // 0777 is recommended
65
-      'path' => '', // If not set will be the value of sys_get_temp_dir()
66
-      'fallback' => false, // Fall back when old driver is not supported
67
-      'limited_memory_each_object' => 4096, // Maximum size (bytes) of object store in memory
68
-      'compress_data' => false, // Compress stored data if the backend supports it
60
+        'securityKey' => 'auto', // The securityKey that will be used to create the sub-directory
61
+        'ignoreSymfonyNotice' => false, // Ignore Symfony notices for Symfony projects that do not makes use of PhpFastCache's Symfony Bundle
62
+        'defaultTtl' => 900, // Default time-to-live in seconds
63
+        'htaccess' => true, // Auto-generate .htaccess if it is missing
64
+        'default_chmod' => 0777, // 0777 is recommended
65
+        'path' => '', // If not set will be the value of sys_get_temp_dir()
66
+        'fallback' => false, // Fall back when old driver is not supported
67
+        'limited_memory_each_object' => 4096, // Maximum size (bytes) of object store in memory
68
+        'compress_data' => false, // Compress stored data if the backend supports it
69 69
     ];
70 70
 
71 71
     /**
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
                 }
117 117
             }
118 118
         } else if(++$badPracticeOmeter[$driver] >= 5){
119
-           trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
119
+            trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
120 120
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
121 121
         }
122 122
 
@@ -227,23 +227,23 @@  discard block
 block discarded – undo
227 227
     public static function getStaticSystemDrivers()
228 228
     {
229 229
         return [
230
-          'Sqlite',
231
-          'Files',
232
-          'Apc',
233
-          'Apcu',
234
-          'Memcache',
235
-          'Memcached',
236
-          'Couchbase',
237
-          'Mongodb',
238
-          'Predis',
239
-          'Redis',
240
-          'Ssdb',
241
-          'Leveldb',
242
-          'Wincache',
243
-          'Xcache',
244
-          'Zenddisk',
245
-          'Zendshm',
246
-          'Devnull',
230
+            'Sqlite',
231
+            'Files',
232
+            'Apc',
233
+            'Apcu',
234
+            'Memcache',
235
+            'Memcached',
236
+            'Couchbase',
237
+            'Mongodb',
238
+            'Predis',
239
+            'Redis',
240
+            'Ssdb',
241
+            'Leveldb',
242
+            'Wincache',
243
+            'Xcache',
244
+            'Zenddisk',
245
+            'Zendshm',
246
+            'Devnull',
247 247
         ];
248 248
     }
249 249
 
Please login to merge, or discard this patch.