1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext/opcache/tests
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
..
2018-10-14 12:07:20 -03:00
2016-11-10 22:28:32 +01:00
2015-06-20 09:35:02 +02:00
2013-11-26 12:13:42 +04:00
2016-02-28 11:53:21 +01:00
2014-11-01 22:29:55 +08:00
2017-02-03 18:52:57 +01:00
2017-02-03 21:02:52 +01:00
2015-05-22 11:50:55 +08:00
2015-09-07 17:31:49 +02:00
2015-12-23 03:52:01 +03:00
2016-01-26 15:59:18 +08:00
2016-08-05 16:27:55 +02:00
2016-12-05 20:41:14 +01:00
2016-12-06 22:25:35 +01:00
2018-02-04 17:26:37 +01:00
2016-12-31 13:33:21 +01:00
2017-04-14 21:26:02 +02:00
2017-05-17 22:42:18 +08:00
2017-06-23 17:32:45 +02:00
2017-10-13 18:21:41 +08:00
2017-11-28 13:15:54 +08:00
2017-12-16 21:24:26 +01:00
2017-12-16 22:04:18 +01:00
2018-03-24 13:15:59 +01:00
2018-02-05 21:41:44 +01:00
2018-02-09 15:10:23 +01:00
2018-02-16 20:30:03 +01:00
2018-04-27 22:21:59 +02:00
2018-09-07 14:02:03 +02:00
2018-02-17 14:51:11 +01:00
2017-01-02 22:30:28 -08:00
2013-09-16 14:58:18 +08:00
2017-01-02 22:30:28 -08:00
2014-05-26 15:40:26 +08:00
2018-02-13 14:04:51 +01:00
2014-02-14 17:12:52 +02:00
2016-02-28 11:53:21 +01:00
2016-06-05 23:00:32 +02:00
2016-07-17 22:47:49 +02:00
2018-09-10 15:26:38 +03:00