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)
Sun, Feb 11, 3:48 PM
Unknown Object (File)
Sun, Feb 4, 1:16 AM
Unknown Object (File)
Sat, Jan 27, 10:05 AM
Unknown Object (File)
Jan 15 2024, 10:10 PM
Unknown Object (File)
Jan 15 2024, 5:18 PM
Unknown Object (File)
Jan 13 2024, 4:11 AM
Unknown Object (File)
Jan 7 2024, 4:31 PM
Unknown Object (File)
Jan 3 2024, 7:17 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