27 Commits

Author SHA1 Message Date
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
655786b7ed release version 2.0.44 2021-12-30 10:50:56 +03:00
4e2045c040 release version 2.0.41 2021-03-04 00:51:35 +03:00
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00
26789ed04e Fixes #17093 by reverting #16891 (#17154) 2019-02-23 00:29:20 +03:00
768d590eef added missing @since annotations 2019-01-31 00:45:25 +01:00
e1623868f9 Fixes #16891: Fixed Pagination::totalCount initialized incorrectly 2019-01-01 13:24:14 -05: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
be658f82bf release version 2.0.12 2017-06-05 16:33:41 +02:00
ae7378974e Fixes #13376: Data provider now automatically sets an ID so there is no need to set it manually in case multiple data providers are used with pagination 2017-04-01 18:27:27 +03:00
c19b2f7dc8 release version 2.0.11 2017-02-01 17:46:29 +01: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
11fe407ad0 release version 2.0.10 2016-10-20 14:02:50 +02:00
976acc6146 Update BaseDataProvider.php (#12168) [skip ci] 2016-08-16 10:14:56 +03:00
7e96db253d Add missing documentation for getSort (#11862) [skip ci] 2016-07-01 18:25:31 +03:00
731769241b release version 2.0.8 2016-04-28 16:50:20 +02:00
8001f2b259 Update BaseDataProvider.php (#11342) 2016-04-13 13:02:22 +03:00
b53bbb34e9 Fixed typo 2015-09-16 17:38:02 +03:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
5d0ec52a52 Added support for reading page size from query parameters by Pagination 2014-02-27 20:01:09 -05:00
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00