php-src/ext/calendar/tests
Peter Kokot f1d7e3ca0b 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:31:31 +02:00
..
bug52744.phpt Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original 2010-09-09 06:41:23 +00:00
bug53574_1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
bug53574_2.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
bug54254.phpt Add test for interoperability of jdtojewish and cal_days_in_month 2012-08-07 01:48:31 -07:00
bug55797_1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
bug55797_2.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
bug67976.phpt Fix #67976: cal_days_month() fails for final month of the French calendar 2016-07-28 19:13:58 +02:00
bug71894.phpt Fix #71894: AddressSanitizer: global-buffer-overflow in zif_cal_from_jd 2016-07-29 01:04:21 +02:00
cal_days_in_month_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
cal_days_in_month.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
cal_from_jd_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
cal_from_jd.phpt MFH tests 2006-10-09 16:02:34 +00:00
cal_info.phpt pull-request/2456: 2017-04-08 11:37:10 +01:00
cal_to_jd_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
cal_to_jd.phpt
easter_date.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
easter_days.phpt
frenchtojd.phpt
gregoriantojd_overflow.phpt Skip 64-bit specific tests on 32-bit systems 2016-11-17 11:44:28 +03:00
gregoriantojd.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jddayofweek.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdmonthname.phpt text fixes from emosenkis 2012-08-07 01:48:32 -07:00
jdtofrench.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdtogregorian_overflow.phpt Implement FR #65462: Please add tests for gregorian and jewish overflow fixes 2016-07-28 19:59:14 +02:00
jdtogregorian.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdtojewish64.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
jdtojewish_hebrew.phpt Fix #52974: jewish.c: compile error under Windows with GBK charset 2018-07-22 17:42:10 +02:00
jdtojewish_overflow.phpt Implement FR #65462: Please add tests for gregorian and jewish overflow fixes 2016-07-28 19:59:14 +02:00
jdtojewish.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdtojulian.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdtomonthname.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
jdtounix_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
jdtounix.phpt MFH tests 2006-10-09 16:02:34 +00:00
jewishtojd.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
juliantojd_overflow.phpt Skip 64-bit specific tests on 32-bit systems 2016-11-17 11:44:28 +03:00
juliantojd.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
skipif.inc Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
unixtojd_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
unixtojd.phpt pull-request/2456: 2017-04-08 11:37:10 +01:00