php-src/ext/standard/tests/image
Peter Kokot f1d7e3ca0b 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:31:31 +02:00
..
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 Fix #72278: getimagesize returning FALSE on valid jpg 2016-08-13 16:14:34 +02:00
bug67250.phpt
bug70052_1.wbmp Fix #70052: getimagesize() fails for very large and very small WBMP 2015-07-23 18:31:28 +02:00
bug70052_2.wbmp Fix #70052: getimagesize() fails for very large and very small WBMP 2015-07-23 18:31:28 +02:00
bug70052.phpt Fix #70052: getimagesize() fails for very large and very small WBMP 2015-07-23 18:31:28 +02:00
bug70096.phpt test requires imagejpeg(); skip otherwise 2015-07-31 13:51:49 +02:00
bug71848.jpg Fix #71848: getimagesize with $imageinfo returns false 2018-06-30 16:29:30 +02:00
bug71848.phpt Fix #71848: getimagesize with $imageinfo returns false 2018-06-30 16:29:30 +02:00
bug72278.jpg Fix #72278: getimagesize returning FALSE on valid jpg 2016-08-13 16:14:34 +02:00
bug72278.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_246x247.phpt
getimagesize_384x385.phpt
getimagesize_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_error1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_jpgapp.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
getimagesize_swc.phpt
getimagesize_tif_mm.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation2.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation3.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation4.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation_003.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
getimagesize_variation_005.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
getimagesize_wbmp.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
getimagesize_xbm.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
getimagesize.phpt Merge branch 'PHP-7.0' into PHP-7.1 2017-07-30 16:27:38 +02:00
getimagesizefromstring1.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
image_type_to_extension.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type_error.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
image_type_to_mime_type_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type_variation3.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type_variation4.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
image_type_to_mime_type.phpt Add VP8X support to getimagesize() and friends 2016-10-08 15:06:07 +02:00
iptcembed_001.phpt
skipif_imagetype.inc
test1bpix.bmp Shrink another large image 2017-07-30 16:26:06 +02:00
test1pix.bmp
test1pix.jp2
test1pix.jpc
test1pix.jpg
test2pix.gif
test3llpix.webp Add VP8L support to getimagesize() and friends 2016-10-08 10:22:04 +02:00
test3pix.webp Implement #65038: IMAGETYPE_WEBP constant missing 2016-10-08 00:02:21 +02:00
test4pix.gif
test4pix.iff
test4pix.png
test4pix.psd
test4pix.swf
test4pix.tif
test12pix.webp Add VP8X support to getimagesize() and friends 2016-10-08 15:06:07 +02:00
test13pix.swf
test-1pix.bmp
test.gif
test.txt
testAPP.jpg