Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F18869097: D21701.diff
Tue, Nov 4, 9:53 AM
F18834566: D21701.id.diff
Sun, Oct 26, 9:32 AM
F18832459: D21701.diff
Sat, Oct 25, 9:55 PM
F18822624: D21701.diff
Thu, Oct 23, 7:44 AM
F18673190: D21701.id.diff
Sep 25 2025, 9:38 AM
F18669860: D21701.diff
Sep 24 2025, 10:15 PM
F18659705: D21701.id51681.diff
Sep 23 2025, 3:08 PM
F18659462: D21701.id51682.diff
Sep 23 2025, 12:35 PM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
libxml-deprecation
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25484
Build 35234: Run Core Tests
Build 35233: arc lint + arc unit