php-src/Zend/tests/try
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
..
bug70228.phpt
bug70228_2.phpt
bug70228_3.phpt
bug70228_4.phpt
bug70228_5.phpt
bug70228_6.phpt
bug70228_7.phpt
bug70228_8.phpt
bug71604.phpt
bug71604_2.phpt
bug71604_3.phpt
bug72213.phpt
bug72213_2.phpt
bug72629.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug74444.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
catch_002.phpt
catch_003.phpt
catch_004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
catch_finally_001.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
catch_finally_002.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
catch_finally_003.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
catch_finally_004.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
catch_finally_005.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
catch_finally_006.phpt
exceptions.inc
finally_goto_001.phpt
finally_goto_002.phpt
finally_goto_003.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
finally_goto_004.phpt
finally_goto_005.phpt
try_catch_finally_001.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_catch_finally_002.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_catch_finally_003.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_catch_finally_004.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_catch_finally_005.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_catch_finally_006.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
try_catch_finally_007.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
try_finally_001.phpt
try_finally_002.phpt
try_finally_003.phpt
try_finally_004.phpt
try_finally_005.phpt
try_finally_006.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
try_finally_007.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
try_finally_008.phpt
try_finally_009.phpt
try_finally_010.phpt
try_finally_011.phpt
try_finally_012.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
try_finally_013.phpt
try_finally_014.phpt
try_finally_015.phpt
try_finally_016.phpt
try_finally_017.phpt
try_finally_018.phpt
try_finally_019.phpt
try_finally_020.phpt
try_finally_021.phpt
try_finally_022.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
try_finally_023.phpt
try_finally_024.phpt
try_finally_025.phpt
try_finally_026.phpt
try_finally_027.phpt
try_multicatch_001.phpt
try_multicatch_002.phpt
try_multicatch_003.phpt
try_multicatch_004.phpt
try_multicatch_005.phpt
try_multicatch_006.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
try_multicatch_007.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00