HomePhabricator

Suppress PHP 8 deprecation warning in startup

Description

Suppress PHP 8 deprecation warning in startup

Summary: Ref T13588. See D21497. As of PHP 8, the XML entity loader is disabled by default and the libxml_disable_entity_loader function is deprecated. Thus suppress the deprecation warning for now; we could skip the function call, but this is safer.

Test Plan:

  • Still works with PHP 7.
  • No more deprecation message with PHP 8.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T13588

Differential Revision: https://secure.phabricator.com/D21701

Details

Provenance
0Authored on Jun 6 2021, 6:01 PM
0Pushed on Wed, Jul 21, 1:07 AM
Reviewer
Blessed Reviewers
Differential Revision
D21701: Suppress PHP 8 deprecation warning in startup
Parents
rPa0b91de535af: New MediaWiki logo for the icon that represents the MediaWiki oauth provider.
Branches
Unknown
Tags
Unknown
Tasks
T13588: PHP 8 Compatibility
Build Status
Buildable 25485
Build 35235: Run Core Tests