mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
![]() 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 |
||
---|---|---|
.. | ||
skipif.inc | ||
soap12-test.inc | ||
soap12-test.wsdl | ||
T01.phpt | ||
T02.phpt | ||
T03.phpt | ||
T04.phpt | ||
T05.phpt | ||
T10.phpt | ||
T11.phpt | ||
T12.phpt | ||
T13.phpt | ||
T14.phpt | ||
T15.phpt | ||
T19.phpt | ||
T22.phpt | ||
T23.phpt | ||
T24.phpt | ||
T25.phpt | ||
T26.phpt | ||
T27.phpt | ||
T28.phpt | ||
T29.phpt | ||
T30.phpt | ||
T31.phpt | ||
T32.phpt | ||
T33.phpt | ||
T34.phpt | ||
T35.phpt | ||
T36.phpt | ||
T37.phpt | ||
T38_1.phpt | ||
T38_2.phpt | ||
T39.phpt | ||
T40.phpt | ||
T41.phpt | ||
T42.phpt | ||
T43.phpt | ||
T44.phpt | ||
T45.phpt | ||
T46.phpt | ||
T47.phpt | ||
T48.phpt | ||
T49.phpt | ||
T50.phpt | ||
T51.phpt | ||
T52.phpt | ||
T53.phpt | ||
T54.phpt | ||
T55.phpt | ||
T56.phpt | ||
T57.phpt | ||
T58.phpt | ||
T59.phpt | ||
T60.phpt | ||
T61.phpt | ||
T63.phpt | ||
T64.phpt | ||
T65.phpt | ||
T66.phpt | ||
T67.phpt | ||
T68.phpt | ||
T69.phpt | ||
T70.phpt | ||
T71.phpt | ||
T72.phpt | ||
T73.phpt | ||
T74.phpt | ||
T75.phpt | ||
T76_1.phpt | ||
T76_2.phpt | ||
T77_1.phpt | ||
T77_2.phpt | ||
T77_3.phpt | ||
T78.phpt | ||
T80.phpt |