Commit Graph

4394 Commits

Author SHA1 Message Date
Marco Berger
5a092229d2 PHP 8.1 compatibility fix for CFileCache 2022-10-28 23:21:37 +02:00
Maxim
b34b03bd47 Update link 2022-10-07 20:52:44 +03:00
Marco van 't Wout
81e0e43b33 Prepare for next release 2022-09-30 13:52:43 +02:00
Marco van 't Wout
bda32f6871 Release version 1.1.26 2022-09-30 13:46:30 +02:00
Marco van 't Wout
bcb461e441 CHG: update HTML Purifier from 4.14.0-master-1dd3e52 dev-release to 4.15.0 2022-09-28 14:40:29 +02:00
Marco van 't Wout
caf030a649 Merge pull request #4478 from csears123/patch-2
PHP 8.1 support for active checkbox list
2022-09-27 11:20:27 +02:00
Marco van 't Wout
13b5f7982d Adhere to Yii coding standards 2022-09-27 11:20:02 +02:00
Arhell
9bb4dbff15 fix xcache link 2022-09-12 00:14:33 +03:00
Bizley
859b2f2e1d Merge pull request #4481 from yiisoft/fix-link
fix unicode link
2022-09-09 08:18:44 +02:00
Arhell
1b554318d3 fix unicode link 2022-09-09 01:07:30 +03:00
Marco van 't Wout
637ea785a4 Merge pull request #4461 from olleharstedt/param-fix
Param fix
2022-08-29 13:41:39 +02:00
Chris Sears
31f02e1f69 Update to cast strcmp argument to string
Updated solution based on initial pull request feedback
2022-08-25 08:26:26 -06:00
Chris Sears
3f2bdf39c8 PHP 8.1 support for active checkbox list
In PHP 8.1 I am receiving the error below when using CActiveForm checkbox field, when the CFormModel model attribute has a default 'null' value as defined. 

"strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated"

The 'null' value is passed to the checkBoxList() method as the second argument variable $select.  A null value is not allowed in PHP 8.1 in strcmp().  An additional condition check for !empty() on the $select variable will prevent this error, as well as support the remaining variable types for a string or array.
2022-08-24 19:12:31 -06:00
Ivan Sinkarenko
9e7b86f508 Fix PHP 8.1 preg_match_all() deprecation warning in CHttpRequest 2022-08-22 09:44:42 +02:00
Arhell
4e28f262d3 update links 2022-08-15 01:00:48 +03:00
Arhell
1162a1d343 update jquery & others links 2022-08-13 01:09:35 +03:00
Arhell
6d26fae142 update unicode & others links 2022-08-11 02:23:44 +03:00
Bizley
6395bcca80 Merge pull request #4462 from yiisoft/upd-links
update yii & php.net links
2022-08-09 07:56:56 +02:00
Arhell
8518f95605 update yii & php.net links 2022-08-09 00:11:49 +03:00
Olle Haerstedt
69d826c720 Some more param fixes for array access 2022-08-08 16:08:22 +02:00
Olle Haerstedt
32876782bf Also offsetSet 2022-08-08 16:03:14 +02:00
Olle Haerstedt
030ffe1788 Revert "Check CSRF token in header too"
This reverts commit 9c58a8768b.
2022-08-08 15:43:47 +02:00
Olle Haerstedt
bddecd0031 Fix offsetGet param type in CMap class 2022-08-08 15:40:11 +02:00
Olle Härstedt
f80990852f Merge branch 'yiisoft:master' into master 2022-08-08 15:36:39 +02:00
Marco van 't Wout
e7c298343b Merge pull request #4457 from JonathanArgentao/4456-cpgsqlschema-stripos-null-deprecation
Suport stripos null parameter deprecation that fixes #4456
2022-08-08 13:29:51 +02:00
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Arhell
c967eec15c update links 2022-08-06 13:54:29 +03:00
Jonathan Argentão
35e2b8dbdb Suport stripos null parameter deprecation that fixes #4456 2022-08-04 20:46:34 -03:00
Arhell
d701ef06a6 update links 2022-08-05 00:03:20 +03:00
Ivan Sinkarenko
105f55ed0e Remove GLOB_BRACE from runtime code for compatilibity with PHP on Alpine Linux 2022-07-24 19:20:25 +02:00
Marco van 't Wout
a11b8306ec CHG: update HTML Purifier from 4.13.0 to 4.14.0-master-1dd3e52 dev-release (no stable release available yet that includes https://github.com/ezyang/htmlpurifier/issues/311) 2022-07-08 16:35:12 +02:00
Marco van 't Wout
4d5fed480d Apply another fix for "Passing null to parameter ..... of type string is deprecated" 2022-03-31 18:30:03 +02:00
Marco van 't Wout
09f157132b Apply various fixes for "Passing null to parameter ..... of type string is deprecated" (ported from https://github.com/yiisoft/yii2/pull/19041) 2022-03-31 18:08:01 +02:00
Marco van 't Wout
a961b4b3bc Fix "PHP 8.1 Cast decimals to string on sqlite" (ported from https://github.com/yiisoft/yii2/issues/19144) 2022-03-31 16:28:58 +02:00
Marco van 't Wout
b99d7bca71 Fix "Implicit conversion from float xxxxxx.xxxxxx to int loses precision" for log time in log files 2022-03-31 16:10:14 +02:00
Marco van 't Wout
9a36bcef15 FIX: apply #[ReturnTypeWillChange] to classes that implement Iterator 2022-03-31 15:35:11 +02:00
Marco van 't Wout
ecb3bffd37 FIX: apply #[ReturnTypeWillChange] to classes that implement Countable 2022-03-31 15:01:15 +02:00
Marco van 't Wout
0adb66f2a4 FIX: apply #[ReturnTypeWillChange] to classes that implement ArrayAccess 2022-03-31 14:58:29 +02:00
Marco van 't Wout
7de378ec72 FIX: apply #[ReturnTypeWillChange] to classes that implement IteratorAggregate 2022-03-31 14:51:34 +02:00
Marco van 't Wout
6f203f2ff0 Apply Yii 1 code formatting 2022-01-27 09:19:26 +01:00
Andre Swanepoel
8be5440113 Add support for SSL to CRedisCache 2022-01-25 13:21:37 +00:00
Olle Haerstedt
9c58a8768b Check CSRF token in header too 2021-12-15 18:57:15 +01:00
Marco van 't Wout
71fe233605 Prepare for next release 2021-12-13 16:09:48 +01:00
Marco van 't Wout
43e38602b5 Release version 1.1.25 2021-12-13 16:04:45 +01:00
Marco van 't Wout
d62894ee33 Preserve previous behavior which silently discards errors when fopen fails on PHP 8.0 2021-11-24 15:11:11 +01:00
Robert Korulczyk
de6ecdd84c Prevent fatal errors while validating CSRF token of malformed requests 2021-11-21 15:52:10 +01:00
Marco van 't Wout
0d9af3802f Merge pull request #4377 from yiisoft/patch-pear-textdiff-php-compat
Fix "reset() expects parameter 1 to be array" raised by Gii diff, issue #4226 alternative solution
2021-10-21 12:24:13 +02:00
Marco van 't Wout
c7b80892e8 Apply proper refactor for deprecated each(), broken since 3881dddc6e 2021-10-11 14:48:55 +02:00
Robert Korulczyk
3792709f39 Use callable as type name instead of callback in phpdoc (#4378) 2021-10-06 16:44:08 +03:00
Carsten Schmitz
1e7c6fe667 Fixed issue: createUpdateCommand does not accept just a table name 2021-09-22 11:51:46 +02:00