13 Commits (f9b03dfd42dbe844fc280c85750c1c394d0a819c)

Author SHA1 Message Date
Carsten Brandt f7942c0398
make cache test more robust 7 years ago
Robert Korulczyk 771a9faed2 Fixed invalid tests (#14716) 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
SilverFire - Dmitry Naumenko cb53b2feec
Fixes #14081: Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier 7 years ago
SilverFire - Dmitry Naumenko b0b55472da
`yii\caching\Cache::getOrSet()` now supports both `Closure` and `callable` 8 years ago
SilverFire - Dmitry Naumenko 178d319556
Added Cache::getOrSet() 8 years ago
Carsten Brandt 059a80b47f renamed Cache::$ttl to Cache::$defaultDuration 8 years ago
SDKiller 556e9cf99b Updates after PR review (related #6809) 8 years ago
SDKiller 8df1017f42 Default cache ttl (duration) property (fixes #6809) 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Alexander Mohorev 899b778994 Correct type declarations 10 years ago
Carsten Brandt a2e8083beb Created ArrayCache class 10 years ago
Qiang Xue 5439ab7854 Changed the default value of `Cache::keyPrefix` to be null. 10 years ago
SonicGD b5f8a4dc22 Reformat code te be PSR-2 compatible 11 years ago
Alexander Mohorev c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 11 years ago
Carsten Brandt 09a3300b7c refactored redis cache, added mset() 11 years ago
Alexander Makarov 1a7a15a3ef Implemented mset, madd for cache. Added tests. 11 years ago
Panagiotis Moustafellos 3ebbab0284 marked mset() test incomplete 11 years ago
Panagiotis Moustafellos 4cf05205d4 added cache mset() base test 11 years ago
Alexander Makarov ee2af2661c Removed unneeded use statements 11 years ago
Alexander Makarov 1f6a823073 Short array syntax 11 years ago
Carsten Brandt 3f88320595 second try to fix random memcache failure on travis 11 years ago
Carsten Brandt f3504f426d fix test fail when not on travis 11 years ago
Carsten Brandt 9542fd24d4 try to fix: memcache testExpire fails randomly on travis 11 years ago
Carsten Brandt 0e2ac86566 added Cache::exists() to check key existance in cache 11 years ago
Alexander Makarov 0596fa82fd code style fixes 11 years ago
Qiang Xue f5d0bcbcfc Refactored cache key generation. 11 years ago
Alexander Makarov 7cd9123c3b Tests cleanup 11 years ago
Carsten Brandt e2513de6c6 better testing: time()-function-mock 12 years ago
Carsten Brandt 71a9efdd55 changed cache test to wait more than expirytime 12 years ago
Carsten Brandt 6a7529505e cache tests refactoring cherry picked from redis branch 12 years ago
Benjamin Wöster f23a677bdf mod: incorporate suggestions 12 years ago
Benjamin Wöster d4b30e26c2 allow unit tests to requireApp() on setUp() 12 years ago
Carsten Brandt 38a1938847 documentation and code style fixes 12 years ago
Carsten Brandt fad011274c added missing init() method to Cache class 12 years ago
Carsten Brandt 3d3f711d6a testing and fixing RedisCache 12 years ago
Alexander Makarov 09dbaeb700 more assertions for cache test 12 years ago
Alexander Makarov 64fb2a815c added tests for cache 12 years ago