Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F13166486: D21701.diff
Tue, May 7, 6:12 AM
Unknown Object (File)
Fri, May 3, 3:51 AM
Unknown Object (File)
Thu, May 2, 4:22 PM
Unknown Object (File)
Thu, May 2, 3:32 PM
Unknown Object (File)
Mon, Apr 29, 3:56 PM
Unknown Object (File)
Sat, Apr 27, 7:30 AM
Unknown Object (File)
Thu, Apr 25, 8:04 AM
Unknown Object (File)
Wed, Apr 24, 11:50 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