Skip to content

Commit 389bc11

Browse files
authored
Merge branch 'final' into final
2 parents a10fdaf + f532e2e commit 389bc11

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![Code Climate](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache/badges/gpa.svg)](https://codeclimate.com/github/PHPSocialNetwork/phpfastcache) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/PHPSocialNetwork/phpfastcache/badges/quality-score.png?b=final)](https://scrutinizer-ci.com/g/PHPSocialNetwork/phpfastcache/?branch=final) [![Build Status](https://travis-ci.org/PHPSocialNetwork/phpfastcache.svg?branch=final)](https://travis-ci.org/PHPSocialNetwork/phpfastcache) [![Latest Stable Version](http://img.shields.io/packagist/v/phpfastcache/phpfastcache.svg)](https://packagist.org/packages/phpfastcache/phpfastcache) [![Total Downloads](http://img.shields.io/packagist/dt/phpfastcache/phpfastcache.svg)](https://packagist.org/packages/phpfastcache/phpfastcache) [![Dependency Status](https://www.versioneye.com/php/phpfastcache:phpfastcache/badge.svg)](https://www.versioneye.com/php/phpfastcache:phpfastcache) [![License](https://img.shields.io/packagist/l/phpfastcache/phpfastcache.svg)](https://packagist.org/packages/phpfastcache/phpfastcache) [![Coding Standards](https://img.shields.io/badge/CI-PSR6-orange.svg)](https://github.com/php-fig/cache)
22

3-
:exclamation: V4 USERS, PLEASE SEE THE README !! THE V5 IS OFFICIALY OUT !! YOUR CODE NEEDS TO BE REWRITTEN :exclamation:
3+
:exclamation: V4 USERS, PLEASE SEE THE README !! V5 IS OFFICIALY OUT !! YOUR CODE NEEDS TO BE [REWRITTEN](https://github.com/PHPSocialNetwork/phpfastcache/wiki/%5BV4%5D-Migrating-your-code-to-the-V5) :exclamation:
44

55
---------------------------
66
Simple Yet Powerful PHP Caching Class

examples/couchbase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
'timeout' => '1',
2626
'buckets' => [
2727
[
28-
'default' => 'Cache',// The bucket name, generally "default" by default
29-
'password' => ''// The bucket password if there is
28+
'bucket' => 'default', // The bucket name, generally "default" by default
29+
'password' => '' // The bucket password if there is
3030
],
31-
],
31+
]
3232
]);
3333

3434
/**

src/phpFastCache/CacheManager.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ class CacheManager
5757
* @var array
5858
*/
5959
protected static $config = [
60-
'securityKey' => 'auto',// The securityKey that will be used to create sub-directory
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-
'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
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
6969
];
7070

7171
/**

0 commit comments

Comments
 (0)