php-src/tests/basic
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
002.phpt
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
007.phpt
008.phpt
009.phpt
010.phpt
011.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
012.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03: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
015.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
016.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
017.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
018.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
019.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
020.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
021.phpt
022.phpt
023.phpt
025.phpt The test output is dependent on expose_php ini 2014-07-14 07:17:59 -07:00
027.phpt
028.phpt
029.phpt
030.phpt
031.phpt
032.phpt
bug20539.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
bug29971.phpt
bug31875.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug45986.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:46:15 +02:00
bug53180.phpt Fix CRLF line-endings in tests 2016-11-20 22:31:24 +01:00
bug54514.phpt
bug55500.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
bug61000.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug67198.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
bug67988.phpt Fixed Bug #67988 htmlspecialchars() does not respect default_charset specified by ini_set. 2015-02-03 18:52:46 +09:00
bug71273.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
bug73969.inc Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called 2017-01-22 16:11:25 +00:00
bug73969.phpt Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called 2017-01-22 16:11:25 +00:00
enable_post_data_reading_01.phpt
enable_post_data_reading_02.phpt
enable_post_data_reading_03.phpt
enable_post_data_reading_04.phpt
enable_post_data_reading_05.phpt
enable_post_data_reading_06.phpt
encoding.phpt Remove empty sections in tests 2018-02-14 11:10:59 +01:00
header_register_callback.phpt Fixed bug memleak in header_register_callback 2015-12-11 17:26:31 +08:00
precision.phpt Add decimal point in double serialization 2016-06-26 13:26:43 +01:00
req44164.phpt Fix CRLF line-endings in tests 2016-11-20 22:31:24 +01:00
req60524-win.phpt Change PHP_OS_FAMILY slightly 2017-02-22 12:31:06 +01:00
req60524.phpt Change PHP_OS_FAMILY slightly 2017-02-22 12:31:06 +01:00
rfc1867_anonymous_upload.phpt remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
rfc1867_array_upload.phpt Remove more PHP 6 leftovers from tests 2016-11-24 22:39:39 +01:00
rfc1867_boundary_1.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_boundary_2.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_empty_upload.phpt remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
rfc1867_file_upload_disabled.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_garbled_mime_headers.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_invalid_boundary.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_malicious_input.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
rfc1867_max_file_size.phpt remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
rfc1867_max_file_uploads_empty_files.phpt Fix CRLF line-endings in tests 2016-11-20 22:31:24 +01:00
rfc1867_missing_boundary.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
rfc1867_missing_boundary_2.phpt Use EXPECT instead of EXPECTF when possible 2018-09-16 15:39:18 -03:00
rfc1867_post_max_filesize.phpt remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
rfc1867_post_max_size.phpt Decouple DEBUG_FILE_UPLOAD from ZEND_DEBUG 2016-08-19 00:34:13 +02:00
timeout_config.inc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
timeout_variation_0.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_1.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_2.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_3.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_4.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_5.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_6.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_7.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_8.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_9.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
timeout_variation_10.phpt Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00