1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Files
archived-php-src/ext/spl/tests
Peter Kokot 03f3b8479b Sync leading and final newlines in source code files
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.

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-14 12:51:01 +02:00
..
2008-05-08 12:02:17 +00:00
2010-04-03 15:42:42 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2016-03-18 20:28:58 +01:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2009-07-28 22:25:31 +00:00
2008-06-12 20:52:34 +00:00
2008-09-22 13:09:50 +00:00
2010-11-08 20:26:14 +00:00
2016-03-18 20:28:58 +01:00
2010-08-18 01:59:37 +00:00
2015-08-21 14:08:33 +02:00
2012-03-21 12:42:09 +00:00
2016-03-20 18:17:44 +01:00
2012-05-24 23:31:05 +08:00
2012-08-13 11:03:35 +08:00
2012-07-09 12:42:10 +02:00
2012-07-21 23:30:32 +08:00
2015-04-01 11:17:55 +02:00
2014-02-28 09:43:57 +01:00
2014-03-07 19:23:46 +08:00
2015-03-13 15:02:05 +11:00
2014-12-01 19:09:39 +01:00
2016-03-20 17:46:12 +01:00
2016-09-22 12:46:19 +02:00
2014-10-14 22:49:01 +08:00
2014-12-05 10:18:22 +01:00
2015-02-23 10:35:16 +01:00
2015-08-21 14:05:58 +02:00
2016-09-12 21:04:23 -07:00
2015-12-04 06:51:16 -08:00
2015-12-17 20:59:57 +01:00
2015-12-23 08:13:13 -08:00
2016-02-21 13:00:37 +01:00
2016-03-18 19:58:52 +01:00
2017-12-22 18:22:00 +01:00
2018-10-13 11:21:27 +02:00
2017-03-09 00:10:00 +01:00
2018-10-13 11:21:27 +02:00
2017-09-04 21:23:07 +02:00
2017-12-22 18:11:38 +01:00
2017-12-22 18:01:03 +01:00
2013-12-02 11:53:35 +04:00
2013-12-02 11:53:35 +04:00
2009-07-04 20:31:27 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2010-04-03 15:42:42 +00:00
MFH
2008-07-02 12:25:15 +00:00
2008-07-13 19:47:52 +00:00
2008-08-03 19:07:31 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-05-24 14:10:44 +00:00
2008-11-22 14:19:47 +00:00
2008-05-24 14:10:44 +00:00
2008-05-25 12:13:41 +00:00
2008-08-03 19:07:31 +00:00
2010-04-03 15:42:42 +00:00
2014-08-26 10:02:55 +02:00
2014-10-14 22:49:01 +08:00
2014-10-14 22:49:01 +08:00
2014-10-14 22:49:01 +08:00
2016-09-22 12:46:19 +02:00
2014-10-14 22:49:01 +08:00
2008-05-24 14:10:44 +00:00
2008-11-22 14:19:47 +00:00
2008-05-24 14:10:44 +00:00
2016-03-18 20:28:58 +01:00
2009-04-26 23:58:44 +00:00
2014-08-26 10:02:55 +02:00
2010-04-03 15:42:42 +00:00
2014-06-18 15:59:45 +02:00