41 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
1501c659ac Add empty lines before return statements. (#14682) [skip ci] 2017-08-21 01:58:49 +03:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
f6b54e1ac8 Fixes #14089: Added tests for yii\base\Theme 2017-06-11 17:38:23 +03:00
4b9e48b8dc improved docs: link term "path alias" to the guide 2017-06-02 10:45:20 +02:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
9b5f6cb188 prepare for 2.0.7 release
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
6d9fe671de various code style and whitespace adjustments 2015-08-02 00:27:19 +02:00
b6be7111c6 Fixes #6488: Support changing yii\base\Theme::basePath during runtime 2014-12-16 23:29:52 -05:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
ada39df60b Corrected theming docs not to give an example of theme view files under webroot 2014-04-02 17:07:04 +04:00
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
a73abd9300 better to use strict comparison as much as possible 2014-03-19 19:51:51 +04:00
0fa8f8cc01 fixed Theme::getPath() 2014-03-19 16:53:35 +04:00
ac0a56e9d0 reverted deletion of Theme::getPath() 2014-03-19 16:29:59 +04:00
b3053f4346 Made Theme::basePath optional fixes #2810 2014-03-19 15:43:37 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
c01ffe7dc2 Fixes #2303: support setting basePath and baseUrl as aliases during runtime. 2014-03-14 20:31:36 -04:00
9973a2fa20 Fixed phpdoc class reference in Theme 2014-03-04 00:56:13 +04:00
00f34f390a Fixes #2303: Fixed the bug that yii\base\Theme::pathMap did not support dynamic update with path aliases 2014-02-04 07:40:57 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
5b412b8f84 script WIP 2013-04-16 17:42:31 -04:00
79b278c816 refactored theme. 2013-04-09 08:38:31 -04:00
884977a724 renamed util to helpers. 2013-03-23 15:32:26 -04:00
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
4fdaab3560 updated file header. 2013-03-04 08:03:46 -05:00
8b2b7915b4 Renamed application to app. 2013-02-05 16:12:22 -05:00
bd320533ab MVC WIP 2013-01-30 19:49:38 -05:00
edc48dc9c7 removed ApplicationComponent. 2013-01-20 11:26:15 -05:00
6ed01e9645 DB cleanup. 2013-01-18 08:35:09 -05:00
8e05e6e62d changed copyright line. 2013-01-07 11:34:52 -05:00
b1047e7ff6 refactored object creation.
added more exception classes.
working on request and response classes.
2012-06-30 22:21:28 -04:00
0c85d56b74 finished view. 2012-05-28 00:03:17 -04:00
e8b0fd1327 ... 2012-05-19 09:46:32 -04:00
e7a5e8ab37 ... 2012-05-18 07:37:47 -04:00