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