1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/ext/date/tests
Peter Kokot b746e69887 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:32:30 +02:00
..
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2009-05-12 19:46:58 +00:00
2015-05-14 10:28:59 +02:00
2008-07-16 07:36:04 +00:00
2008-04-29 07:26:46 +00:00
2015-04-28 12:48:23 +02:00
2009-06-21 22:31:41 +00:00
2011-12-07 19:42:44 +00:00
2010-01-14 15:45:49 +00:00
2010-07-06 00:25:52 +00:00
2014-08-13 20:24:43 +08:00
2011-12-07 19:42:44 +00:00
2017-06-22 13:56:03 +01:00
2010-08-30 15:40:36 +00:00
2011-12-07 19:42:44 +00:00
2011-12-07 19:42:44 +00:00
2011-12-07 19:42:44 +00:00
2018-02-14 11:10:59 +01:00
2013-09-16 03:42:49 +02:00
2014-01-09 15:27:26 +01:00
2016-07-11 16:06:35 +02:00
2014-08-20 14:44:25 -07:00
2016-01-29 15:22:22 +01:00
2015-08-28 11:38:16 +02:00
2016-11-13 05:32:24 +00:00
2017-02-12 20:17:01 +00:00
2017-02-12 20:17:01 +00:00
2017-01-01 12:15:52 +01:00
2017-02-12 20:17:01 +00:00
2017-02-12 20:17:01 +00:00
2017-02-12 20:17:01 +00:00
2018-10-09 11:08:40 +01:00
2018-02-10 19:29:47 +01:00
2011-06-23 21:27:42 +00:00
2017-07-04 20:12:57 -07:00
2017-06-03 00:54:34 +02:00
2010-02-10 16:23:30 +00:00