Skip to content

fix(translation): fix DOMDocument::load() static call deprecated in PHP 8 - #149

Open
jcdelepine wants to merge 1 commit into
horde:FRAMEWORK_6_0from
jcdelepine:fix/domdocument-load-php8
Open

fix(translation): fix DOMDocument::load() static call deprecated in PHP 8#149
jcdelepine wants to merge 1 commit into
horde:FRAMEWORK_6_0from
jcdelepine:fix/domdocument-load-php8

Conversation

@jcdelepine

Copy link
Copy Markdown
Contributor

DOMDocument::load() can no longer be called statically in PHP 8. Separate object instantiation from load() call so the DOMDocument instance is available for subsequent property assignments.

…HP 8

DOMDocument::load() can no longer be called statically in PHP 8.
Separate object instantiation from load() call so the DOMDocument
instance is available for subsequent property assignments.
@ralflang

ralflang commented Aug 5, 2026

Copy link
Copy Markdown
Member

Thank you for providing this fix. However horde-translation is only kept for BC reasons and I suggest using the hordectl-based successor instead. horde/hordectl#16

@ralflang
ralflang self-requested a review August 5, 2026 08:36
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