summaryrefslogtreecommitdiff
path: root/ext/xml
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-15 04:32:30 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-15 04:32:30 +0200
commitb746e6988743b46ccb0542d5d568eef0608ee296 (patch)
tree2f5248149fec900b613e165f7dd050da0011743e /ext/xml
parent3599a2d82beff1ff3387a04c73fcdac9dd5336d4 (diff)
downloadphp-git-b746e6988743b46ccb0542d5d568eef0608ee296.tar.gz
Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
Diffstat (limited to 'ext/xml')
-rw-r--r--ext/xml/tests/bug72099.phpt2
-rw-r--r--ext/xml/tests/xml_error_string_error.phpt1
-rw-r--r--ext/xml/tests/xml_error_string_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_get_current_byte_index_error.phpt1
-rw-r--r--ext/xml/tests/xml_get_current_byte_index_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_get_current_column_number_error.phpt1
-rw-r--r--ext/xml/tests/xml_get_current_column_number_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_get_current_line_number_error.phpt1
-rw-r--r--ext/xml/tests/xml_get_current_line_number_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_get_error_code_error.phpt1
-rw-r--r--ext/xml/tests/xml_get_error_code_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parse_error.phpt1
-rw-r--r--ext/xml/tests/xml_parse_into_struct_error.phpt1
-rw-r--r--ext/xml/tests/xml_parse_into_struct_variation.phpt2
-rw-r--r--ext/xml/tests/xml_parse_into_struct_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parse_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parser_create_ns_error.phpt2
-rw-r--r--ext/xml/tests/xml_parser_create_variation1.phpt2
-rw-r--r--ext/xml/tests/xml_parser_free_error.phpt1
-rw-r--r--ext/xml/tests/xml_parser_free_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parser_get_option_error.phpt1
-rw-r--r--ext/xml/tests/xml_parser_get_option_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parser_get_option_variation2.phpt1
-rw-r--r--ext/xml/tests/xml_parser_set_option_error.phpt1
-rw-r--r--ext/xml/tests/xml_parser_set_option_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_parser_set_option_variation2.phpt1
-rw-r--r--ext/xml/tests/xml_set_character_data_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_character_data_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_default_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_default_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_element_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_element_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_end_namespace_decl_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_external_entity_ref_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_notation_decl_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_object_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_object_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_object_variation2.phpt1
-rw-r--r--ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt2
-rw-r--r--ext/xml/tests/xml_set_processing_instruction_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt1
-rw-r--r--ext/xml/tests/xml_set_start_namespace_decl_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt1
-rw-r--r--ext/xml/tests/xml_set_unparsed_entity_decl_handler_error.phpt1
-rw-r--r--ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt1
49 files changed, 5 insertions, 50 deletions
diff --git a/ext/xml/tests/bug72099.phpt b/ext/xml/tests/bug72099.phpt
index 50173a6a4c..b32de02b24 100644
--- a/ext/xml/tests/bug72099.phpt
+++ b/ext/xml/tests/bug72099.phpt
@@ -14,4 +14,4 @@ xml_parse_into_struct($var1, $var2, $var3, $var4);
var_dump($var3);
--EXPECT--
array(0) {
-} \ No newline at end of file
+}
diff --git a/ext/xml/tests/xml_error_string_error.phpt b/ext/xml/tests/xml_error_string_error.phpt
index 369e3cfb7c..e7cc6dea19 100644
--- a/ext/xml/tests/xml_error_string_error.phpt
+++ b/ext/xml/tests/xml_error_string_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_error_string() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_error_string_variation1.phpt b/ext/xml/tests/xml_error_string_variation1.phpt
index b06bfac8b3..7143e871ad 100644
--- a/ext/xml/tests/xml_error_string_variation1.phpt
+++ b/ext/xml/tests/xml_error_string_variation1.phpt
@@ -175,5 +175,3 @@ string(8) "No error"
Arg value
string(8) "No error"
Done
-
-
diff --git a/ext/xml/tests/xml_get_current_byte_index_error.phpt b/ext/xml/tests/xml_get_current_byte_index_error.phpt
index 3e837ef8b5..14a7456e3b 100644
--- a/ext/xml/tests/xml_get_current_byte_index_error.phpt
+++ b/ext/xml/tests/xml_get_current_byte_index_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_get_current_byte_index() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_current_byte_index_variation1.phpt b/ext/xml/tests/xml_get_current_byte_index_variation1.phpt
index 720b233db8..87740185d9 100644
--- a/ext/xml/tests/xml_get_current_byte_index_variation1.phpt
+++ b/ext/xml/tests/xml_get_current_byte_index_variation1.phpt
@@ -237,4 +237,3 @@ Arg value
Warning: xml_get_current_byte_index() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_current_column_number_error.phpt b/ext/xml/tests/xml_get_current_column_number_error.phpt
index 547b0248a7..9e915dd233 100644
--- a/ext/xml/tests/xml_get_current_column_number_error.phpt
+++ b/ext/xml/tests/xml_get_current_column_number_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_get_current_column_number() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_current_column_number_variation1.phpt b/ext/xml/tests/xml_get_current_column_number_variation1.phpt
index 3825bc39dc..2fde617f60 100644
--- a/ext/xml/tests/xml_get_current_column_number_variation1.phpt
+++ b/ext/xml/tests/xml_get_current_column_number_variation1.phpt
@@ -238,4 +238,3 @@ Arg value
Warning: xml_get_current_column_number() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_current_line_number_error.phpt b/ext/xml/tests/xml_get_current_line_number_error.phpt
index db4fe9fdaf..c10ebeca90 100644
--- a/ext/xml/tests/xml_get_current_line_number_error.phpt
+++ b/ext/xml/tests/xml_get_current_line_number_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_get_current_line_number() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_current_line_number_variation1.phpt b/ext/xml/tests/xml_get_current_line_number_variation1.phpt
index 143b6e092b..6155c0696c 100644
--- a/ext/xml/tests/xml_get_current_line_number_variation1.phpt
+++ b/ext/xml/tests/xml_get_current_line_number_variation1.phpt
@@ -237,4 +237,3 @@ Arg value
Warning: xml_get_current_line_number() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_error_code_error.phpt b/ext/xml/tests/xml_get_error_code_error.phpt
index 2e97ba92b6..86b037eaf7 100644
--- a/ext/xml/tests/xml_get_error_code_error.phpt
+++ b/ext/xml/tests/xml_get_error_code_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_get_error_code() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_get_error_code_variation1.phpt b/ext/xml/tests/xml_get_error_code_variation1.phpt
index a8a4ad47e7..73feae24c2 100644
--- a/ext/xml/tests/xml_get_error_code_variation1.phpt
+++ b/ext/xml/tests/xml_get_error_code_variation1.phpt
@@ -237,4 +237,3 @@ Arg value
Warning: xml_get_error_code() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parse_error.phpt b/ext/xml/tests/xml_parse_error.phpt
index e5036ddbeb..68723bd6c3 100644
--- a/ext/xml/tests/xml_parse_error.phpt
+++ b/ext/xml/tests/xml_parse_error.phpt
@@ -45,4 +45,3 @@ NULL
Warning: xml_parse() expects at least 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parse_into_struct_error.phpt b/ext/xml/tests/xml_parse_into_struct_error.phpt
index 56d943d00f..9d448ca45d 100644
--- a/ext/xml/tests/xml_parse_into_struct_error.phpt
+++ b/ext/xml/tests/xml_parse_into_struct_error.phpt
@@ -46,4 +46,3 @@ NULL
Warning: xml_parse_into_struct() expects at least 3 parameters, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parse_into_struct_variation.phpt b/ext/xml/tests/xml_parse_into_struct_variation.phpt
index eadc3edc94..28c7acf9c3 100644
--- a/ext/xml/tests/xml_parse_into_struct_variation.phpt
+++ b/ext/xml/tests/xml_parse_into_struct_variation.phpt
@@ -117,4 +117,4 @@ Array
)
)
-Done \ No newline at end of file
+Done
diff --git a/ext/xml/tests/xml_parse_into_struct_variation1.phpt b/ext/xml/tests/xml_parse_into_struct_variation1.phpt
index 0cb22a5371..811f4c8a3c 100644
--- a/ext/xml/tests/xml_parse_into_struct_variation1.phpt
+++ b/ext/xml/tests/xml_parse_into_struct_variation1.phpt
@@ -238,4 +238,3 @@ Arg value
Warning: xml_parse_into_struct() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parse_variation1.phpt b/ext/xml/tests/xml_parse_variation1.phpt
index 685a50eed1..d902fab34f 100644
--- a/ext/xml/tests/xml_parse_variation1.phpt
+++ b/ext/xml/tests/xml_parse_variation1.phpt
@@ -239,4 +239,3 @@ Arg value
Warning: xml_parse() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_create_ns_error.phpt b/ext/xml/tests/xml_parser_create_ns_error.phpt
index f1fd3f00fe..37d1a8f944 100644
--- a/ext/xml/tests/xml_parser_create_ns_error.phpt
+++ b/ext/xml/tests/xml_parser_create_ns_error.phpt
@@ -33,4 +33,4 @@ echo "Done";
Warning: xml_parser_create_ns() expects at most 2 parameters, 3 given in %s on line %d
bool(false)
-Done \ No newline at end of file
+Done
diff --git a/ext/xml/tests/xml_parser_create_variation1.phpt b/ext/xml/tests/xml_parser_create_variation1.phpt
index 2caefa0d82..347ff26514 100644
--- a/ext/xml/tests/xml_parser_create_variation1.phpt
+++ b/ext/xml/tests/xml_parser_create_variation1.phpt
@@ -242,4 +242,4 @@ resource(%d) of type (xml)
Arg value
resource(%d) of type (xml)
-Done \ No newline at end of file
+Done
diff --git a/ext/xml/tests/xml_parser_free_error.phpt b/ext/xml/tests/xml_parser_free_error.phpt
index f1a1846a3b..0502f1fecb 100644
--- a/ext/xml/tests/xml_parser_free_error.phpt
+++ b/ext/xml/tests/xml_parser_free_error.phpt
@@ -41,4 +41,3 @@ NULL
Warning: xml_parser_free() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_free_variation1.phpt b/ext/xml/tests/xml_parser_free_variation1.phpt
index be14effc8a..1e91e452eb 100644
--- a/ext/xml/tests/xml_parser_free_variation1.phpt
+++ b/ext/xml/tests/xml_parser_free_variation1.phpt
@@ -237,4 +237,3 @@ Arg value
Warning: xml_parser_free() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_get_option_error.phpt b/ext/xml/tests/xml_parser_get_option_error.phpt
index 2455dd5d32..10218fa8f9 100644
--- a/ext/xml/tests/xml_parser_get_option_error.phpt
+++ b/ext/xml/tests/xml_parser_get_option_error.phpt
@@ -43,4 +43,3 @@ NULL
Warning: xml_parser_get_option() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_get_option_variation1.phpt b/ext/xml/tests/xml_parser_get_option_variation1.phpt
index 853548f010..c45644b561 100644
--- a/ext/xml/tests/xml_parser_get_option_variation1.phpt
+++ b/ext/xml/tests/xml_parser_get_option_variation1.phpt
@@ -238,4 +238,3 @@ Arg value
Warning: xml_parser_get_option() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_get_option_variation2.phpt b/ext/xml/tests/xml_parser_get_option_variation2.phpt
index f3307c4b7f..eb965b7a8d 100644
--- a/ext/xml/tests/xml_parser_get_option_variation2.phpt
+++ b/ext/xml/tests/xml_parser_get_option_variation2.phpt
@@ -223,4 +223,3 @@ Arg value
Warning: xml_parser_get_option(): Unknown option in %s on line %d
bool(false)
Done
-
diff --git a/ext/xml/tests/xml_parser_set_option_error.phpt b/ext/xml/tests/xml_parser_set_option_error.phpt
index 6c68252c13..b99050dc19 100644
--- a/ext/xml/tests/xml_parser_set_option_error.phpt
+++ b/ext/xml/tests/xml_parser_set_option_error.phpt
@@ -46,4 +46,3 @@ NULL
Warning: xml_parser_set_option() expects exactly 3 parameters, 2 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_set_option_variation1.phpt b/ext/xml/tests/xml_parser_set_option_variation1.phpt
index c5159f6a53..23a24d58b9 100644
--- a/ext/xml/tests/xml_parser_set_option_variation1.phpt
+++ b/ext/xml/tests/xml_parser_set_option_variation1.phpt
@@ -238,4 +238,3 @@ Arg value
Warning: xml_parser_set_option() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_parser_set_option_variation2.phpt b/ext/xml/tests/xml_parser_set_option_variation2.phpt
index 043ab287df..b2c49806d1 100644
--- a/ext/xml/tests/xml_parser_set_option_variation2.phpt
+++ b/ext/xml/tests/xml_parser_set_option_variation2.phpt
@@ -213,4 +213,3 @@ Arg value
Warning: xml_parser_set_option(): Unknown option in %s on line %d
bool(false)
Done
-
diff --git a/ext/xml/tests/xml_set_character_data_handler_error.phpt b/ext/xml/tests/xml_set_character_data_handler_error.phpt
index a0597386ac..21fbbe0a12 100644
--- a/ext/xml/tests/xml_set_character_data_handler_error.phpt
+++ b/ext/xml/tests/xml_set_character_data_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_character_data_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_character_data_handler_variation1.phpt b/ext/xml/tests/xml_set_character_data_handler_variation1.phpt
index 6519f83cb6..3291853f0c 100644
--- a/ext/xml/tests/xml_set_character_data_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_character_data_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_character_data_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_default_handler_error.phpt b/ext/xml/tests/xml_set_default_handler_error.phpt
index 3adc40a6c7..6ebe364096 100644
--- a/ext/xml/tests/xml_set_default_handler_error.phpt
+++ b/ext/xml/tests/xml_set_default_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_default_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_default_handler_variation1.phpt b/ext/xml/tests/xml_set_default_handler_variation1.phpt
index 83b73cc4c3..8ce13842a2 100644
--- a/ext/xml/tests/xml_set_default_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_default_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_default_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_element_handler_error.phpt b/ext/xml/tests/xml_set_element_handler_error.phpt
index 7661df8ea6..e759d0632f 100644
--- a/ext/xml/tests/xml_set_element_handler_error.phpt
+++ b/ext/xml/tests/xml_set_element_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_element_handler() expects exactly 3 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_element_handler_variation1.phpt b/ext/xml/tests/xml_set_element_handler_variation1.phpt
index e8797b4225..258b676d99 100644
--- a/ext/xml/tests/xml_set_element_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_element_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_element_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_end_namespace_decl_handler_error.phpt b/ext/xml/tests/xml_set_end_namespace_decl_handler_error.phpt
index 35f923d72c..9be5ce069a 100644
--- a/ext/xml/tests/xml_set_end_namespace_decl_handler_error.phpt
+++ b/ext/xml/tests/xml_set_end_namespace_decl_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_end_namespace_decl_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt b/ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt
index fa1a411c4b..67b25356f6 100644
--- a/ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_end_namespace_decl_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_end_namespace_decl_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_external_entity_ref_handler_error.phpt b/ext/xml/tests/xml_set_external_entity_ref_handler_error.phpt
index 7ba32b9a1e..b18852dde2 100644
--- a/ext/xml/tests/xml_set_external_entity_ref_handler_error.phpt
+++ b/ext/xml/tests/xml_set_external_entity_ref_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_external_entity_ref_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt b/ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt
index a724e316ba..1d628b9a0c 100644
--- a/ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_external_entity_ref_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_external_entity_ref_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_notation_decl_handler_error.phpt b/ext/xml/tests/xml_set_notation_decl_handler_error.phpt
index 60fc4383a7..c9d68d0b7c 100644
--- a/ext/xml/tests/xml_set_notation_decl_handler_error.phpt
+++ b/ext/xml/tests/xml_set_notation_decl_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_notation_decl_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt b/ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt
index 8281105081..1c4bdf1ffb 100644
--- a/ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_notation_decl_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_notation_decl_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_object_error.phpt b/ext/xml/tests/xml_set_object_error.phpt
index 39a8511218..5a1fb4cb24 100644
--- a/ext/xml/tests/xml_set_object_error.phpt
+++ b/ext/xml/tests/xml_set_object_error.phpt
@@ -48,4 +48,3 @@ NULL
Warning: xml_set_object() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_object_variation1.phpt b/ext/xml/tests/xml_set_object_variation1.phpt
index bdea52cc8d..5d34d03b09 100644
--- a/ext/xml/tests/xml_set_object_variation1.phpt
+++ b/ext/xml/tests/xml_set_object_variation1.phpt
@@ -238,4 +238,3 @@ Arg value
Warning: xml_set_object() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_object_variation2.phpt b/ext/xml/tests/xml_set_object_variation2.phpt
index 83af35b93d..f2a064d217 100644
--- a/ext/xml/tests/xml_set_object_variation2.phpt
+++ b/ext/xml/tests/xml_set_object_variation2.phpt
@@ -227,4 +227,3 @@ Arg value
Warning: xml_set_object() expects parameter 2 to be object, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt b/ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt
index d38085d26c..cd5dda7763 100644
--- a/ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt
+++ b/ext/xml/tests/xml_set_processing_instruction_handler_basic.phpt
@@ -49,4 +49,4 @@ echo "Done\n";
Simple test of xml_set_processing_instruction_handler() function
Target: xml-stylesheet
Data: href="default.xsl" type="text/xml"
-Done \ No newline at end of file
+Done
diff --git a/ext/xml/tests/xml_set_processing_instruction_handler_error.phpt b/ext/xml/tests/xml_set_processing_instruction_handler_error.phpt
index 561bd35472..0016e00e93 100644
--- a/ext/xml/tests/xml_set_processing_instruction_handler_error.phpt
+++ b/ext/xml/tests/xml_set_processing_instruction_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_processing_instruction_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt b/ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt
index 8bc93c72e5..8b2ea91444 100644
--- a/ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_processing_instruction_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_processing_instruction_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt b/ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt
index 08ea65f8bb..8ee12e77cd 100644
--- a/ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt
+++ b/ext/xml/tests/xml_set_start_namespace_decl_handler_basic.phpt
@@ -58,4 +58,3 @@ Namespace_Start_Handler called
...Prefix: aw2
...Uri: file:/DTD/somewhere.dtd
Done
-
diff --git a/ext/xml/tests/xml_set_start_namespace_decl_handler_error.phpt b/ext/xml/tests/xml_set_start_namespace_decl_handler_error.phpt
index e3cab09be2..5de0bbfc1a 100644
--- a/ext/xml/tests/xml_set_start_namespace_decl_handler_error.phpt
+++ b/ext/xml/tests/xml_set_start_namespace_decl_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_start_namespace_decl_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt b/ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt
index 0600362cb8..472e8a3eaa 100644
--- a/ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_start_namespace_decl_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_start_namespace_decl_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_unparsed_entity_decl_handler_error.phpt b/ext/xml/tests/xml_set_unparsed_entity_decl_handler_error.phpt
index c0aac2339e..b196ffb48a 100644
--- a/ext/xml/tests/xml_set_unparsed_entity_decl_handler_error.phpt
+++ b/ext/xml/tests/xml_set_unparsed_entity_decl_handler_error.phpt
@@ -44,4 +44,3 @@ NULL
Warning: xml_set_unparsed_entity_decl_handler() expects exactly 2 parameters, 1 given in %s on line %d
NULL
Done
-
diff --git a/ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt b/ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt
index ed58275dcc..6d94c656ec 100644
--- a/ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt
+++ b/ext/xml/tests/xml_set_unparsed_entity_decl_handler_variation1.phpt
@@ -242,4 +242,3 @@ Arg value
Warning: xml_set_unparsed_entity_decl_handler() expects parameter 1 to be resource, null given in %s on line %d
NULL
Done
-