Commit Graph

1832 Commits

Author SHA1 Message Date
Wilmer Arambula
1821a61ddc Refactor tests to use willReturnCallback with invocation matcher for withConsecutive deprecated method. (#20646) 2025-10-31 07:29:29 -03:00
Wilmer Arambula
c311720922 Fix testExceptionContainsRawQuery() in ConnectionTest class in SQLite. (#20653) 2025-10-31 05:57:06 -03:00
Wilmer Arambula
7b6a617364 Merge pull request #20657 from terabytesoftw/fix-sqlite-tests-3 2025-10-30 09:44:13 +03:00
Wilmer Arambula
ed6989d87b Fix SQLite CommandTest skipped tests and minor fixes. (#20648) 2025-10-29 11:51:58 -03:00
Wilmer Arambula
d1ecf2ec2a Add SQLite InconditionBuilderTest class to assert subquery IN is not supported and raise code coverage. (#20652) 2025-10-29 11:06:36 -03:00
Wilmer Arambula
fa724b128f Make test data providers static and declare array return types in QueryBuilderTest class. (#20635) 2025-10-27 09:46:41 -03:00
Maksim Spirkov
2f8e62d6b6 Fix codestyle in tests (#20638) 2025-10-27 10:56:00 +03:00
Wilmer Arambula
6067cbbd76 Make conditionProviders() method static and declare array return type array in QueryBuilderTest class. (#20633) 2025-10-21 20:02:21 +03:00
Wilmer Arambula
f983c66cf5 Make test data providers static and declare array return types in db tests. (#20631) 2025-10-21 14:28:49 +03:00
Maksim Spirkov
9676e529eb Fix #20628: Fix @return annotations for lastInsertId methods in yii\db\mssql namespace 2025-10-20 15:08:07 +03:00
Maksim Spirkov
f9c1c1d6fd Fix local test execution tools (#20627) 2025-10-19 18:49:34 +03:00
Wilmer Arambula
da20adc82a Make test data providers static and declare array return types. (#20621) 2025-10-15 20:01:34 +03:00
Wilmer Arambula
80545100b3 Replace deprecated PHPUnit mock builder setMethods() usage with createPartialMock(), onlyMethods() and addMethods() methods. (#20616) 2025-10-15 01:07:13 +03:00
Maksim Spirkov
d26cddccfb Fix #20605: Fix return value in SerialColumn::renderDataCellContent() 2025-10-14 19:37:14 +03:00
Wilmer Arambula
c960f93dfe Use ::class instead of ::className() in tests. (#20612) 2025-10-14 19:26:35 +03:00
Wilmer Arambula
d71f7309ae Add void return to method in tests. (#20602) 2025-10-14 12:37:35 +03:00
Maksim Spirkov
909396074e Fix codestyle in build and tests (#20586) 2025-10-10 23:04:09 +03:00
Maksim Spirkov
c82da8dc82 Add visibility for all class elements (#20557) 2025-10-02 01:27:23 +03:00
Wilmer Arambula
9b158e514e Upgrade tests for PHP 7.4. (#20545) 2025-09-30 01:33:08 +03:00
Maksim Spirkov
d8ba4c0468 Fix #19526: Add the convertIniSizeToBytes method to BaseStringHelper 2025-09-30 01:27:40 +03:00
Maksim Spirkov
54fb1cc7af Remove unused imports (#20554) 2025-09-30 01:22:41 +03:00
Maksim Spirkov
dc65bd3726 Fix #19655: Fix LinkPager::getPageRange when maxButtons is 2 2025-09-27 11:56:04 +03:00
Wilmer Arambula
31106c86fe Fix #20541: Remove deprecated caching components: XCache and ZendDataCache, and update related tests and documentation 2025-09-26 11:43:19 +03:00
Maksim Spirkov
7143fdfe3e Fix #20530: Fix notice "Object of class DateTimeImmutable could not be converted to int" in CookieCollection::has 2025-09-16 21:28:41 +03:00
Maksim Spirkov
2e20fd361a Fix @var annotation in ActiveRecordTestTrait (#20519) 2025-09-11 18:18:31 +03:00
AIZAWA Hina
9b417e5f6d Fix #20505: ArrayDataProvider key handling with flexible path support 2025-08-30 14:02:12 +03:00
Aurélien Chretien
1ce35f98b0 Fix #20495: Fix behavior when resetting sequence in QueryBuilder for MSSQL 2025-08-26 22:04:27 +03:00
Maksim Spirkov
28b6ca7002 Fix #20485: Fix error Cannot unset string offsets in yii\di\Instance:ensure(['__class' => ...], 'some\class\name'), Integrate PHPStan for static analysis 2025-08-26 22:01:33 +03:00
Wilmer Arambula
f5a071b1f8 Fix #20482: Fix deprecation of ReflectionMethod::setAccessible() in PHP 8.5 2025-08-20 15:31:47 +03:00
Christina Reichel
5aabdd3a21 Fix #20447: Fix behavior for yii\web\Controller::bindActionParams around mixed type 2025-08-18 18:06:37 +03:00
Wilmer Arambula
f3eefee572 Fix #20348: ErrorHandler::convertExceptionToError() Passing E_USER_ERROR to trigger_error() is deprecated since PHP 8.4 2025-06-25 15:07:46 +03:00
Wilmer Arambula
4c5a6c5035 Fix #20423: strcmp() Passing null to parameter 2 ($string2) of type string is deprecated 2025-06-19 19:24:22 +03:00
Максим Спирков
023a9c7c5b Fix @var and @method tags syntax in build and tests folders (#20396) 2025-06-10 19:32:49 +03:00
Christina Reichel
fee7a56f04 Merge branch 'master' into controller-array-fix 2025-05-19 12:22:15 +02:00
Chris Reichel
848a90dea8 array union in controllers
! fix issue when handling parameter with string type, add according test
2025-05-19 12:21:45 +02:00
Wilmer Arambula
7037fd46ab Fix #20355: Fix SQL syntax for resetting sequence in QueryBuilder for MSSQL 2025-04-19 23:15:28 +03:00
Chris Reichel
a67bfc1274 array union in controllers
! fix yii\web\Controller::bindActionParams behaviour for union types
o some refactoring in the process
2025-04-10 10:34:06 +02:00
Alex Negrila
e5d1dbbd1e Fix tests for use_trans_id 2025-04-04 11:53:53 +03:00
Stefano D. Mtangoo
2e8f686b98 Fix #8298: Loading fixtures does not update table sequence for Postgresql database 2025-04-02 12:22:20 +03:00
Vladimir
e38f62e55b Fix #20329: pgsql: Column Schema doesn't recognize PG type cast 2025-02-27 17:33:35 +03:00
Alex
dbb82a25a2 Fix #20332: Added support for the '__class' key in \yii\di\Instance:eunsure(['__class' => ...]) 2025-02-27 17:32:44 +03:00
nzwz
4859c8fcae Fix #20309: Add custom attributes support to style tags 2025-02-14 09:59:48 +03:00
Kairat Jenishev
f94017ce4c Fix #20306: Add new yii\helpers\ArrayHelper::flatten() method 2025-01-06 17:53:58 +03:00
Kairat Jenishev
3fc7e71c67 Fix #20295: Add an ability to have wildcards in yii\log\Target::$maskVars array 2025-01-01 22:43:47 +03:00
Robert Korulczyk
a8586fc296 Fix #20300: Clear stat cache in FileCache::setValue() 2024-12-30 19:53:25 +03:00
Mārtiņš Briedis
ea4964dede Fix enum test. Value used in assertion should match the actual enum name. 2024-12-10 12:40:50 +02:00
Mārtiņš Briedis
4b4eb9dab1 Rename enum cases to match suggested formatting (RFC) 2024-12-06 19:23:52 +02:00
Mārtiņš Briedis
0acf0db753 Support BackedEnum attribute typecast behaviour. 2024-12-06 19:04:35 +02:00
Viktor Khokhryakov
65e3369e16 Fix #20140: Fix compatibility with PHP 8.4: calling session_set_save_handler() 2024-12-06 13:34:47 +03:00
Viktor Khokhryakov
5df412df2c Fix #20282: Fix compatibility with PHP 8.4: deprecated constant E_STRICT 2024-12-06 12:31:20 +03:00