Alexander Makarov
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
3 years ago
Alexander Makarov
655786b7ed
release version 2.0.44
3 years ago
Bizley
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
3 years ago
Alexander Gubarev
e3028c524d
Fix #18899 : Replace usages of `strpos` with `strncmp` and remove redundant usage of `array_merge` and `array_values`
3 years ago
Oscar Barrett
4f387d05c1
Fix #17119 : Fix `yii\caching\Cache::multiSet()` to use `yii\caching\Cache::$defaultDuration` when no duration is passed
3 years ago
Alexander Makarov
13f27e4d92
Fix #18817 : Use `paragonie/random_compat` for random bytes and int generation
3 years ago
aidanbek
fff35b3796
Fix #18678 : Fix `yii\caching\DbCache` to use configured cache table name instead of the default one in case of MSSQL varbinary column type detection
3 years ago
Alexander Makarov
88a7a00458
release version 2.0.42
3 years ago
Alexander Makarov
26656a2ed1
Minor cleanup
3 years ago
DarkDef
7017903fe4
Storing check on `varbinary` the result in a private property
4 years ago
DarkDef
64ecbf10b1
Fix for issue #18526
...
DbCache doesn't working using MSSQL/SqlServer
4 years ago
Alexander Makarov
4e2045c040
release version 2.0.41
4 years ago
Bizley
b8f4958092
Fix #18442 : Fix calls with array access to strings
4 years ago
Alexander Makarov
ccb14ff667
release version 2.0.39
4 years ago
Evgeniy Tkachenko
f8337a15c2
Fix #18263 : Fix writing `\yii\caching\FileCache` files to the same directory when `keyPrefix` is set
4 years ago
Alexander Makarov
3b6668804c
Fix #17710 : Fix MemCache duration normalization to avoid memcached/system timestamp mismatch
5 years ago
Alexander Morozov
703644864e
Fix Cache phpdoc example [skip ci]
6 years ago
Pavel Dovlatov
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?
6 years ago
Pavel Ivanov
bf73b9e80f
Issue #17109 : better phpdoc for `yii\caching\Cache::getOrSet()` [skip ci] ( #17134 )
6 years ago
Alexander Makarov
03b94989f8
Fixes #17109 : Removed misleading line from Cache::getOrSet() phpdoc [skip ci]
6 years ago
Carsten Brandt
ed64d65886
release version 2.0.16
6 years ago
Pavel Ivanov
7d494d0d24
Fixes #16028 : Fix serialization of complex cache keys that contain non-UTF sequences
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
__FresHmaN
dd57c5c73b
Initialize the property definition as array ( #16168 )
7 years ago
Filippo Tessarotto
4f41d1118c
FileCache: rebuild cache file before touch when different file owner ( #16120 )
...
* Test Travis envs
* The fix
* posix_geteuid only exists on Linux
* Added PR to changelog
7 years ago
Pavel Ivanov
13ad20551e
Fixes #14660 : Fixed `yii\caching\DbCache` concurrency issue when set values with the same key
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
edwards-sj
23630abe6d
Fixes #15302 : Fixed `yii\caching\DbCache` so that `getValues` now behaves the same as `getValue` with regards to streams
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Robert Korulczyk
0c0942d6e2
Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. ( #14681 ) [skip ci]
7 years ago
TerraSkye
af71e0fca0
Fixing example in the documentation ( #14613 ) [skip ci]
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Robert Korulczyk
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.
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Alexander Makarov
3a8f702759
Adjusted code style for less conditions branching
8 years ago
Michaël Arnauts
70dc2fa33b
Fixes #11719 : Fixed `yii\db\Connection::$enableQueryCache` caused infinite loop when the same connection was used for `yii\caching\DbCache`
8 years ago
Alexander Makarov
eed00dc33d
Fixed PHP manual link language [skip ci]
8 years ago
Masterklavi
d077839d13
Changed return value in MemCache::setValues()
8 years ago
SilverFire - Dmitry Naumenko
b0b55472da
`yii\caching\Cache::getOrSet()` now supports both `Closure` and `callable`
...
Closes #13981
8 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Dmitry Naumenko
8f88780104
Fixed typo in warning message in Cache::getOrSet()
...
Fixes #13690
8 years ago
Paul Klimov
95b7ffc066
Fix #13278 : `DbQueryDependency` created ( #13384 )
...
`DbQueryDependency` created
8 years ago
Carsten Brandt
c19b2f7dc8
release version 2.0.11
8 years ago
Alexander Makarov
cc37cd626f
Fixes #12599 : Fixed MSSQL fail to work with `nvarbinary`. Enhanced SQL scripts compatibility with older versions
8 years ago