7135 Commits

Author SHA1 Message Date
Marco van 't Wout
a12f860b1b Merge pull request #4611 from ac-dc/non-canonical-casts
Fix deprecated non-canonical casts to canonical forms
2026-01-22 17:05:27 +01:00
ruslan
dae51120e4 Updated CHANGELOG 2026-01-18 10:31:51 +01:00
ruslan
be3f39831b PHP 8.5 has been added 2026-01-16 08:03:15 +01:00
ruslan
ec4f0d0592 Fix deprecated non-canonical casts to canonical forms
Replace deprecated non-canonical PHP casts with their canonical equivalents:
- (integer) → (int)
- (boolean) → (bool)
- (double) / (real) → (float)
- (binary) → (string)

This addresses PHP 8.5 deprecation warnings for non-canonical cast syntax.
2026-01-16 08:02:50 +01:00
Marco van 't Wout
a2d4af95af Fix #4607: Fix loading CHttpSessionHandler when using yiilite on Yii 1.1.32 and PHP 7+ 2026-01-08 12:57:53 +03:00
Marco van 't Wout
fc42169387 Prepare for next release 2025-12-23 10:57:28 +01:00
Marco van 't Wout
e7728e20dd Release version 1.1.32 1.1.32 2025-12-23 10:54:33 +01:00
Marco van 't Wout
a06732de12 Add missing class tags and method descriptions for generated documentation 2025-12-23 10:33:46 +01:00
dependabot[bot]
d0f8d303be Build(deps): bump actions/cache from 4 to 5 (#4606)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-12 11:05:40 +03:00
Marco van 't Wout
6868f4ca91 Update PHP compatibility in README.md 2025-12-09 15:15:53 +01:00
Marco van 't Wout
1d0c0bbbbd Merge pull request #4601 from efhsg/bugfix/4573-null-sortfield-php8
Fixes #4573: mb_strtolower(null, ...) deprecation
2025-12-09 15:11:11 +01:00
Marco van 't Wout
8828c20bd9 Merge branch 'master' into bugfix/4573-null-sortfield-php8 2025-12-09 15:11:01 +01:00
Marco van 't Wout
085447a4f6 Merge pull request #4602 from efhsg/bugfix/4578-php84-session-handler
Fix PHP 8.4 session_set_save_handler() deprecation
2025-12-09 15:10:07 +01:00
Marco van 't Wout
814208d1b8 Update CHANGELOG 2025-12-09 15:09:42 +01:00
Marco van 't Wout
320a6772f9 Update CHANGELOG 2025-12-09 15:07:50 +01:00
erwin
4ef0c1b444 FIX: Remove finally to support PHP 5.3 session test cleanup 2025-12-09 11:59:43 +01:00
erwin
64b2da0f9c Refactor session handling in CHttpSessionTest to improve error management 2025-12-09 11:41:16 +01:00
erwin
c47ebf92a3 Update author information in CHttpSessionHandler class file 2025-12-09 11:24:10 +01:00
erwin
4ef3b36160 Refactor PHP version check to Yii 1 convention. 2025-12-09 11:13:19 +01:00
erwin
d2072ba6bd Fix: only code formatting. 2025-12-09 10:49:57 +01:00
erwin
eb65e2eedf Fix: No casting to string in getSortingFieldValue(). 2025-12-09 10:47:29 +01:00
erwin
8c5400983e Fixed code formatting to match Yii 1 coding style 2025-12-04 17:39:27 +01:00
erwin
b15a0dde6c Fix #4573: Handle mb_strtolower(null) deprecation in PHP 8.1+
- Simplified test by removing unnecessary error handling
- Fixed code formatting to match Yii 1 coding style
2025-12-04 17:19:50 +01:00
erwin
58e20905d1 Add error suppression to session_set_save_handler() call
Maintains consistent behavior with legacy code path by suppressing
"headers already sent" warnings in test environments.
2025-12-03 20:04:14 +01:00
erwin
a27cf8c18f Move CHttpSessionHandler to separate file for PHP 5.3 compatibility 2025-12-03 19:51:59 +01:00
erwin
f682544dfc Remove unnecessary try-finally block in session handler test 2025-12-03 19:40:55 +01:00
erwin
5d3ab97192 Fix PHP 8.4 session handler compatibility and add return type hints 2025-12-03 19:32:28 +01:00
erwin
dec708cca3 Fix PHP 8.4 session_set_save_handler() deprecation 2025-12-03 19:11:42 +01:00
erwin
2e4d87cfa4 Fixes #4573: Fix test to catch mb_strtolower(null, ...) deprecation in PHP 8.1+ 2025-12-03 13:55:27 +01:00
erwin
077af097c2 Fixes #4573: mb_strtolower(null, ...) deprecation when caseSensitiveSort is false 2025-12-03 13:19:49 +01:00
dependabot[bot]
5ff1fe2948 Build(deps): bump actions/checkout from 5 to 6 (#4599)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-21 09:49:02 +03:00
Marco van 't Wout
4d87b1d3b0 Add PHP 8.4 to build (#4577)
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2025-11-13 09:55:15 +03:00
Marco van 't Wout
0fa8ca495d Merge pull request #4594 from yiisoft/dependabot/github_actions/actions/checkout-5
Build(deps): bump actions/checkout from 4 to 5
2025-08-19 11:43:25 +02:00
dependabot[bot]
70f03c1d92 Build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 13:32:33 +00:00
Marco van 't Wout
14f66835c7 Merge pull request #4592 from rob006/captcha-validator
Fix deprecation in `CCaptchaAction` for PHP 8.1+
2025-07-28 09:48:51 +02:00
Robert Korulczyk
911db78c5a Add tests for allowEmpty as true 2025-07-27 22:27:47 +02:00
Robert Korulczyk
e34341155b Fix deprecation in CCaptchaAction for PHP 8.1+ 2025-07-27 22:14:06 +02:00
Marco van 't Wout
d3d29d1cdb Merge pull request #4587 from mateusmetzker/topic/add-unixsocket-support-for-redis
Add socket connection support to CRedisCache.php
2025-04-17 09:54:53 +02:00
Metzker
b1e1ade025 Update CHANGELOG
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2025-04-16 18:21:30 -03:00
Metzker
16a97f285c chore: changes requested on code review 2025-04-16 17:42:04 -03:00
Metzker
5f45cedac4 feat: add socket connection to CRedisCache.php 2025-04-15 14:43:41 -03:00
Marco van 't Wout
68598bb795 Improve formatting 2025-04-14 11:10:50 +02:00
Marco van 't Wout
2baec91aba Prepare for next release 2025-04-10 16:00:25 +02:00
Marco van 't Wout
34bac57794 Release version 1.1.31 1.1.31 2025-04-10 15:57:47 +02:00
Marco van 't Wout
386e1d9b88 Update CHANGELOG 2025-04-10 14:31:06 +02:00
Marco van 't Wout
d386d73786 Merge commit from fork
Fix reflected XSS in default error renderer
2025-04-10 14:16:04 +02:00
Marco van 't Wout
7b4536e245 Fix: apply standard html encoding around string arguments in default error/exception renderer
Notes:
- message also formats newlines with nl2br
- no dependency on CHtml::encode as this could cause exceptions as well
2025-04-10 14:15:21 +02:00
Marco van 't Wout
aaf730d43e Merge pull request #4586 from yiisoft/ci-dev-ini
CI tests using development ini
2025-04-02 12:44:00 +02:00
Marco van 't Wout
20467c1892 Disable deprecations in test suite from PHP 8.3 onwards 2025-03-27 16:07:26 +01:00
Marco van 't Wout
dd3cbb1f2c FIX: apply #[\AllowDynamicProperties] on TestClass 2025-03-27 15:32:14 +01:00