115 Commits

Author SHA1 Message Date
c960f93dfe Use ::class instead of ::className() in tests. (#20612) 2025-10-14 19:26:35 +03:00
d71f7309ae Add void return to method in tests. (#20602) 2025-10-14 12:37:35 +03:00
909396074e Fix codestyle in build and tests (#20586) 2025-10-10 23:04:09 +03:00
f5a071b1f8 Fix #20482: Fix deprecation of ReflectionMethod::setAccessible() in PHP 8.5 2025-08-20 15:31:47 +03:00
023a9c7c5b Fix @var and @method tags syntax in build and tests folders (#20396) 2025-06-10 19:32:49 +03:00
aec3b79e6d Change @expectException with $this->expectException. 2024-03-20 18:49:27 -03:00
ce813e5060 Raise version min PHP 7.3. 2024-03-20 17:27:20 -03:00
f58eb362ca Remove YII_ENV. 2023-10-21 08:53:15 -03:00
f8b49ce511 Fix getMockbuilder className(). 2023-10-20 12:59:20 -03:00
c56bccd913 Fix error typo. 2023-10-20 12:50:20 -03:00
e726284a48 Fix php 5. 2023-10-20 12:45:51 -03:00
ecc6c6121e Use Mock tests, after checking the real test. 2023-10-20 12:42:19 -03:00
70a7282fec Fix yii server and add tests. 2023-10-20 10:45:21 -03:00
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
02fe7f42c8 Fix #18660: Check name if backslash appears 2021-12-27 17:26:28 +03:00
766cf701e5 Fix #19031: Fix displaying console help for parameters with declared types 2021-12-01 15:11:19 +03:00
03235e6c12 Fix #18988: Fix default value of yii\console\controllers\MessageController::$translator 2021-11-02 13:21:37 +03:00
ac373c06fe Fix #18845: Fix duplicating id in MigrateController::addDefaultPrimaryKey() 2021-09-03 11:35:19 +03:00
34441ca549 Fix #14343: Fix yii\test\ActiveFixture to use model's DB connection instead of the default one 2021-03-22 00:37:54 +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
3f3003d823 Fix #18303: Fix creating migration issue for column methods used after defaultValues 2020-10-05 01:02:21 +03:00
d22689e95b Fix test 2020-07-07 15:04:43 +03:00
5c3ee63316 Fix #15202: Add optional param --silent-exit-on-exception in yii\console\Controller 2020-06-23 13:34:09 +03:00
fc4f449e21 Fix #18083: Add Controller::$request and $response 2020-06-14 21:19:27 +03:00
e22c9c6d68 Fix incorrect assertion in fixture test (#17904) 2020-03-02 17:38:31 +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
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
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
36ed136caf Issue #14388: test of dependent ActiveFixtures loading (#17012) 2019-01-04 09:24:38 -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
3616dc5e74 Fix test output (Prevent output among phpunit tests) (#15717)
* Clear output in MigrateControllerTest::testCreateLongNamedMigration

* Clear output in FragmentCacheTest::testVariations
2018-02-21 09:55:17 +02:00
71c541773f PHPDoc fix 2018-01-23 13:17:25 +02:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
1b8da6d951 Add StringHelper::matchWildcard() (#15389)
`StringHelper::matchWildcard()` added
2017-12-20 16:16:25 +02:00
4270470523 Various test fixes (mostly Windows-specific) (#15336) 2017-12-11 22:59:17 +03:00
8897ea7270 Fixes #15249: Controllers in subdirectories were not visible in commands list 2017-11-30 22:06:24 +03:00
e311001ef5 #14543: Adjusted implementation of migration name length limit 2017-10-27 00:20:37 +03:00
614fb52c45 Fixes #14543: Throw exception when trying to create migration longer than 255 symbols 2017-10-23 23:21:44 +03:00
f5c98f9664 Fixed tests for HHVM (#14941) 2017-10-07 20:13:11 +02:00
f5591bb70e Closes #13792: added test verifying unused messages are not removed 2017-10-06 22:59:04 +01:00
6bde69aa96 Fixes #14016: Fixed empty messages marked as unused in PHP and PO sources when extracted with message command when markUnused is false 2017-10-06 22:24:38 +02:00
a1ddd8b907 Fixes #14129: Fixed console help to properly work with tricky camelcased controller names 2017-09-29 23:02:09 +03:00