Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F19829848: D21701.id51681.diff
Tue, Mar 10, 8:51 AM
F19829847: D21701.id51681.diff
Tue, Mar 10, 8:51 AM
F19304546: D21701.diff
Dec 24 2025, 12:21 PM
F19078536: D21701.diff
Dec 1 2025, 6:27 PM
F19078529: D21701.diff
Dec 1 2025, 6:26 PM
F19078411: D21701.diff
Dec 1 2025, 6:08 PM
F19078389: D21701.diff
Dec 1 2025, 6:02 PM
F19078243: D21701.diff
Dec 1 2025, 5:35 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