Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F15426259: D21701.diff
Sun, Mar 23, 7:52 AM
F15424243: D21701.id51681.diff
Sat, Mar 22, 9:05 PM
F15423564: D21701.id.diff
Sat, Mar 22, 4:07 PM
F15392473: D21701.diff
Sat, Mar 15, 3:24 PM
F15387596: D21701.id51682.diff
Sat, Mar 15, 2:40 AM
Unknown Object (File)
Fri, Feb 28, 8:59 AM
Unknown Object (File)
Thu, Feb 27, 6:53 AM
Unknown Object (File)
Feb 23 2025, 2:46 AM
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