Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F15529306: D21701.id51682.diff
Tue, Apr 22, 6:34 PM
F15520133: D21701.id51681.diff
Sun, Apr 20, 3:45 AM
F15505231: D21701.id51682.diff
Tue, Apr 15, 1:02 AM
F15505062: D21701.id51681.diff
Mon, Apr 14, 11:37 PM
F15497076: D21701.id.diff
Sun, Apr 13, 9:47 AM
F15493298: D21701.diff
Sat, Apr 12, 9:47 PM
F15456139: D21701.diff
Mar 30 2025, 7:18 AM
F15426259: D21701.diff
Mar 23 2025, 7:52 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