3463 Commits

Author SHA1 Message Date
4b75427011 Fix regression of regression introduced in GHSA-cjcc-p67m-7qxm and #20232 2024-08-14 16:49:26 +02:00
0d0f77529a Fix #20231: Fix regression introduced in #20167 in yii\validators\FileValidator 2024-07-26 19:06:32 +03:00
6abe5bf008 Fix #20232: Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key 2024-07-25 11:04:56 +03:00
40fe496eda Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key 2024-07-24 23:54:09 +02:00
a6257d8f46 Fix #20226: Revert all PR for "Data providers perform unnecessary COUNT queries that negatively affect performance" 2024-07-12 08:48:58 +03:00
32688de621 Update active field options test. 2024-07-04 13:32:20 +03:00
0a5b71f4d1 Add test. 2024-07-03 12:11:29 +03:00
76150c5403 Revert "Fix #20198: Boolean values of the value HTML attribute are now converted to integer values"
This reverts commit 0e50cee88fe7817cd23c764f16a2b1f8feb0694f.
2024-06-19 21:04:17 +03:00
0e50cee88f Fix #20198: Boolean values of the value HTML attribute are now converted to integer values 2024-06-17 18:57:37 +03:00
048eef42cd Fix #20191: Fix ActiveRecord::getDirtyAttributes() for JSON columns with multi-dimensional array values 2024-06-08 10:31:26 +03:00
3fa2d61e54 Fix #20175: Fix bad result for pagination when used with GridView 2024-06-08 10:29:40 +03:00
855522cc9a Updated JS test packages (#20180)
Updated Node (6 -> 20), NPM (6 -> 10), jsdom (11.11.0 -> 24.1.0), leche (2.2.3 -> 2.3.0), mocha (5.2.0 -> 6.2.3)
2024-06-03 10:07:22 +03:00
ff3aee30e4 Fix ErrorHandler quoting tests 2024-05-30 19:44:23 +03:00
42e6524413 Fix tests addCheck(), dropCheck() MariaDB. (#20174) 2024-05-30 18:54:15 +03:00
e92466bbba Fix #19855: Fixed yii\validators\FileValidator to not limit some of its rules only to array attribute 2024-05-30 14:36:12 +03:00
e1268d1f15 Fix testColumnSchema in MariaDB 10.4 or higher. (#20172) 2024-05-30 11:02:18 +03:00
5ebc175768 Fix: #20171: Support JSON columns for MariaDB 10.4 or higher 2024-05-29 15:01:48 +03:00
2ead4f31c6 Fixed tests. 2024-05-18 17:01:35 -04:00
2d2e141e3e Minor improvents. 2024-05-18 16:54:18 -04:00
14e2631fdf Normalize column names. 2024-05-18 14:03:39 -04:00
132b06cf8d Run tests MySQL > 8.0.16. 2024-05-18 13:48:44 -04:00
4996fd3d91 Add draft loadTableChecks() method, and add tests. 2024-05-18 13:35:03 -04:00
f3f2f2bb08 Apply sugestion rob006. 2024-05-18 11:43:02 -04:00
90c0eb02d1 Fix #20055: Fix Response header X-Pagination-Total-Count is always 0 2024-05-16 12:03:03 +03:00
8861f7bd9d Fix #20137: Added yii\caching\CallbackDependency to allow using a callback to determine if a cache dependency is still valid 2024-04-14 01:36:29 +03:00
bf3ada13fc Fix #20087: Add custom attributes to script tags 2024-04-03 16:18:16 +03:00
e56e777325 Fix #20083: Fix deprecated warning implicit conversion from float 2024-04-03 00:40:02 +03:00
923c30938d Fix optional parameter declared before required parameter implicitly (#20139) 2024-03-26 19:31:20 +03:00
a292af13bf [PHP 8.4] Fixes for implicit nullability deprecation (#20133)
Fixes all issues that emit deprecation notices on PHP 8.4 for implicit nullable parameter type declarations.
Related to #20128.

See:
 - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types)
 - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)

Co-authored-by: Wilmer Arambula <terabytesoftw@gmail.com>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-03-26 11:27:58 +03:00
3357e64ee6 Remove test of data providers, and replace expectNotToPerformAssertions() to assertTrue(true) for code coverage. 2024-03-21 09:56:54 -03:00
4b1281618a Fix testVariadicConstructor and testVariadicCallable in ContainerTest.php. 2024-03-21 09:43:20 -03:00
e7f233c4b8 Revert remove testVariadicConstructor(), testVariadicCallable() in ContainerTest.php. 2024-03-21 09:35:28 -03:00
843368cd0c Fix tests testCastValues() for mssql, mysql. 2024-03-21 09:07:39 -03:00
d6a970b0ad Fix testCastValues(). 2024-03-21 08:56:29 -03:00
efa3296b20 Revert remove testCastValues() in ActiveRecordTest.php. 2024-03-21 08:40:15 -03:00
d852773cae Revert use @requires. 2024-03-21 08:31:03 -03:00
5a434ee933 Fix IsOneOfAssert constructor parameter type declaration. 2024-03-21 08:18:12 -03:00
e82127e91d Update arrayTypedProperty declaration to use PHP 7.4 typed properties. 2024-03-21 08:08:16 -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
e2a167028b Upgrade to PSR12 coding standard (#20121) 2024-03-19 17:21:27 +03:00
283499cf61 Fix #20122: Fixed parsing of boolean keywords (e.g. used in SQLite) in \yii\db\ColumnSchema::typecast() 2024-03-03 11:32:21 +03:00
c9c5c61f76 Fix error summary always visible with CSP header (#19691) 2024-01-18 16:30:22 +01:00
005a9c7265 #17191: improved ensureScheme tests readability 2023-12-03 16:21:45 +01:00
d45c1cc6f9 #17191: improved ensureScheme tests readability 2023-12-03 16:18:04 +01:00
d3e4df762d 17191: refacor tests using dataprovider 2023-12-03 16:00:30 +01:00
fc582a2cfd 17191: fixed isRelative method 2023-12-03 15:07:25 +01:00
d43341a73a Add compatibility with PHP 8.3 (#20074) 2023-11-23 20:24:33 +03:00
6fdb805da8 Fix #18469: Fixed Link::serialize(array $links) method in yii\web\Link 2023-11-23 18:09:35 +03:00
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00