Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Translation] remove deprecated libxml_disable_entity_loader function#60022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@Oviglo
Copy link
Contributor

QA
Branch?7.3
Bug fix?no
New feature?no
Deprecations?yes
LicenseMIT

Hello, this function is deprecated since PHP 8.0.0:https://www.php.net/manual/en/function.libxml-disable-entity-loader.php
Capture d'écran 2025-03-23 112159

At the moment, I just comment the unused functionshouldEnableEntityLoader but before finalize this PR, I need your comment about this. There are no replacement forlibxml_disable_entity_loader PHP function. Have you any idea to replace it or we don't need this for PHP 8.2 ?

Thanks.

I see another PR for this in Sf4:https://github.com/symfony/symfony/pull/37790/files

TODO

  • Remove comments
  • Update UPGRADE-*.md and src/**/CHANGELOG.md files

@carsonbotcarsonbot added this to the7.3 milestoneMar 23, 2025
@carsonbotcarsonbot changed the title[translator]remove deprecated libxml_disable_entity_loader function[Translation] remove deprecated libxml_disable_entity_loader functionMar 23, 2025
@OvigloOviglo marked this pull request as draftMarch 23, 2025 10:43
@nicolas-grekas
Copy link
Member

I don't think we can do this.
See#39068 and#38564 also.

@Oviglo
Copy link
ContributorAuthor

Ok, maybe it's better not to change it until the function is removed. But it generate a lot of deprecation warnings.

@nicolas-grekas
Copy link
Member

I guess you have libxml < 2.9? You should upgrade I suppose. Let me close here.

Oviglo reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@welcoMatticwelcoMatticAwaiting requested review from welcoMatticwelcoMattic is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

7.3

Development

Successfully merging this pull request may close these issues.

3 participants

@Oviglo@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp