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
0fbec30bbc
Docs enhancement ( #15464 ) [skip ci]
2018-05-14 12:59:00 +03: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
14984328e5
SCA with Php Inspections (EA Ultimate) ( #16105 )
2018-04-16 13:22:54 +03:00
1a74b3d4f8
[minor] SCA with Php Inspections (EA Ultimate) ( #15871 )
...
* Php Inspections (EA Ultimate): use type casting where applicable
* Php Inspections (EA Ultimate): use constants where applicable
* Php Inspections (EA Ultimate): CS
* Php Inspections (EA Ultimate): address some of one-time used variables
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): address some of performance-related findings
* Php Inspections (EA Ultimate): revert a constant usage
* Php Inspections (EA Ultimate): revert sequential assignments
* Php Inspections (EA Ultimate): build is green again
* Php Inspections (EA Ultimate): revert array_merge tweaks
* Php Inspections (EA Ultimate): revert BC-incompatible one-time used variable tweak
* Update description [skip ci]
* Php Inspections (EA Ultimate): CS
2018-03-12 01:37:19 +03:00
5e16c67673
Merge pull request #15797 from kalessil/master
...
[minor] Static code analysis
2018-03-10 15:42:48 +02:00
08c87aec4f
Fixed Component::off() not to throw an exception
...
Fixes #15822
2018-03-03 16:37:41 +02:00
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
596e5b1283
Fixed escaping in arrayable trait ( #15669 )
2018-02-19 00:31:41 +03:00
05b85008f8
Updated PHPDocs [skip ci]
2018-02-18 23:12:08 +02:00
69a36789c4
fixed duplicating wildcard event trigger at Event::trigger()
2018-02-18 21:33:11 +02:00
0de49406db
Minor code style adjustments, phpdoc
2018-02-18 02:56:56 +03:00
a1937544e0
Code style adjustments
2018-02-18 02:41:49 +03:00
e493843b1c
improve @deprecated annotations
2018-02-16 11:19:00 +01:00
c382d3e8d4
Fixes #15120 : Refactored dynamic caching introducing DynamicContentAwareInterface and DynamicContentAwareTrait
2018-02-13 00:19:01 +03:00
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()`
2018-02-11 01:48:29 +03:00
65f6b59b35
@inheritdoc notation changed
2018-01-23 13:11:24 +02:00
6b0be47e0f
Fixes #14711 : Fixed yii\web\ErrorHandler displaying exception message in non-debug mode
2018-01-22 11:41:24 +03: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
f1277d6d21
Fixes #6844 : yii\base\ArrayableTrait::toArray() now allows recursive $fields and $expand
2018-01-15 18:15: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
533f9edd35
generatePasswordHash() documentation example syntax error fixed
2018-01-05 17:47:20 +05:30
e813c20124
Fixes #3250 : Added support for events partial wildcard matching
2017-12-24 00:36:54 +03:00
921310fd69
condition optimized
2017-12-23 15:33:42 +02:00
c2cf1f03ca
Event wildcards added to Event
2017-12-22 17:32:03 +02:00
072ef77ea5
Prevent source path disclosure when form is represented by an anonymous class
2017-12-22 12:21:32 +02:00
8fccf7f6ca
Event wildcards added
2017-12-20 17:44:03 +02:00
1b8da6d951
Add StringHelper::matchWildcard() ( #15389 )
...
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
f11f818b18
Fixes #7988 : Added \yii\helpers\Console::errorSummary() and \yii\helpers\Json::errorSummary()
2017-12-14 10:59:53 +03:00
713529e042
Fixes #8752 : Allow specify $attributeNames as a string for yii\base\Model validate() method
2017-12-13 23:00:36 +03:00
05f197825b
Fixes #15332 : Always check for availability of openssl_pseudo_random_bytes, even if LibreSSL is available
2017-12-12 11:25:12 +03:00
2d672b6722
release version 2.0.13
2017-11-03 01:09:29 +03:00
fb23b0d0ea
Code style fixes
2017-11-01 02:43:02 +03:00
22d453faac
Fixes #14134 : Fixed multiple validateAttribute() calls when scenarios() returns duplicate attributes
2017-10-07 19:40:06 +02:00
f1cb76bc76
Fixes #14882 : Corrected action phpdoc to fix IDE hints in console commands [skip ci]
2017-09-29 22:11:47 +03:00
04281cba8c
Fixes #14793 : Module ->get() and ->has() methods now check parent modules and fall back to application if nothing found
2017-09-13 01:32:57 +03:00
8861aab2ac
more details in upgrade notes
2017-09-08 17:10:16 +02:00
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
2017-08-29 15:13:28 +03:00
c1b5240888
Added PHPDoc @throws to yii\base\View::renderPhpFile() [skip ci]
2017-08-28 02:32:27 +03:00
4081a4b203
Fixes #14184 : Module service locator now falls back to its parent module service locator in case component isn't found
2017-08-23 00:38:39 +03: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
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
393fc2744a
Added yii\base\Object for backwards compatibility
...
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
2017-07-19 10:51:46 +02:00
03d53b785d
Fixes #14449 : Fix PHP 7.2 compatibility bugs and add explicit closure support in yii\base\Application
2017-07-14 12:23:03 +03:00
a50d9d8e3e
Enable include rule in php-cs-fixer ( #14418 )
2017-07-10 13:19:57 +03:00