Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 28, 4:26 PM
Unknown Object (File)
Tue, Jan 24, 3:02 PM
Unknown Object (File)
Thu, Jan 19, 12:48 PM
Unknown Object (File)
Sun, Jan 8, 7:10 PM
Unknown Object (File)
Dec 28 2022, 2:41 PM
Unknown Object (File)
Dec 24 2022, 4:52 PM
Unknown Object (File)
Dec 5 2022, 5:26 AM
Unknown Object (File)
Nov 29 2022, 8: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
Lint
Lint Not Applicable
Unit
Tests Not Applicable