Completed
Push — V6 ( f952e3...bb5c65 )
by Georges
02:33
created
src/phpFastCache/CacheManager.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -56,16 +56,16 @@  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
-      'ignoreSymfonyNotice' => false,// Ignore Symfony notice for Symfony project which do not makes use of PhpFastCache's Symfony Bundle
61
-      'defaultTtl' => 900,// Default time-to-live in second
62
-      'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
63
-      'htaccess' => true,// Auto-generate .htaccess if tit is missing
64
-      'default_chmod' => 0777, // 0777 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 support
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
59
+        'itemDetailedDate' => false,// Specify if the item must provide detailed creation/modification dates
60
+        'ignoreSymfonyNotice' => false,// Ignore Symfony notice for Symfony project which do not makes use of PhpFastCache's Symfony Bundle
61
+        'defaultTtl' => 900,// Default time-to-live in second
62
+        'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
63
+        'htaccess' => true,// Auto-generate .htaccess if tit is missing
64
+        'default_chmod' => 0777, // 0777 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 support
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
     /**
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
                 }
120 120
             }
121 121
         } else if(++$badPracticeOmeter[$driver] >= 5){
122
-           trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
122
+            trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
123 123
            See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
124 124
         }
125 125
 
@@ -258,21 +258,21 @@  discard block
 block discarded – undo
258 258
     public static function getStaticSystemDrivers()
259 259
     {
260 260
         return [
261
-          'Sqlite',
262
-          'Files',
263
-          'Apc',
264
-          'Apcu',
265
-          'Memcache',
266
-          'Memcached',
267
-          'Couchbase',
268
-          'Mongodb',
269
-          'Predis',
270
-          'Redis',
271
-          'Ssdb',
272
-          'Leveldb',
273
-          'Wincache',
274
-          'Xcache',
275
-          'Devnull',
261
+            'Sqlite',
262
+            'Files',
263
+            'Apc',
264
+            'Apcu',
265
+            'Memcache',
266
+            'Memcached',
267
+            'Couchbase',
268
+            'Mongodb',
269
+            'Predis',
270
+            'Redis',
271
+            'Ssdb',
272
+            'Leveldb',
273
+            'Wincache',
274
+            'Xcache',
275
+            'Devnull',
276 276
         ];
277 277
     }
278 278
 
Please login to merge, or discard this patch.