Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F18585433: D21701.diff
Thu, Sep 11, 3:34 PM
F18466356: D21701.diff
Tue, Sep 2, 9:35 AM
F18432961: D21701.id51681.diff
Sun, Aug 31, 7:13 AM
F18364984: D21701.diff
Wed, Aug 27, 8:11 PM
F18209954: D21701.id51682.diff
Mon, Aug 18, 11:42 PM
F18208130: D21701.id51681.diff
Mon, Aug 18, 8:02 PM
F18194402: D21701.id.diff
Sun, Aug 17, 9:52 AM
F18189168: D21701.diff
Sat, Aug 16, 9:36 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable