summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/tests/domdocumentload_utilities.php4
-rw-r--r--ext/dom/tests/domdocumentloadxml_test_method.php2
-rw-r--r--ext/dom/tests/domdocumentloadxml_test_method_savexml.php2
-rw-r--r--ext/dom/tests/note.xml2
4 files changed, 5 insertions, 5 deletions
diff --git a/ext/dom/tests/domdocumentload_utilities.php b/ext/dom/tests/domdocumentload_utilities.php
index efd1e5a1a5..d40f7639ff 100644
--- a/ext/dom/tests/domdocumentload_utilities.php
+++ b/ext/dom/tests/domdocumentload_utilities.php
@@ -1,13 +1,13 @@
<?php
function libxml_options_to_int($libxmlOptions) {
-
+
$defined_constants = get_defined_constants(true);
$env_array = explode('|', $libxmlOptions);
$libxml_constants = array_intersect_key($defined_constants['libxml'], array_flip($env_array));
$sum = 0;
- foreach($libxml_constants as $value) {
+ foreach($libxml_constants as $value) {
$sum = $sum|$value;
}
diff --git a/ext/dom/tests/domdocumentloadxml_test_method.php b/ext/dom/tests/domdocumentloadxml_test_method.php
index ed2f38b6c6..9b97e2badd 100644
--- a/ext/dom/tests/domdocumentloadxml_test_method.php
+++ b/ext/dom/tests/domdocumentloadxml_test_method.php
@@ -4,7 +4,7 @@ include(dirname(__FILE__) . '/domdocumentload_utilities.php');
$doc = new DOMDocument();
$libxml_options = libxml_options_to_int(getenv('LOAD_OPTIONS'));
-$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
+$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
$libxml_options);
$expectedResult = (bool) getenv('EXPECTED_RESULT');
diff --git a/ext/dom/tests/domdocumentloadxml_test_method_savexml.php b/ext/dom/tests/domdocumentloadxml_test_method_savexml.php
index 1ef72d58d7..1bcf8a8e33 100644
--- a/ext/dom/tests/domdocumentloadxml_test_method_savexml.php
+++ b/ext/dom/tests/domdocumentloadxml_test_method_savexml.php
@@ -4,7 +4,7 @@ include(dirname(__FILE__) . '/domdocumentload_utilities.php');
$doc = new DOMDocument();
$libxml_options = libxml_options_to_int(getenv('LOAD_OPTIONS'));
-$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
+$result = $doc->loadXML(file_get_contents(dirname(__FILE__) . getenv('XML_FILE')),
$libxml_options);
$expectedResult = (bool) getenv('EXPECTED_RESULT');
diff --git a/ext/dom/tests/note.xml b/ext/dom/tests/note.xml
index 49614a1b52..f580ef1c25 100644
--- a/ext/dom/tests/note.xml
+++ b/ext/dom/tests/note.xml
@@ -5,4 +5,4 @@
<from>Shane</from>
<heading>Reminder</heading>
<body>Don't forget the meeting tonight!</body>
-</note>
+</note>