mirror of
https://github.com/php/php-src.git
synced 2025-08-20 17:34:35 +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 |
||
---|---|---|
.. | ||
r2_base_001p.phpt | ||
r2_base_001s.phpt | ||
r2_base_001w.phpt | ||
r2_base_002p.phpt | ||
r2_base_002s.phpt | ||
r2_base_002w.phpt | ||
r2_base_003p.phpt | ||
r2_base_003s.phpt | ||
r2_base_003w.phpt | ||
r2_base_004p.phpt | ||
r2_base_004s.phpt | ||
r2_base_004w.phpt | ||
r2_base_005p.phpt | ||
r2_base_005s.phpt | ||
r2_base_005w.phpt | ||
r2_base_006p.phpt | ||
r2_base_006s.phpt | ||
r2_base_006w.phpt | ||
r2_base_007p.phpt | ||
r2_base_007s.phpt | ||
r2_base_007w.phpt | ||
r2_base_008p.phpt | ||
r2_base_008s.phpt | ||
r2_base_008w.phpt | ||
r2_base_009p.phpt | ||
r2_base_009s.phpt | ||
r2_base_009w.phpt | ||
r2_base_010p.phpt | ||
r2_base_010s.phpt | ||
r2_base_010w.phpt | ||
r2_base_011p.phpt | ||
r2_base_011s.phpt | ||
r2_base_011w.phpt | ||
r2_base_012p.phpt | ||
r2_base_012s.phpt | ||
r2_base_012w.phpt | ||
r2_base_013p.phpt | ||
r2_base_013s.phpt | ||
r2_base_013w.phpt | ||
r2_base_014p.phpt | ||
r2_base_014s.phpt | ||
r2_base_014w.phpt | ||
r2_base_015p.phpt | ||
r2_base_015s.phpt | ||
r2_base_015w.phpt | ||
r2_base_016p.phpt | ||
r2_base_016s.phpt | ||
r2_base_016w.phpt | ||
r2_base_017p.phpt | ||
r2_base_017s.phpt | ||
r2_base_017w.phpt | ||
r2_base_018p.phpt | ||
r2_base_018s.phpt | ||
r2_base_018w.phpt | ||
r2_base_019p.phpt | ||
r2_base_019s.phpt | ||
r2_base_019w.phpt | ||
r2_base_020p.phpt | ||
r2_base_020s.phpt | ||
r2_base_020w.phpt | ||
r2_base_021p.phpt | ||
r2_base_021s.phpt | ||
r2_base_021w.phpt | ||
r2_base_022p.phpt | ||
r2_base_022s.phpt | ||
r2_base_022w.phpt | ||
r2_base_023p.phpt | ||
r2_base_023s.phpt | ||
r2_base_023w.phpt | ||
r2_base_024p.phpt | ||
r2_base_024s.phpt | ||
r2_base_024w.phpt | ||
round2_base.inc | ||
round2_base.wsdl | ||
skipif.inc |