9379 Commits

Author SHA1 Message Date
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
a9ac7f5cee Update PHP version requirement to 7.3.0 or higher in requirements.php. 2024-03-21 07:09:39 -03:00
f8884dcb22 Add line to CHANGELOG,md. 2024-03-21 07:02:47 -03:00
daae9cf9fe Update composer.json to require PHP 7.3 or higher. 2024-03-21 06:58:47 -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
e02245f18e Fix typo in setCookieParams() documentation 2024-03-06 14:34:00 -05: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
78cc7198f4 Correction text "Таҳририлаш" => "Таҳрирлаш" (#20120)
In Uzbek it is "Таҳрирлаш"  not  "Таҳририлаш"
2024-02-27 09:32:33 +03:00
32a20f9338 Fix error summary always visible with CSP header (#19691)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-01-18 18:23:38 +01:00
018fcb5d96 Fix error summary always visible with CSP header (#19691)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2024-01-18 18:14:51 +01:00
c9c5c61f76 Fix error summary always visible with CSP header (#19691) 2024-01-18 16:30:22 +01:00
60ea174348 Fix typo in Menu phpdoc (#20101) 2024-01-12 08:57:18 +03:00
Sam
b46e2676d3 Fix #17181: Improved BaseUrl::isRelative($url) performance 2024-01-06 22:07:05 +03:00
c7b4b1dcdd Get rid of deprecation warnings for trim() [PHP8.3] (#20090) 2024-01-03 10:54:59 +03:00
dffb4c7529 Fix version in since tag 2023-12-25 12:20:09 +03:00
76f17336fe #17191: updated changelog 2023-12-03 16:27:39 +01:00
fc582a2cfd 17191: fixed isRelative method 2023-12-03 15:07:25 +01:00
6fdb805da8 Fix #18469: Fixed Link::serialize(array $links) method in yii\web\Link 2023-11-23 18:09:35 +03:00
ae3f2f2dad Update Japanese messages 2023-11-14 05:26:41 +09:00
a8aa2cf583 Merge pull request #20015 from salehhashemi1992/feature/extract-prepareCacheData-method-
Extract common cache data preparation logic to new method
2023-11-12 13:43:46 +01:00
0263c19833 Revert 20045. 2023-11-02 08:28:05 -03:00
abcd82fd17 Extract common cache data preparation logic to prepareCacheData method 2023-11-01 15:12:47 +03:30
5ce3b4ea01 Optimize findBetween method to remove calling function mb_substr() 2023-11-01 15:04:32 +03:30
3d4e108a3e Update CHANGELOG.md 2023-10-30 12:18:25 +01:00
26032ad686 refactor findBetween method and add other tests 2023-10-30 13:50:08 +03:30
caa2029ec7 implement findBetween method to StringHelper 2023-10-28 22:20:37 +03:30
b40de6a538 Update framework/CHANGELOG.md
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
2023-10-26 05:05:34 -03:00
1d35584ec9 Add changelog line. 2023-10-25 14:39:54 -03:00
4a46f6763e Merge branch 'master' into fix-type-boolean-mysql 2023-10-25 14:38:13 -03:00
045996ed4b Merge branch 'master' into fix-type-boolean-mysql 2023-10-25 13:54:28 -03:00
7005d2775b Fix #20042: Add empty array check to ActiveQueryTrait::findWith() 2023-10-25 19:53:45 +03:00
9d3c71d6a7 Fix #20040: Fix type boolean in MSSQL 2023-10-25 19:47:46 +03:00
e2773e4524 Fix #20032: Added mask method for string masking with multibyte support 2023-10-25 19:47:03 +03:00
4b7669cf08 Fix boolean type MYSQL. 2023-10-25 08:37:18 -03:00
778d708c4f Fix fa messages (#20037)
* Fix 20016: Updating the Persian translation message file.

Signed-off-by: Nabi <nabikaz@gmail.com>

* Fix 20036: Updating the Persian translation message file.

Signed-off-by: Nabi <nabikaz@gmail.com>

---------

Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-24 11:25:08 +03:00
2141f9abdf Improve performance of handling ErrorHandler::$memoryReserveSize 2023-10-23 20:49:27 +02:00
5f3d36ea21 Extract messages (#20022)
* {attribute} must not be equal to "{compareValue}""

* update config

* {attribute} must be greater than "{compareValueOrAttribute}".
{attribute} must be greater than or equal to "{compareValueOrAttribute}".
{attribute} must be less than "{compareValueOrAttribute}".
{attribute} must be less than or equal to "{compareValueOrAttribute}".

* {nFormatted} B
{nFormatted} GB
{nFormatted} kB
{nFormatted} MB
{nFormatted} PB
{nFormatted} TB

* {nFormatted} {n, plural, =1{byte} other{bytes}}
{nFormatted} {n, plural, =1{gigabyte} other{gigabytes}}
{nFormatted} {n, plural, =1{kilobyte} other{kilobytes}}
{nFormatted} {n, plural, =1{megabyte} other{megabytes}}
{nFormatted} {n, plural, =1{petabyte} other{petabytes}}
{nFormatted} {n, plural, =1{terabyte} other{terabytes}}

* Extract messages.
2023-10-21 18:22:41 +02:00
bee7f7206f Add changelog line. 2023-10-21 09:03:20 -03:00
f58eb362ca Remove YII_ENV. 2023-10-21 08:53:15 -03:00
b7488185ba Merge branch 'master' into yii-serve-fix 2023-10-20 13:16:06 -03:00
ecc6c6121e Use Mock tests, after checking the real test. 2023-10-20 12:42:19 -03:00
5eeb12f275 Fix #19060: Fix yii\widgets\Menu bug when using Closure for active item and adding additional tests in tests\framework\widgets\MenuTest 2023-10-20 16:49:25 +03:00
70a7282fec Fix yii server and add tests. 2023-10-20 10:45:21 -03:00
c1315b9cd6 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-20 16:22:55 +08:00
febbe0f20e Use self to access private method in BaseFormatConverter 2023-10-19 21:33:43 +02:00
833f335fd0 Merge branch 'master' into bugfix/20002-Superfluous_query_on_HEAD_request_in_serializer 2023-10-19 20:36:05 +03:00
f28386835d Update framework/CHANGELOG.md 2023-10-19 20:35:59 +03:00
e0299884fe Introduce createFormatter Static Method for Formatter Logic (#20014) 2023-10-19 20:27:52 +03:00
fd241defd0 Update the Persian translation file (#20016)
Signed-off-by: Nabi <nabikaz@gmail.com>
2023-10-19 18:15:54 +03:00