a8586fc296
Fix #20300 : Clear stat cache in FileCache::setValue()
2024-12-30 19:53:25 +03:00
52ff9dbd48
Prefer classic if
construct #20294
2024-12-09 17:59:51 +06:00
b3c23da52f
Append additional (error) message only if error_get_last()
returns non-null value #20294
2024-12-08 23:34:05 +06:00
10fa457f32
Fix "Trying to access array offset on null" warning, since the return value of error_get_last()
can be null
#17365
2024-12-08 13:46:32 +06:00
52e4a3e645
release version 2.0.50
2024-05-30 20:23:31 +03:00
e2a167028b
Upgrade to PSR12 coding standard ( #20121 )
2024-03-19 17:21:27 +03:00
d41752bec8
19265 fix file cache duration phpdoc ( #19623 )
...
* #19265 fix file cache duration phpdoc
* #19265 fix file cache duration phpdoc
* Update framework/caching/FileCache.php
Co-authored-by: Bizley <pawel@positive.codes>
* #19265 remove CHANGELOG.md line
* #19265 add CHANGELOG.md line
Co-authored-by: Márton Somogyi <somogyi.marton@metrisoft.hu>
Co-authored-by: Bizley <pawel@positive.codes>
2022-10-16 12:14:01 +02:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
e3028c524d
Fix #18899 : Replace usages of strpos
with strncmp
and remove redundant usage of array_merge
and array_values
2021-09-28 11:06:46 +03:00
13f27e4d92
Fix #18817 : Use paragonie/random_compat
for random bytes and int generation
2021-08-09 10:25:36 +03:00
b8f4958092
Fix #18442 : Fix calls with array access to strings
2020-12-23 01:08:58 +03:00
f8337a15c2
Fix #18263 : Fix writing \yii\caching\FileCache
files to the same directory when keyPrefix
is set
2020-10-24 13:13:19 +03:00
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
2018-04-22 09:49:07 +03:00
fe8a0a6a2e
Enable no_useless_else
rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02: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
251c316977
Better implementation of FileCache::getValue()
2015-07-13 00:45:55 +03:00
398caaf7fd
Fixes #8549 : Fixed yii\caching\FileCache
doesn't lock cache files when reading
2015-07-10 12:18:26 +03:00
1a7d9ac809
Fixes #9038 : Write warning to log in case FileCache
fails to write into file
2015-07-08 16:12:02 +03:00
88371fb147
Trigger garbage collection in FileCache
...
close #8569
2015-05-27 13:05:51 +02:00
b48e46a25b
Added error logging at yii\caching\FileCache::gcRecursive()
2014-08-19 12:45:30 +03:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
32e8e004ea
Fixes #4253 fixed phpdoc
2014-07-11 11:15:19 +04:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
f54dd266df
reverted incorrect renaming.
2014-03-23 16:48:50 -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
0013b608b6
Fixes #2734 : FileCache::keyPrefix
defaults to empty string now
2014-03-13 08:16:44 -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
7599d7860c
refactored getAlias and setAlias.
2013-04-11 22:55:31 -04:00
1d48d01ef7
refactored View.
2013-03-20 22:03:13 -04:00
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -05:00
11d374a83d
finished cleanup of caching components.
2013-01-18 18:28:28 -05:00
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
78623f3ebb
Finished all cache components.
2012-05-29 20:38:17 -04:00
c225242290
working on caching.
2012-05-28 13:45:50 -04:00
e8b0fd1327
...
2012-05-19 09:46:32 -04:00