stable

Clone or download

Read-only

Remove usage of XML_Security::enableExternalLoadOfEntities() in unit tests

Usage of \libxml_disable_entity_loader() is deprecated in PHP 8.0 [0]. Part of request #17931: Unit tests should pass with PHP 8.0 [0] https://github.com/php/php-src/blob/php-8.0.0RC3/UPGRADING#L873 Change-Id: I5d5348890b8afee9f63469fab08a11bbbb5ac7ef

Modified Files

Name
M plugins/cardwall/tests/unit/Cardwall/Semantic/CardFieldXmlExtractorTest.php +10 −23 Go to diff View file
M plugins/hudson/tests/unit/HudsonBuildTest.php +3 −24 Go to diff View file
M plugins/hudson/tests/unit/HudsonTestResultTest.php +3 −24 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_DateTest.php +6 −21 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Workflow/WorkflowFactoryTest.php +2 −10 Go to diff View file
M src/common/xml/Security.class.php +4 −1 Go to diff View file