From: Peter Kokot Date: Thu, 16 May 2019 05:41:45 +0000 (+0200) Subject: Rename *.tif to *.tiff for consistency X-Git-Tag: php-7.4.0alpha1~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab2710c8d0261b4e3a5b1efcd86256134b9905d0;p=php Rename *.tif to *.tiff for consistency There really isn't any practical difference between these two, but repo currently uses *.tiff files more than 8.3 variant filenames of *.tif. Also these aren't part of the test. --- diff --git a/ext/standard/tests/image/200x100.tif b/ext/standard/tests/image/200x100.tiff similarity index 100% rename from ext/standard/tests/image/200x100.tif rename to ext/standard/tests/image/200x100.tiff diff --git a/ext/standard/tests/image/2x2mm.tif b/ext/standard/tests/image/2x2mm.tiff similarity index 100% rename from ext/standard/tests/image/2x2mm.tif rename to ext/standard/tests/image/2x2mm.tiff diff --git a/ext/standard/tests/image/getimagesize.phpt b/ext/standard/tests/image/getimagesize.phpt index 2d0ab0154d..db8213b7dc 100644 --- a/ext/standard/tests/image/getimagesize.phpt +++ b/ext/standard/tests/image/getimagesize.phpt @@ -255,7 +255,7 @@ array(16) { ["mime"]=> string(29) "application/x-shockwave-flash" } - ["test4pix.tif"]=> + ["test4pix.tiff"]=> array(5) { [0]=> int(4) diff --git a/ext/standard/tests/image/getimagesize_basic.phpt b/ext/standard/tests/image/getimagesize_basic.phpt index 1129975742..8e03ff2e53 100644 --- a/ext/standard/tests/image/getimagesize_basic.phpt +++ b/ext/standard/tests/image/getimagesize_basic.phpt @@ -24,7 +24,7 @@ $imagetype_filenames = array( "BMP image file" => "200x100.bmp", //TIFF intel byte order - "TIFF intel byte order image file" => "200x100.tif", + "TIFF intel byte order image file" => "200x100.tiff", //JPC file "JPC image file" => "test1pix.jpc", @@ -143,7 +143,7 @@ array(6) { array(0) { } --- TIFF intel byte order image file (200x100.tif) -- +-- TIFF intel byte order image file (200x100.tiff) -- array(5) { [0]=> int(200) diff --git a/ext/standard/tests/image/getimagesize_tif_mm.phpt b/ext/standard/tests/image/getimagesize_tif_mm.phpt index fe4efaf357..8fb7ceb87a 100644 --- a/ext/standard/tests/image/getimagesize_tif_mm.phpt +++ b/ext/standard/tests/image/getimagesize_tif_mm.phpt @@ -9,7 +9,7 @@ GetImageSize() for tiff format with big-endian (aka Motorola, aka MM) ordering */ echo "*** Testing getimagesize() : tiff_mm format ***\n"; -var_dump(getimagesize(__DIR__ . "/2x2mm.tif", $arr)); +var_dump(getimagesize(__DIR__ . "/2x2mm.tiff", $arr)); var_dump($arr); ?> diff --git a/ext/standard/tests/image/image_type_to_mime_type.phpt b/ext/standard/tests/image/image_type_to_mime_type.phpt index f1a40e3eb3..b1781aac2b 100644 --- a/ext/standard/tests/image/image_type_to_mime_type.phpt +++ b/ext/standard/tests/image/image_type_to_mime_type.phpt @@ -55,6 +55,6 @@ array(16) { string(9) "image/psd" ["test4pix.swf"]=> string(29) "application/x-shockwave-flash" - ["test4pix.tif"]=> + ["test4pix.tiff"]=> string(10) "image/tiff" } diff --git a/ext/standard/tests/image/test4pix.tif b/ext/standard/tests/image/test4pix.tiff similarity index 100% rename from ext/standard/tests/image/test4pix.tif rename to ext/standard/tests/image/test4pix.tiff