20465 Commits

Author SHA1 Message Date
628d406bfa Merge pull request from GHSA-cjcc-p67m-7qxm
* Fix: Unsafe Reflection in base Component class

* Fix style for consistency

* add changelog entry

* Fix wrong logic

* Fix exception message

* Update framework/CHANGELOG.md

---------

Co-authored-by: Stefano Mtangoo <stefano@hosannahighertech.co.tz>
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-05-30 19:15:58 +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
c6145cb87c Add tests for MariaDb (#20169) 2024-05-29 13:02:59 +03:00
bceb37e524 Merge pull request #20170 from terabytesoftw/fix-yii2-coding-standard
Fix ci lint.
2024-05-28 21:34:35 +02:00
af705d9eb2 Fix ci lint. 2024-05-28 11:54:31 -04:00
7a8b9d63ad Fix #20165: Adjust pretty name of closures for PHP 8.4 compatibility 2024-05-27 16:08:59 +03:00
9975597606 Merge pull request #19881 from bobonov/master
Migration & MySql Query addCheck() and dropCheck()
2024-05-22 18:18:40 +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
bd73df5dcf Fix MySQL version check for check constraints. 2024-05-18 13:39:02 -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
bd68552b73 Fix error typo. 2024-05-17 10:01:31 -04:00
d7fa8aaa6b Add line in CHANGELOG..md. 2024-05-17 09:57:55 -04:00
e7b6330dbb Merge branch 'master' into master 2024-05-16 15:04:21 +03:00
f2ea9be242 Update deprecated isArray() method in Controller.php (#20156) 2024-05-16 13:16:33 +03:00
391997a96b Fix CallbackDependency (#20158) 2024-05-16 12:29:32 +03: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
a733e8a6b2 Add a throws comment to BaseActiveRecord save 2024-04-14 01:30:18 +03:00
bf3ada13fc Fix #20087: Add custom attributes to script tags 2024-04-03 16:18:16 +03:00
f7cba1b9de Fix required branch not specified (#20143) 2024-04-03 00:40:39 +03:00
e56e777325 Fix #20083: Fix deprecated warning implicit conversion from float 2024-04-03 00:40:02 +03:00
e9a93a82ec Merge pull request #20141 from terabytesoftw/update-dependency
Update `ezyang/htmlpurifier` dependency to version `4.17`.
2024-04-02 16:34:35 +03:00
97ca1f2b18 Merge pull request #20142 from rhertogh/versions_php_compatibility_in_readme
Versions & PHP compatibility
2024-03-28 13:32:29 +01:00
1cdb04236d Added "Versions & PHP compatibility" section to readme.md 2024-03-27 21:20:06 +01:00
26f9e326c4 Add line to CHANGELOG.md. 2024-03-27 06:09:44 -03:00
953a1265d7 Update ezyang/htmlpurifier dependency to version 4.17. 2024-03-26 15:04:45 -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
ac1a5af67b Merge pull request #20134 from terabytesoftw/php-73
Raise version min `PHP 7.3`.
2024-03-25 08:13:07 +03:00
2f9c24e130 Update CI workflows to disable fail-fast strategy. 2024-03-22 06:59:15 -03:00
60f1df54f8 Merge branch 'master' into php-73. 2024-03-22 06:57:07 -03:00
28cbf6cde5 Add tests for PHP 8.4. (#20132) 2024-03-22 10:29:27 +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
e10fd41a43 Fix build.yml action. 2024-03-21 08:21:21 -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
e4e470fb10 Update PHP version requirement to 7.3.0 or higher in README.md. 2024-03-21 07:14:15 -03:00