@@ -64,95 +64,95 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Specify if the item must provide detailed creation/modification dates |
66 | 66 | */ |
67 | - 'itemDetailedDate' => false, |
|
67 | + 'itemDetailedDate' => false, |
|
68 | 68 | |
69 | 69 | /** |
70 | 70 | * Automatically attempt to fallback to temporary directory |
71 | 71 | * if the cache fails to write on the specified directory |
72 | 72 | */ |
73 | - 'autoTmpFallback' => false, |
|
73 | + 'autoTmpFallback' => false, |
|
74 | 74 | |
75 | 75 | /** |
76 | 76 | * Provide a secure file manipulation mechanism, |
77 | 77 | * on intensive usage the performance can be affected. |
78 | 78 | */ |
79 | - 'secureFileManipulation' => false, |
|
79 | + 'secureFileManipulation' => false, |
|
80 | 80 | |
81 | 81 | /** |
82 | 82 | * Ignore Symfony notice for Symfony project which |
83 | 83 | * do not makes use of PhpFastCache's Symfony Bundle |
84 | 84 | */ |
85 | - 'ignoreSymfonyNotice' => false, |
|
85 | + 'ignoreSymfonyNotice' => false, |
|
86 | 86 | |
87 | 87 | /** |
88 | 88 | * Default time-to-live in second |
89 | 89 | */ |
90 | - 'defaultTtl' => 900, |
|
90 | + 'defaultTtl' => 900, |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Default key hash function |
94 | 94 | * (md5 by default) |
95 | 95 | */ |
96 | - 'defaultKeyHashFunction' => '', |
|
96 | + 'defaultKeyHashFunction' => '', |
|
97 | 97 | |
98 | 98 | /** |
99 | 99 | * The securityKey that will be used |
100 | 100 | * to create sub-directory |
101 | 101 | * (Files-based drivers only) |
102 | 102 | */ |
103 | - 'securityKey' => 'Auto', |
|
103 | + 'securityKey' => 'Auto', |
|
104 | 104 | |
105 | 105 | /** |
106 | 106 | * Auto-generate .htaccess if it's missing |
107 | 107 | * (Files-based drivers only) |
108 | 108 | */ |
109 | - 'htaccess' => true, |
|
109 | + 'htaccess' => true, |
|
110 | 110 | |
111 | 111 | /** |
112 | 112 | * Default files chmod |
113 | 113 | * 0777 recommended |
114 | 114 | * (Files-based drivers only) |
115 | 115 | */ |
116 | - 'default_chmod' => 0777, |
|
116 | + 'default_chmod' => 0777, |
|
117 | 117 | |
118 | 118 | /** |
119 | 119 | * The path where we will writecache files |
120 | 120 | * default value if empty: sys_get_temp_dir() |
121 | 121 | * (Files-based drivers only) |
122 | 122 | */ |
123 | - 'path' => '', |
|
123 | + 'path' => '', |
|
124 | 124 | |
125 | 125 | /** |
126 | 126 | * Driver fallback in case of failure. |
127 | 127 | * Caution, in case of failure an E_WARNING |
128 | 128 | * error will always be raised |
129 | 129 | */ |
130 | - 'fallback' => false, |
|
130 | + 'fallback' => false, |
|
131 | 131 | |
132 | 132 | /** |
133 | 133 | * Maximum size (bytes) of object store in memory |
134 | 134 | * (Memcache(d) drivers only) |
135 | 135 | */ |
136 | - 'limited_memory_each_object' => 4096, |
|
136 | + 'limited_memory_each_object' => 4096, |
|
137 | 137 | |
138 | 138 | /** |
139 | 139 | * Compress stored data, if the backend supports it |
140 | 140 | * (Memcache(d) drivers only) |
141 | 141 | */ |
142 | - 'compress_data' => false, |
|
142 | + 'compress_data' => false, |
|
143 | 143 | |
144 | 144 | /** |
145 | 145 | * Prevent cache slams when |
146 | 146 | * making use of heavy cache |
147 | 147 | * items |
148 | 148 | */ |
149 | - 'preventCacheSlams' => false, |
|
149 | + 'preventCacheSlams' => false, |
|
150 | 150 | |
151 | 151 | /** |
152 | 152 | * Cache slams timeout |
153 | 153 | * in seconds |
154 | 154 | */ |
155 | - 'cacheSlamsTimeout' => 15, |
|
155 | + 'cacheSlamsTimeout' => 15, |
|
156 | 156 | |
157 | 157 | ]; |
158 | 158 | |
@@ -358,24 +358,24 @@ discard block |
||
358 | 358 | public static function getStaticSystemDrivers() |
359 | 359 | { |
360 | 360 | return [ |
361 | - 'Apc', |
|
362 | - 'Apcu', |
|
363 | - 'Cassandra', |
|
364 | - 'Couchbase', |
|
365 | - 'Couchdb', |
|
366 | - 'Devnull', |
|
367 | - 'Files', |
|
368 | - 'Leveldb', |
|
369 | - 'Memcache', |
|
370 | - 'Memcached', |
|
371 | - 'Memstatic', |
|
372 | - 'Mongodb', |
|
373 | - 'Predis', |
|
374 | - 'Redis', |
|
375 | - 'Ssdb', |
|
376 | - 'Sqlite', |
|
377 | - 'Wincache', |
|
378 | - 'Xcache', |
|
361 | + 'Apc', |
|
362 | + 'Apcu', |
|
363 | + 'Cassandra', |
|
364 | + 'Couchbase', |
|
365 | + 'Couchdb', |
|
366 | + 'Devnull', |
|
367 | + 'Files', |
|
368 | + 'Leveldb', |
|
369 | + 'Memcache', |
|
370 | + 'Memcached', |
|
371 | + 'Memstatic', |
|
372 | + 'Mongodb', |
|
373 | + 'Predis', |
|
374 | + 'Redis', |
|
375 | + 'Ssdb', |
|
376 | + 'Sqlite', |
|
377 | + 'Wincache', |
|
378 | + 'Xcache', |
|
379 | 379 | ]; |
380 | 380 | } |
381 | 381 | |
@@ -385,9 +385,9 @@ discard block |
||
385 | 385 | public static function getStaticAllDrivers() |
386 | 386 | { |
387 | 387 | return array_merge(self::getStaticSystemDrivers(), [ |
388 | - 'Devtrue', |
|
389 | - 'Devfalse', |
|
390 | - 'Cookie', |
|
388 | + 'Devtrue', |
|
389 | + 'Devfalse', |
|
390 | + 'Cookie', |
|
391 | 391 | ]); |
392 | 392 | } |
393 | 393 |