Skip to content

Commit 61438e9

Browse files
committed
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
This reverts commit 62938bf.
1 parent 35f6a5c commit 61438e9

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

ext/dom/document.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,9 +1628,6 @@ PHP_FUNCTION(dom_document_savexml)
16281628

16291629
doc_props = dom_get_doc_props(intern->document);
16301630
format = doc_props->formatoutput;
1631-
if (format) {
1632-
options = options | XML_SAVE_FORMAT;
1633-
}
16341631

16351632
buf = xmlBufferCreate();
16361633
if (!buf) {

ext/dom/tests/DOMDocument_savexml_basic2.phpt

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)