php-src/tests/output
Peter Kokot 113213f027 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:29:24 +02:00
..
bug46897.phpt * implement new output API, fixing some bugs and implementing some feature 2010-05-31 10:29:43 +00:00
bug60282.phpt more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
bug60321.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
bug60322.phpt fix test for bug #60322 2013-06-13 10:30:00 -07:00
bug60768.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
bug65593.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
bug70970.phpt Fixed test 2015-11-26 12:00:25 +08:00
bug74725.phpt Fix bug #74725 (html_errors=1 breaks unhandled exceptions) 2017-08-12 01:37:20 +01:00
bug75236.phpt Fix bug #75236 2017-09-21 00:02:52 +01:00
flush_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
flush_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_001.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_002.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_003.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_004.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_005.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_006.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_007.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_008.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_009.phpt Backport ob test to php 5.2 and 53. 2009-06-14 16:47:11 +00:00
ob_010.phpt Switch zend_print_zval_r to use smart_str 2016-06-13 18:04:22 +02:00
ob_011.phpt Fixed bug #70970 (Segfault when combining error handler with output buffering) 2015-11-25 08:00:20 -08:00
ob_012.phpt Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
ob_013.phpt fix test 2012-05-15 23:09:46 -07:00
ob_014.phpt Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
ob_015.phpt Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
ob_017.phpt Made test compatible with O+ 2013-03-16 16:11:00 +04:00
ob_018.phpt Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
ob_020.phpt Backport ob test to php 5.2 and 53. 2009-06-18 21:03:00 +00:00
ob_clean_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_clean_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_end_clean_basic_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
ob_end_clean_error_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
ob_end_flush_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_end_flush_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_flush_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_flush_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_clean_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_clean_basic_002.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_clean_error_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
ob_get_contents_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_contents_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_length_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_length_error_001.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
ob_get_level_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_level_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_get_status.phpt * implement new output API, fixing some bugs and implementing some feature 2010-05-31 10:29:43 +00:00
ob_implicit_flush_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_implicit_flush_basic_002.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_implicit_flush_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_implicit_flush_variation_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_basic_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_basic_002.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_003.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_004.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:29:24 +02:00
ob_start_basic_005.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_basic_006.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_basic_unerasable_001.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_unerasable_002.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_unerasable_003.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_unerasable_004.phpt Use "float" and "integer" in typehint and zpp errors 2014-12-21 13:23:02 +00:00
ob_start_basic_unerasable_005.phpt * implement new output API, fixing some bugs and implementing some feature 2010-05-31 10:29:43 +00:00
ob_start_callbacks.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_error_001.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_error_002.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_error_003.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_error_004.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00
ob_start_error_005.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:43:12 +02:00