Page MenuHomePhabricator

Suppress PHP 8 deprecation warning in startup
ClosedPublic

Authored by 0 on Jul 21 2021, 12:54 AM.
Tags
None
Referenced Files
F13525050: D21701.id.diff
Fri, Jul 26, 11:50 AM
Unknown Object (File)
Wed, Jul 24, 1:16 PM
Unknown Object (File)
Sun, Jul 21, 8:59 AM
Unknown Object (File)
Wed, Jul 17, 10:02 AM
Unknown Object (File)
Sun, Jul 14, 9:00 AM
Unknown Object (File)
Sun, Jul 14, 3:59 AM
Unknown Object (File)
Sat, Jul 13, 8:07 AM
Unknown Object (File)
Fri, Jul 12, 7:06 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