4f387d05c1
Fix #17119 : Fix yii\caching\Cache::multiSet()
to use yii\caching\Cache::$defaultDuration
when no duration is passed
2021-09-03 10:02:47 +03:00
703644864e
Fix Cache phpdoc example [skip ci]
2019-04-02 20:25:40 +03:00
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
2019-02-28 13:09:27 +03:00
bf73b9e80f
Issue #17109 : better phpdoc for yii\caching\Cache::getOrSet()
[skip ci] ( #17134 )
2019-02-17 18:33:29 +03:00
03b94989f8
Fixes #17109 : Removed misleading line from Cache::getOrSet() phpdoc [skip ci]
2019-02-15 16:05:25 +03:00
ed64d65886
release version 2.0.16
2019-01-31 00:54:16 +01:00
7d494d0d24
Fixes #16028 : Fix serialization of complex cache keys that contain non-UTF sequences
2018-12-31 06:54:19 -05:00
5a8c3d537b
Enable phpdoc_summary
rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
cb53b2feec
Fixes #14081 : Added yii\caching\CacheInterface
to make custom cache extensions adoption easier
2017-06-11 19:18:33 +03:00
b0b55472da
yii\caching\Cache::getOrSet()
now supports both Closure
and callable
...
Closes #13981
2017-04-13 15:07:30 +03:00
8f88780104
Fixed typo in warning message in Cache::getOrSet()
...
Fixes #13690
2017-03-03 09:30:03 +02:00
178d319556
Added Cache::getOrSet()
2016-12-30 23:49:18 +02:00
75b98c6b7e
Updated PHPDocs for Cache
2016-12-11 21:52:49 +02:00
059a80b47f
renamed Cache::$ttl to Cache::$defaultDuration
...
better naming as discussed in #12990
2016-11-15 23:54:12 +01:00
aca6ea9290
Fix incorrect return type in phpdocs [skip ci]
...
Internally used `setValues()`, `addValues()` methods return array
2016-11-15 02:46:36 +03:00
9a1c168939
Updates after more PR reviews (related #6809 )
2016-11-14 23:53:09 +01:00
556e9cf99b
Updates after PR review (related #6809 )
2016-11-14 23:53:09 +01:00
8df1017f42
Default cache ttl (duration) property ( fixes #6809 )
2016-11-14 23:53:09 +01:00
b641c1f41b
Enh Dependency getHasChanged ( #12928 )
...
* - rename getHasChanged() to isChanged()
- updated docs
- added tests for Dependency
- added useful helpers for inaccessible properties to TestCase
2016-11-09 10:05:06 +01:00
4aa935e69e
Fixes #12055 : Changed boolean
to bool
and integer
to int
in phpdoc
2016-11-07 02:51:39 +03:00
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
3ce36573b6
Fix 12188 ( #12202 )
...
* PHPDoc: \yii\caching\Cache::$serializer
* PHPDoc: \yii\caching\Cache::getValue
* PHPDoc: Review implementations of \yii\caching\Cache with considering $serializer
* PHPDoc: fix typos
2016-08-19 15:55:03 +03:00
a9eee3f243
Update Cache.php
2016-08-18 08:22:07 +03:00
e8d309dddb
documentation fixes for 2.0.7
2016-02-06 19:47:13 +01:00
ab5baa6c41
Add @since [skip ci]
2015-12-06 17:32:49 +01:00
12c738c058
Cosmetic
2015-12-01 20:56:20 +03:00
5a47692e64
Create multiSet, multiGet, multiAdd methods, and mark mset, mget and madd as deprecated
2015-12-01 14:29:43 +03:00
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
2015-06-05 21:53:24 +02:00
2e71f6e9aa
Turned Cache::buildKey() into public [skip ci]
2014-07-14 22:13:11 -04:00
3eae6942e6
improve cache phpdoc
2014-06-10 00:24:26 +02:00
5439ab7854
Changed the default value of Cache::keyPrefix
to be null.
2014-05-19 11:29:34 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
fcf2d0a3f2
Fixes #2823 .
2014-03-22 20:27:03 -04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
df52510f88
fixed potential problem about using unset variables.
...
CS fix.
2014-01-27 21:06:36 -05:00
5d23a066ca
Removed unused imports
2014-01-12 23:42:55 +04:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
c486cf410f
added missing init() method to Cache class
2013-05-01 18:44:30 +02:00
392b293d33
FragmentCache WIP
2013-03-25 14:27:15 -04:00
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
c08c2e8b72
url wip
2013-02-17 12:50:03 -05:00
11d374a83d
finished cleanup of caching components.
2013-01-18 18:28:28 -05:00
ce168fb3c8
cache cleanup WIP
2013-01-18 16:09:29 -05:00
c1328b6632
working on cache key.
2013-01-18 12:45:10 -05:00
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00