1816 Commits

Author SHA1 Message Date
909396074e Fix codestyle in build and tests (#20586) 2025-10-10 23:04:09 +03:00
c82da8dc82 Add visibility for all class elements (#20557) 2025-10-02 01:27:23 +03:00
9b158e514e Upgrade tests for PHP 7.4. (#20545) 2025-09-30 01:33:08 +03:00
d8ba4c0468 Fix #19526: Add the convertIniSizeToBytes method to BaseStringHelper 2025-09-30 01:27:40 +03:00
54fb1cc7af Remove unused imports (#20554) 2025-09-30 01:22:41 +03:00
dc65bd3726 Fix #19655: Fix LinkPager::getPageRange when maxButtons is 2 2025-09-27 11:56:04 +03:00
31106c86fe Fix #20541: Remove deprecated caching components: XCache and ZendDataCache, and update related tests and documentation 2025-09-26 11:43:19 +03:00
7143fdfe3e Fix #20530: Fix notice "Object of class DateTimeImmutable could not be converted to int" in CookieCollection::has 2025-09-16 21:28:41 +03:00
2e20fd361a Fix @var annotation in ActiveRecordTestTrait (#20519) 2025-09-11 18:18:31 +03:00
9b417e5f6d Fix #20505: ArrayDataProvider key handling with flexible path support 2025-08-30 14:02:12 +03:00
1ce35f98b0 Fix #20495: Fix behavior when resetting sequence in QueryBuilder for MSSQL 2025-08-26 22:04:27 +03:00
28b6ca7002 Fix #20485: Fix error Cannot unset string offsets in yii\di\Instance:ensure(['__class' => ...], 'some\class\name'), Integrate PHPStan for static analysis 2025-08-26 22:01:33 +03:00
f5a071b1f8 Fix #20482: Fix deprecation of ReflectionMethod::setAccessible() in PHP 8.5 2025-08-20 15:31:47 +03:00
5aabdd3a21 Fix #20447: Fix behavior for yii\web\Controller::bindActionParams around mixed type 2025-08-18 18:06:37 +03:00
f3eefee572 Fix #20348: ErrorHandler::convertExceptionToError() Passing E_USER_ERROR to trigger_error() is deprecated since PHP 8.4 2025-06-25 15:07:46 +03:00
4c5a6c5035 Fix #20423: strcmp() Passing null to parameter 2 ($string2) of type string is deprecated 2025-06-19 19:24:22 +03:00
023a9c7c5b Fix @var and @method tags syntax in build and tests folders (#20396) 2025-06-10 19:32:49 +03:00
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
7037fd46ab Fix #20355: Fix SQL syntax for resetting sequence in QueryBuilder for MSSQL 2025-04-19 23:15:28 +03:00
a67bfc1274 array union in controllers
! fix yii\web\Controller::bindActionParams behaviour for union types
o some refactoring in the process
2025-04-10 10:34:06 +02:00
e5d1dbbd1e Fix tests for use_trans_id 2025-04-04 11:53:53 +03:00
2e8f686b98 Fix #8298: Loading fixtures does not update table sequence for Postgresql database 2025-04-02 12:22:20 +03:00
e38f62e55b Fix #20329: pgsql: Column Schema doesn't recognize PG type cast 2025-02-27 17:33:35 +03:00
dbb82a25a2 Fix #20332: Added support for the '__class' key in \yii\di\Instance:eunsure(['__class' => ...]) 2025-02-27 17:32:44 +03:00
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
a8586fc296 Fix #20300: Clear stat cache in FileCache::setValue() 2024-12-30 19:53:25 +03:00
ea4964dede Fix enum test. Value used in assertion should match the actual enum name. 2024-12-10 12:40:50 +02:00
4b4eb9dab1 Rename enum cases to match suggested formatting (RFC) 2024-12-06 19:23:52 +02:00
0acf0db753 Support BackedEnum attribute typecast behaviour. 2024-12-06 19:04:35 +02:00
65e3369e16 Fix #20140: Fix compatibility with PHP 8.4: calling session_set_save_handler() 2024-12-06 13:34:47 +03:00
5df412df2c Fix #20282: Fix compatibility with PHP 8.4: deprecated constant E_STRICT 2024-12-06 12:31:20 +03:00
8fe8cdd4d9 reset useCookie value (#20287)
* reset useCookie value
see also https://github.com/yiisoft/yii2-docker/issues/174

* removed empty line
2024-12-06 09:10:17 +03:00
36b34b0dc1 fix 'unafe' typo 2024-11-28 12:01:15 +07:00
2ef9471af6 update tests 2024-11-23 19:15:20 +07:00
717b285115 add CSRF validation by custom HTTP header 2024-11-23 18:58:06 +07:00
363f90a202 Merge branch 'master' into 20267-widget-end-resolved-classes 2024-10-30 22:39:22 +02:00
e4d5d73490 Fix #20268: Minor optimisation in \yii\helpers\BaseArrayHelper::map 2024-10-27 13:37:09 +03:00
8a0992d5c0 Fixed called class check in Widget::end() when widget configured using callable
See #20267
2024-10-19 20:37:49 +03:00
d9116d3ccd Merge branch 'master' into feature/attach-behaviors-with-closure
# Conflicts:
#	framework/base/Component.php
#	tests/framework/base/ComponentTest.php
2024-09-23 09:39:26 -04:00
899a833b16 Merge pull request #20243 from erickskrauch/fix_behaviors_attachment
Fix restored vulnerability after #20232
2024-09-14 12:23:36 +03:00
be3d8efe0b Fix attachBehavior test 2024-08-22 15:29:41 -04:00
cc05f92181 Attach behavior via "as foo" with Closure 2024-08-21 23:35:57 -04:00
5abe83e323 Fix #20247: Support for variadic console controller action methods 2024-08-19 08:30:57 +03:00
05a8fbee3e Merge branch 'master' into fix_behaviors_attachment
# Conflicts:
#	framework/base/Component.php
#	tests/framework/base/ComponentTest.php
2024-08-14 16:56:38 +02:00
4b75427011 Fix regression of regression introduced in GHSA-cjcc-p67m-7qxm and #20232 2024-08-14 16:49:26 +02:00
0d0f77529a Fix #20231: Fix regression introduced in #20167 in yii\validators\FileValidator 2024-07-26 19:06:32 +03:00
6abe5bf008 Fix #20232: Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key 2024-07-25 11:04:56 +03:00