Skip to content

Commit 0d90b6c

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Backport deprecation warning ignores to unbreak CI
2 parents a2ea452 + f3ee902 commit 0d90b6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/xsl/xsltprocessor.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,10 @@ PHP_METHOD(XSLTProcessor, importStylesheet)
304304
newdoc = xmlCopyDoc(doc, 1);
305305
xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL);
306306
PHP_LIBXML_SANITIZE_GLOBALS(parse);
307+
ZEND_DIAGNOSTIC_IGNORED_START("-Wdeprecated-declarations")
307308
xmlSubstituteEntitiesDefault(1);
308309
xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
310+
ZEND_DIAGNOSTIC_IGNORED_END
309311

310312
sheetp = xsltParseStylesheetDoc(newdoc);
311313
PHP_LIBXML_RESTORE_GLOBALS(parse);

0 commit comments

Comments
 (0)