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
f5a071b1f8
Fix #20482 : Fix deprecation of ReflectionMethod::setAccessible() in PHP 8.5
2025-08-20 15:31:47 +03:00
023a9c7c5b
Fix @var and @method tags syntax in build and tests folders ( #20396 )
2025-06-10 19:32:49 +03:00
5df412df2c
Fix #20282 : Fix compatibility with PHP 8.4: deprecated constant E_STRICT
2024-12-06 12:31:20 +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
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
4b75427011
Fix regression of regression introduced in GHSA-cjcc-p67m-7qxm and #20232
2024-08-14 16:49:26 +02: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
40fe496eda
Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key
2024-07-24 23:54:09 +02:00
ce813e5060
Raise version min PHP 7.3.
2024-03-20 17:27:20 -03:00
4e7aac710f
Fix #19813 : Fix yii\base\DynamicModel validation with validators that reference missing attributes
2023-05-04 15:37:45 +03:00
391a741a63
Fix #15557 : Fix empty fields exclusion in safe attributes of yii\base\Model
2022-08-29 10:17:11 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
2874e070f3
Fix #19322 : Revert force setting value to empty string in case it's null in yii\validators\FilterValidator::validateAttribute()
2022-03-24 17:50:00 +04:00
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
2022-01-14 13:52:01 +03:00
6067608321
Fix #19005 : Add yii\base\Module::setControllerPath()
2021-12-09 10:46:15 +03:00
0d899fa18b
Fix #19030 : Add DI container usage to yii\base\Widget::end()
2021-11-30 23:58:24 +03:00
9ed87a0ad6
Fix #18858 : Reduce memory usage in yii\base\View::afterRender method
2021-09-14 17:41:53 +03:00
13f27e4d92
Fix #18817 : Use paragonie/random_compat for random bytes and int generation
2021-08-09 10:25:36 +03:00
50831e6f08
Travis leftovers cleanup
2021-03-03 02:21:39 +03:00
95bf26a3ba
Fix #18477 : Fix detecting availability of Xdebug's stack trace in yii\base\ErrorException
2021-01-13 16:13:41 +03:00
771e96d7db
Fix #18400 : Set parent module of the newly attached child module by Module::setModule() and Module::setModules()
2020-12-15 17:52:30 +03:00
0210999748
Fix #18308 : Fixed \yii\base\Model::getErrorSummary() reverse order
2020-10-02 11:43:30 +03:00
e348c0f460
Fix #18269 : Fix integer safe attribute to work properly in yii\base\Model
2020-09-07 00:33:50 +03:00
3ff6c9b527
Fix #17999 test
2020-07-01 23:41:41 +03:00
7eb184eadb
Fix #17999 : Fix skipping test case on PHP v >= 7.1 and LibreSSL version >= 2.15
2020-07-01 00:14:57 +03:00
a982f31606
Fixes #17300 : Fix class-level Event handling with wildcards
2020-01-15 13:16:05 +03:00
4c76dc4c90
Fix #16610 : ErrorException trace was cut when using XDebug
2019-09-18 13:40:10 +03:00
e7c6d3d889
Fix incorrect constant reference
2019-09-04 01:20:58 +03:00
90d46298ad
Fix #17507 : Fixed regular expression escaping and simpler condition in Controller::createAction()
2019-08-22 12:11:12 +03:00
491f9737fe
Fix #17223 : Fixed detaching a behavior event when it is a Closure instance
2019-08-13 20:35:42 +03:00
2b9374558b
Fix #17395 : Fixed issues with actions that contain underscores in their names
2019-07-08 13:46:43 +03:00
1c919a5ac5
Fixes #17377 : Add tests that verify there are no false positives
2019-06-18 12:22:35 +03:00
317a73a59f
Fixes #17336 : Fixed wildcard matching in Event::hasHandlers()
2019-06-04 15:07:51 +02:00
d0712e4918
added tests to verify issue #16484
...
the case is to match all module names before a catch-all URL rule.
module routes should work with "module name only", "module
name+controller name" and "module/controller/action".
2018-07-24 16:45:46 +02:00
ca3c8da503
Fixes #16377 : Fixed yii\base\Event:off() undefined index error when event handler does not match
2018-06-12 09:50:43 +03:00
aeeb6ce39d
Fixes #16252 : Fixed yii\base\DynamicModel for checking exist property
2018-05-30 22:51:52 +03:00
33fe3476c7
Fixes #16280 : Fixed yii\base\Model::getActiveValidators() to return correct validators for attribute on scenario
2018-05-21 01:17:34 +05:00
a8d95f429d
Fixes #14636 : Views can now use relative paths even when using themed views
2018-05-11 12:50:56 +03:00
2c997cdb82
Fixes #16184 : Fixed yii\base\Widget to access stack property with self instead of static
2018-04-29 12:36:10 +03:00
08c87aec4f
Fixed Component::off() not to throw an exception
...
Fixes #15822
2018-03-03 16:37:41 +02:00
71c541773f
PHPDoc fix
2018-01-23 13:17:25 +02:00
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
d7be512fa0
Fixes #10186 : Use native hash_equals in yii\base\Security::compareString() if available, throw exception if non-strings are compared
2018-01-18 01:58:32 +03:00
a559b9fa76
Fixes #14903 : Fixed route with extra dashes is executed controller while it should not
2018-01-09 18:59:07 +04:00
e813c20124
Fixes #3250 : Added support for events partial wildcard matching
2017-12-24 00:36:54 +03:00