mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
f1d7e3ca0b
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 |
||
---|---|---|
.. | ||
2x2mm.tif | ||
75x50.wbmp | ||
75x50.xbm | ||
200x100_unknown.unknown | ||
200x100.bmp | ||
200x100.gif | ||
200x100.jpg | ||
200x100.png | ||
200x100.swf | ||
200x100.tif | ||
246x247.png | ||
384x385.png | ||
blank_file.bmp | ||
bug13213.jpg | ||
bug13213.phpt | ||
bug67250.phpt | ||
bug70052_1.wbmp | ||
bug70052_2.wbmp | ||
bug70052.phpt | ||
bug70096.phpt | ||
bug71848.jpg | ||
bug71848.phpt | ||
bug72278.jpg | ||
bug72278.phpt | ||
getimagesize_246x247.phpt | ||
getimagesize_384x385.phpt | ||
getimagesize_basic.phpt | ||
getimagesize_error1.phpt | ||
getimagesize_jpgapp.phpt | ||
getimagesize_swc.phpt | ||
getimagesize_tif_mm.phpt | ||
getimagesize_variation1.phpt | ||
getimagesize_variation2.phpt | ||
getimagesize_variation3.phpt | ||
getimagesize_variation4.phpt | ||
getimagesize_variation_003.phpt | ||
getimagesize_variation_005.phpt | ||
getimagesize_wbmp.phpt | ||
getimagesize_xbm.phpt | ||
getimagesize.phpt | ||
getimagesizefromstring1.phpt | ||
image_type_to_extension.phpt | ||
image_type_to_mime_type_basic.phpt | ||
image_type_to_mime_type_error.phpt | ||
image_type_to_mime_type_variation1.phpt | ||
image_type_to_mime_type_variation2.phpt | ||
image_type_to_mime_type_variation3.phpt | ||
image_type_to_mime_type_variation4.phpt | ||
image_type_to_mime_type.phpt | ||
iptcembed_001.phpt | ||
skipif_imagetype.inc | ||
test1bpix.bmp | ||
test1pix.bmp | ||
test1pix.jp2 | ||
test1pix.jpc | ||
test1pix.jpg | ||
test2pix.gif | ||
test3llpix.webp | ||
test3pix.webp | ||
test4pix.gif | ||
test4pix.iff | ||
test4pix.png | ||
test4pix.psd | ||
test4pix.swf | ||
test4pix.tif | ||
test12pix.webp | ||
test13pix.swf | ||
test-1pix.bmp | ||
test.gif | ||
test.txt | ||
testAPP.jpg |