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)
Apr 22 2025, 6:34 PM
Unknown Object (File)
Apr 20 2025, 3:45 AM
Unknown Object (File)
Apr 15 2025, 1:02 AM
Unknown Object (File)
Apr 14 2025, 11:37 PM
Unknown Object (File)
Apr 13 2025, 9:47 AM
Unknown Object (File)
Apr 12 2025, 9:47 PM
Unknown Object (File)
Mar 30 2025, 7:18 AM
Unknown Object (File)
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