php-src/ext/libxml/tests
Peter Kokot d679f02295 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
2018-10-15 04:33:09 +02:00
..
001.phpt Use bool instead of boolean while throwing a type error 2018-02-04 23:09:40 +01:00
002.phpt
003.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
004.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
bug42112.phpt
bug54138.phpt added tests for bug #54138 2015-06-08 09:59:36 +02:00
bug54138_1.phpt added tests for bug #54138 2015-06-08 09:59:36 +02:00
bug54138_2.phpt added tests for bug #54138 2015-06-08 09:59:36 +02:00
bug54440.phpt
bug61367-read.phpt fix test concurrency 2013-09-18 10:53:11 +02:00
bug61367-write.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug63389.phpt Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak) 2012-10-30 11:08:14 +08:00
bug69753-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug69753.phpt replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument::load man page 2015-06-08 09:40:06 +02:00
bug69753.xml added XFAIL test for bug #69753 2015-06-08 09:40:04 +02:00
bug69753私はガラスを食べられます.xml Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug76777.phpt Fixed bug #76777 and added test 2018-08-22 12:51:06 +02:00
libxml_disable_entity_loader.phpt [libxml] Unit test for libxml_disable_entity_loader() 2014-01-06 17:04:54 +00:00
libxml_disable_entity_loader_payload.txt [libxml] Unit test for libxml_disable_entity_loader() 2014-01-06 17:04:54 +00:00
libxml_set_external_entity_loader_basic.phpt Move libxml_destroy_fci to RSHUTDOWN 2014-04-18 00:15:13 +02:00
libxml_set_external_entity_loader_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
libxml_set_external_entity_loader_variation1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
libxml_set_external_entity_loader_variation2.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
test.xml