Dmitry Eliseev
4479c66522
Fixed phpdoc types
2021-03-12 23:41:48 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Bizley
95bf26a3ba
Fix #18477 : Fix detecting availability of Xdebug's stack trace in yii\base\ErrorException
2021-01-13 16:13:41 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
stevekr
5995edb670
Update public property types of yii\base\Module
2021-01-11 15:20:11 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Bizley
cffb129605
Few quick fixes to make IDE happy
2020-12-22 18:44:15 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Spell6inder
fb35f20f6d
Fix #18435 : Change the check order whether an object is an implementation of Arrayable or JsonSerializable in \yii\base\ArrayableTrait::toArray() and \yii\rest\Serializer::serialize()
2020-12-21 11:08:09 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ikko Ashimine
15327fe969
Fix typo in ArrayableTrait.php
...
embeded -> embedded
2020-12-17 23:17:12 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yusup Hambali
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
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
stevekr
e77fee2482
Fix phpdoc types
2020-11-24 17:45:01 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
stevekr
51c72b582b
Fix types in Controller and View classes ( #18397 )
...
* Set yii\base\Controller::actions() return type
* Change yii\base\View::$params type to array
2020-11-19 14:46:13 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
ed1c087784
Fix #18317 : Additional PHP 8 compatibility fixes
...
Co-authored-by: Bizley <pawel@positive.codes >
2020-10-23 12:42:44 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
DrDeath72
0210999748
Fix #18308 : Fixed \yii\base\Model::getErrorSummary() reverse order
2020-10-02 11:43:30 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
My6UoT9
03da5bb689
Updates to ErrorHandler, add missing type hint \Throwable ( #18302 )
...
* Updated phpdoc so it has \Throwable
- `abstract protected function renderException($exception);` is extended in web/ErrorHandler to also have `\Error`.
- `public static function convertExceptionToError($exception)` is called from widgets/ActiveField.php with
```
/**
* PHP magic method that returns the string representation of this object.
* @return string the string representation of this object.
*/
public function __toString()
{
// __toString cannot throw exception
// use trigger_error to bypass this limitation
try {
return $this->render();
} catch (\Exception $e) {
ErrorHandler::convertExceptionToError($e);
return '';
} catch (\Throwable $e) {
ErrorHandler::convertExceptionToError($e);
return '';
}
}
```
* Add \Throwable to phpdoc in response.php
The ErrorHandler has been updated in phpdoc to have throwable, this complets that change.
* Update ErrorHandler.php
fixed missing `|`
2020-09-30 02:34:23 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
My6UoT9
2ce927788a
Update phpdoc for widget->getId ( #18295 )
...
The private variable `$_id` is only set when `$autogenerate` is true, else it stays null, and will be returned by the function.
2020-09-21 14:56:52 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Vladislav Pototskiy
e348c0f460
Fix #18269 : Fix integer safe attribute to work properly in yii\base\Model
2020-09-07 00:33:50 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
700ac02706
release version 2.0.36
2020-07-08 00:45:32 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
38f038175f
Adjust changelog, correct phpdoc, minor code style fixes
2020-07-07 15:00:16 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Deryabin Sergey
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
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
egorrishe
5c3ee63316
Fix #15202 : Add optional param --silent-exit-on-exception in yii\console\Controller
2020-06-23 13:34:09 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
ErickSkrauch
2e21a8275c
Fix #18115 : Allow to load action-injected services from module's container
2020-06-22 23:49:02 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Brandon Kelly
fc4f449e21
Fix #18083 : Add Controller::$request and $response
2020-06-14 21:19:27 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Sam
4ea484ca68
Fix #17722 : Add action injection support
2020-06-12 10:06:18 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
60a39654dd
release version 2.0.35
2020-05-02 14:11:31 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
f425f1a655
Fix DynamicModel phpdoc
2020-05-02 14:09:40 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Maksym Storchak
c32811887a
Fix #18011 : Added attribute labels support for DynamicModel, fixed EachValidator to pass the attribute label to the underlying DynamicModel
2020-05-02 02:14:03 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
ricardomm85
355ca1562d
Fix #17810 : Fix EachValidator crashing with uninitialized typed properties
2020-04-04 15:03:09 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
82649fc741
Fix formatting
2020-03-26 23:37:59 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
fbd7eded2d
Bug #17933 : Log warning instead of erroring when URLManager is unable to initialize cache
2020-03-26 23:21:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Ivan Hermanov
6e9764b467
Added support of JsonSerializable interface to ArrayableTrait ( #17888 )
2020-02-22 12:34:27 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
fd6ccb615c
release version 2.0.32
2020-01-22 01:29:38 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Toma91
a982f31606
Fixes #17300 : Fix class-level Event handling with wildcards
2020-01-15 13:16:05 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Sam
9b1304ab4e
Fix #17803 : Fixed ErrorHandler unregister and register only change global state when applicable
2020-01-15 00:08:05 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Robert Korulczyk
383cf0c48d
Fix #17762 : PHP 7.4: Remove special condition for converting PHP errors to exceptions if they occurred inside of __toString() call
2019-12-25 12:25:04 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yusup Hambali
05aae044e5
Fix #17720 : DI 3 support for application core components and default object configurations
2019-12-12 02:48:42 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
e153c68768
Fix #17725 : Ensure we do not use external polyfills for pbkdf2() as these may be implemented incorrectly
2019-12-11 18:55:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
69b1966b4a
PHP 7.4 fixes
...
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
2019-12-10 15:08:45 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Yusup Hambali
c1e9739ed2
Fix #17670 : Fix overriding core component class using __class
2019-11-19 20:10:26 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
166f892f14
Fix #17673 : Add note about renderDynamic() and register*() methods [skip ci]
2019-11-19 17:15:38 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Viktor Khokhryakov
4c76dc4c90
Fix #16610 : ErrorException trace was cut when using XDebug
2019-09-18 13:40:10 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
18401399fe
Inline constant since it is not part of the public interface
...
In Yii 3 instead I'd make constant private but we have no PHP 7 in 2.0
2019-09-04 00:35:53 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Somogyi Márton
90d46298ad
Fix #17507 : Fixed regular expression escaping and simpler condition in Controller::createAction()
2019-08-22 12:11:12 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
2927a7af1c
release version 2.0.25
2019-08-13 23:04:44 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
2d96095e9e
Fix phpdoc [skip ci]
2019-08-13 23:04:07 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Nikolay Poryadin
491f9737fe
Fix #17223 : Fixed detaching a behavior event when it is a Closure instance
2019-08-13 20:35:42 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
yuniorsk
d3bd1403de
Fixes docs for createController method ( #17478 ) [skip ci]
2019-07-30 17:42:47 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
331d997185
Noted in Security::encrypt* that data returned is byte string [skip ci]
2019-07-12 15:13:53 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
1f6cc43337
Remove unnecessary concatenation
2019-07-02 21:34:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Kartavenko
b0a973a8da
Fix #17396 : Added 'invoked by controller' to the debug log message when \yii\base\Action is used
2019-06-28 01:50:44 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)
Alexander Makarov
1c919a5ac5
Fixes #17377 : Add tests that verify there are no false positives
2019-06-18 12:22:35 +03:00
octicon-copy(16/)
octicon-file-diff(16/)
octicon-file-code(16/)