php-src/ext/simplexml/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
..
000.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
000.xml Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
001-mb.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
003.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
005.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
006.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
007.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
008.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
009.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
009b.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
010.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
011.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
012.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
013.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
014.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
014a.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
014b.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
015.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
016.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
016a.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
017.phpt Req #74963 (Improved error message on fetching property of non-object) 2017-07-31 11:51:23 +08:00
018.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
019.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
020.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
021.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
022.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
023.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
024.phpt
025.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
026.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
027.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
028.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
029.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
030.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
031.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
032.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
033.phpt
034.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
035.phpt
036.phpt
book.xml
bug24392.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug24392.xml Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
bug26976.phpt
bug27010.phpt
bug35785.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug36611.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug37076.phpt
bug37076_1.phpt
bug37386.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug37565.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug38347.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug38354.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug38406.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug38424.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug39662.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug39760.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug40451.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug41175.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug41582.phpt
bug41861.phpt
bug41867.phpt
bug41947.phpt
bug42259.phpt
bug42369.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug43221.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug44478.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug45553.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug46003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug46047.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug46048.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug48601.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug51615.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug53033.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug54973.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
bug61335.phpt
bug62328.phpt
bug62639.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug66084_0.phpt
bug66084_1.phpt fix regression introduced in 5683b6fa39 2016-03-08 12:59:59 +01:00
bug67116.phpt
bug67572.phpt
bug69169.phpt
bug69491.phpt
bug72588.phpt Fixed bug #72588 (Using global var doesn't work while accessing SimpleXML element) 2016-07-13 10:49:58 +08:00
bug72957.phpt Fix bug #72957 2016-08-30 13:05:53 +02:00
bug72971.phpt Fix bug #72971 2016-08-30 10:54:31 +02:00
bug72971_2.phpt Followup for bug #72971 2016-08-30 12:53:50 +02:00
bug74950.phpt Skip 64-bit related test 2017-08-15 13:00:45 +03:00
bug76712.phpt Fix #76712: Assignment of empty string creates extraneous text node 2018-08-25 14:24:09 +02:00
feature55218.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
foreach_by_reference.phpt Add a test for iterating SXE properties by reference 2018-02-19 21:58:57 +01:00
profile01.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
profile02.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
profile03.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
profile04.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
profile05.phpt
profile06.phpt
profile07.phpt
profile08.phpt
profile09.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
profile10.phpt
profile11.phpt
profile12.phpt
profile13.phpt
simplexml_import_dom.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
simplexml_load_file.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
SimpleXMLElement_addAttribute_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
SimpleXMLElement_addAttribute_required_attribute_name.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
SimpleXMLElement_getDocNamespaces.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
SimpleXMLElement_xpath.phpt Add missing SKIPIF sections 2018-02-03 13:54:34 +01:00
SimpleXMLElement_xpath_3.phpt Remove superfluous check for PHP 7+ tests 2018-07-27 00:48:30 -03:00
SimpleXMLElement_xpath_4.phpt Remove superfluous check for PHP 7+ tests 2018-07-27 00:48:30 -03:00
sxe.dtd Fix permissions 2018-09-21 14:12:25 +02:00
sxe.ent Fix permissions 2018-09-21 14:12:25 +02:00
sxe.xml Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
sxe_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
sxe_002.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
sxe_003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
sxe_004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
sxe_005.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
sxe私はガラスを食べられます.xml Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00