3ad01aa0f0
Fix #19712 : cast shell_exec() output to string for jsCompressor
2022-12-12 14:55:08 +03:00
473ead8e46
Optimize: simplified regexp ( #19541 )
2022-09-06 09:42:58 +03:00
775e9468cb
Fix #14388 : Fixed fixture loading order in output message
2022-08-29 10:35:54 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
90d290056c
Fix #19477 : cast shell_exec() output to string
2022-07-22 13:55:58 +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
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
2022-01-14 13:52:01 +03:00
655786b7ed
release version 2.0.44
2021-12-30 10:50:56 +03:00
02fe7f42c8
Fix #18660 : Check name if backslash appears
2021-12-27 17:26:28 +03:00
fa6f0ef658
Fix variable references in phpdoc ( #19006 )
2021-11-10 13:26:55 +03:00
03235e6c12
Fix #18988 : Fix default value of yii\console\controllers\MessageController::$translator
2021-11-02 13:21:37 +03:00
480ae53f6d
Fix migration command example in BaseMigrateController ( #18978 )
2021-10-27 10:08:09 +03:00
97f9fba7e9
Fix #18962 : Extend ignore list in yii\console\MessageController::$except
2021-10-27 00:11:14 +03:00
0041f034fd
[doc] Update PHP doc links ( #18957 )
...
* Replace https://secure.php.net with https://www.php.net
* Replace http://www.php.net with https://www.php.net
2021-10-19 14:50:26 +02:00
f7c81fb044
Fix BaseMigrateController::$migrationPath phpdoc ( #18924 )
2021-10-01 23:35:54 +03:00
e3028c524d
Fix #18899 : Replace usages of strpos
with strncmp
and remove redundant usage of array_merge
and array_values
2021-09-28 11:06:46 +03:00
ac373c06fe
Fix #18845 : Fix duplicating id
in MigrateController::addDefaultPrimaryKey()
2021-09-03 11:35:19 +03:00
25c0e6dcad
Fix #18656 : Added ability for yii serve
's --router
param to take an alias
2021-07-27 22:35:47 +03:00
7966fe47e6
Scrutinizer fixes ( #18685 )
...
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/filters/AccessRule.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/helpers/BaseFileHelper.php?selectedLabels%5B0%5D=2&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Application.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Module.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/MultipartFormDataParser.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/web/Session.php?selectedLabels%5B0%5D=7&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/base/Controller.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Added vardocs, and small refactor
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/conditions/InConditionBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/Connection.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/mssql/QueryBuilder.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/log/Logger.php?selectedLabels%5B0%5D=6&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/BaseMigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Adding space between type
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/CacheController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/FixtureController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/console/controllers/MigrateController.php?selectedLabels%5B0%5D=18&selectedSeverities%5B0%5D=10&selectedSeverities%5B1%5D=5&orderField=path&order=asc&honorSelectedPaths=0
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/CacheController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
* Update framework/console/controllers/FixtureController.php
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2021-05-31 21:07:36 +03:00
31ca0fcb6f
Fix #18676 : Added method yii\helpers\BaseFileHelper::changeOwnership()
and properties newFileMode
/newFileOwnership
in yii\console\controllers\BaseMigrateController
...
Co-authored-by: Bizley <pawel@positive.codes>
2021-05-30 19:26:15 +03:00
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
b8f4958092
Fix #18442 : Fix calls with array access to strings
2020-12-23 01:08:58 +03:00
6cba80d887
Fix #18339 : Fix migrate controller actions to return exit codes
...
Co-authored-by: Bizley <pawel@positive.codes>
2020-12-09 16:48:39 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
3f3003d823
Fix #18303 : Fix creating migration issue for column methods used after defaultValues
2020-10-05 01:02:21 +03:00
e478c23bd4
Fix #17985 : Convert migrationNamespaces to array if needed
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-07-01 00:52:52 +03:00
e6c4640c98
Fix #17979 : Improve migrate/fresh command description
2020-04-18 11:53:18 +03:00
110199bcfd
Fix #17859 : Fix loading fixtures under Windows
2020-02-22 17:43:25 +03:00
67ff6f814b
Fix #17771 : migrate/fresh was not returning exit code
2020-01-09 15:31:54 +03:00
6e2b1782e5
Fix #16855 : Ignore console commands that have no actions
2019-09-10 19:00:43 +03:00
e50a07c30c
Fix #17437 : Fixed generating namespaced migrations
2019-07-23 17:28:43 +03:00
2b9374558b
Fix #17395 : Fixed issues with actions that contain underscores in their names
2019-07-08 13:46:43 +03:00
d23537fa26
Fix type annotations
2019-07-02 21:56:01 +03:00
757bc42645
Fixes #17325 : Fixed "Cannot drop view" for MySQL while migrate/fresh
2019-06-30 19:53:50 +03:00
0fcd495583
Fixes #16394 : Fixed issues in migrate/create
when specifying default values with colons and adding multiple columns
2019-06-26 12:44:24 +07:00
c5397f8784
Closes #16411 . Fix windows tests ( #17380 )
...
* Fix `\yiiunit\framework\helpers\ConsoleTest::testErrorSummary`
* Fix `\yiiunit\framework\console\controllers\PHPMessageControllerTest::testRemoveUnusedBehavior`
2019-06-19 16:48:20 +03:00
5b5150ae62
Fixes #17133 : Fixed aliases rendering during help generation for a console command
2019-03-09 15:35:19 +03:00
e6513a2c9e
Fixes #17124 : Fixed ErrorException when run ./yii fixture/unload
without arguments
2019-03-06 17:34:34 +03:00
905cfd9725
Fixes #17098 : Fixed message/extract when using message params returned from method calls
2019-02-07 20:44:11 +03:00
ec1809bed2
Fix to do not delete used message files with nested category names ( #17021 )
2019-01-06 16:20:25 -05:00
1a34f61e56
Fixes #16941 : Set yii\console\controllers\MigrateController::useTablePrefix
to true as default value
2019-01-03 12:16:42 -05:00
5250197d3b
Fixed typo in MessageController docs [skip ci] ( #16982 )
2018-12-30 16:38:39 -05:00
c162bd7ae7
Fixes #16910 : Fix messages sorting on extract
2018-12-12 22:57:24 +03:00
b5be47321b
Fixes #16469 : Allow cache to be specified as interface and to be configured in DI container
2018-12-10 11:41:45 +03:00
db1d730695
Fixes #16822 : Create config dir recursively in message/config
2018-12-05 01:37:12 +03:00
8150cd1ed4
Fixes #16580 : Delete unused php message files in MessageController if $removeUnused
option is on
2018-12-05 01:35:44 +03:00
5208ef761e
Fixes #16828 : yii\console\controllers\MessageController::translator
recognized object' methods and functions calls as identical sets of tokens
2018-11-03 11:19:27 +03:00
e55b3e0ba1
Fixes #16278 : Fixed drop existing views when console migrate/fresh
command runs
2018-06-30 02:19:40 +03:00
e4b559d720
Fixes #16217 : Fixed yii\console\controllers\HelpController
to work well in Windows environment
2018-05-12 14:47:00 +03:00