Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F13968513: D21701.id51682.diff
Wed, Oct 16, 9:33 PM
Unknown Object (File)
Wed, Oct 2, 6:25 AM
Unknown Object (File)
Tue, Oct 1, 3:08 PM
Unknown Object (File)
Tue, Sep 24, 4:48 AM
Unknown Object (File)
Mon, Sep 23, 4:51 PM
Unknown Object (File)
Sep 15 2024, 9:01 AM
Unknown Object (File)
Sep 3 2024, 3:42 PM
Unknown Object (File)
Aug 29 2024, 8:53 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