Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
PHP 8 test results (e.g. https://www.drupal.org/pift-ci-job/2017309 ) include:
exception: [Deprecated function] Line 147 of modules/openid/openid.inc:
Function libxml_disable_entity_loader() is deprecated
exception: [Deprecated function] Line 196 of modules/openid/openid.inc:
Function libxml_disable_entity_loader() is deprecated
Steps to reproduce
Proposed resolution
Fix these deprecated function messages.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3206438
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3206438-php-8-deprecated changes, plain diff MR !474
Comments
Comment #2
mcdruidComment #3
Liam MorlandComment #4
Ayesh CreditAttribution: Ayesh commentedPretty straight forward. Patch coming through.
Comment #6
Ayesh CreditAttribution: Ayesh commentedComment #7
mcdruidThanks @Ayesh - I think we need to use the other PHP 8 testing option though (without the composer args/options).
Comment #8
Ayesh CreditAttribution: Ayesh commentedYou are right, the one without composer options did the trick.
Patch fails on PHP 8.0, but they are related to the other failures linked in the parent issue.
Comment #9
Taran2LLooks good to me!
Comment #10
mcdruidLGTM too, thanks!
Comment #11
mcdruidOoops. I think I need a browser addon that says "did you really mean to change the Status?" :)
Comment #12
mcdruidComparing the exceptions from the noop patch in the parent to the latest PHP 8 test for the MR:
That's exactly what we want to see.
Comment #14
mcdruidThank you... nearly there!