Skip to content

Fix/php8 error handling#20

Merged
ralflang merged 2 commits intoFRAMEWORK_6_0from
fix/php8-error-handling
Mar 16, 2026
Merged

Fix/php8 error handling#20
ralflang merged 2 commits intoFRAMEWORK_6_0from
fix/php8-error-handling

Conversation

@ralflang
Copy link
Member

Port the original @ziegenberg #7 to FRAMEWORK_6_0 branch.
This does not need a port to PSR-4 /src version.

Port another fix by @TDannhauer to src/

ziegenberg and others added 2 commits March 16, 2026 20:31
The functions Horde_String::convertCharset and Horde_String::_pos are broken up
to assist in better testability and additional tests for the newly introduced
functions are added.

This commit breaks compatibility with PHP 5.6

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>

fixes #7
Apply charset validation fix from commit 63d0ea4 to src/HordeString.php equivalent.
This prevents PHP errors when mb_substr is called with unsupporte charsets.

The lib/Horde/String.php version was fixed in Feb 2025 by @TDannhauer but not applied to the PSR-4 version.
@ralflang ralflang merged commit fddda81 into FRAMEWORK_6_0 Mar 16, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants