19 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
4628b91e73 Fix types (#19332)
* Migration::upsert() returns void

* Unneeded `@property` tags

* Add missing `null` param/return types

* Null types for db\Query + db\ActiveQuery

* Fixed testSelect
2022-03-30 18:40:10 +02:00
fa6f0ef658 Fix variable references in phpdoc (#19006) 2021-11-10 13:26:55 +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
7dc9d07bcd Changable default flavor for Markdown helper
close #11438
2016-05-03 11:14:05 +02:00
87dd02a077 Remove unused code (#11395)
Using `Yii::createObject()` is enough to set config.
2016-04-22 10:27:08 +02:00
3e3948d8ea fix breaking changes in markdown for console and API
API is not finished.

issue #5082
2014-10-10 19:40:53 +02:00
91e0a3c8ee fix typo in define $flavors['gfm-comment']
fix typo Markdown->GithubMarkdown in $flavors['gfm-comment']
2014-08-03 21:42:38 +04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
0b2aafc780 fixed private / self in helpers
fixes #2886
2014-03-26 16:03:42 +01: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
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
c9c7db9ae5 fixed several issues with apidoc generator 2014-02-18 05:01:49 +01:00
9190e0f4dd Changed markdown library to cebe/markdown
- supports GFM now
- allows defining different flavors

fixes #47
2014-02-18 03:48:31 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00