Completed
Push — V6 ( 622987...0a67f6 )
by Georges
02:30
created
src/phpFastCache/CacheManager.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -56,17 +56,17 @@  discard block
 block discarded – undo
56 56
      * @var ExtendedCacheItemPoolInterface[]
57 57
      */
58 58
     protected static $config = [
59
-      'itemDetailedDate' => false,// Specify if the item must provide detailed creation/modification dates
60
-      'secureFileManipulation' => false,// Provide a secure file manipulation mechanism, on intensive usage the performance can be affected.
61
-      'ignoreSymfonyNotice' => false,// Ignore Symfony notice for Symfony project which do not makes use of PhpFastCache's Symfony Bundle
62
-      'defaultTtl' => 900,// Default time-to-live in second
63
-      'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
64
-      'htaccess' => true,// Auto-generate .htaccess if tit is missing
65
-      'default_chmod' => 0777, // 0777 recommended
66
-      'path' => '',// if not set will be the value of sys_get_temp_dir()
67
-      'fallback' => false, //Fall back when old driver is not support
68
-      'limited_memory_each_object' => 4096, // maximum size (bytes) of object store in memory
69
-      'compress_data' => false, // compress stored data, if the backend supports it
59
+        'itemDetailedDate' => false,// Specify if the item must provide detailed creation/modification dates
60
+        'secureFileManipulation' => false,// Provide a secure file manipulation mechanism, on intensive usage the performance can be affected.
61
+        'ignoreSymfonyNotice' => false,// Ignore Symfony notice for Symfony project which do not makes use of PhpFastCache's Symfony Bundle
62
+        'defaultTtl' => 900,// Default time-to-live in second
63
+        'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
64
+        'htaccess' => true,// Auto-generate .htaccess if tit is missing
65
+        'default_chmod' => 0777, // 0777 recommended
66
+        'path' => '',// if not set will be the value of sys_get_temp_dir()
67
+        'fallback' => false, //Fall back when old driver is not support
68
+        'limited_memory_each_object' => 4096, // maximum size (bytes) of object store in memory
69
+        'compress_data' => false, // compress stored data, if the backend supports it
70 70
     ];
71 71
 
72 72
     /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
                 }
121 121
             }
122 122
         } else if(++$badPracticeOmeter[$driver] >= 5){
123
-           trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
123
+            trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
124 124
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
125 125
         }
126 126
 
@@ -259,21 +259,21 @@  discard block
 block discarded – undo
259 259
     public static function getStaticSystemDrivers()
260 260
     {
261 261
         return [
262
-          'Sqlite',
263
-          'Files',
264
-          'Apc',
265
-          'Apcu',
266
-          'Memcache',
267
-          'Memcached',
268
-          'Couchbase',
269
-          'Mongodb',
270
-          'Predis',
271
-          'Redis',
272
-          'Ssdb',
273
-          'Leveldb',
274
-          'Wincache',
275
-          'Xcache',
276
-          'Devnull',
262
+            'Sqlite',
263
+            'Files',
264
+            'Apc',
265
+            'Apcu',
266
+            'Memcache',
267
+            'Memcached',
268
+            'Couchbase',
269
+            'Mongodb',
270
+            'Predis',
271
+            'Redis',
272
+            'Ssdb',
273
+            'Leveldb',
274
+            'Wincache',
275
+            'Xcache',
276
+            'Devnull',
277 277
         ];
278 278
     }
279 279
 
Please login to merge, or discard this patch.