Skip to content

Commit

Permalink
Rename *.tif to *.tiff for consistency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
petk committed May 16, 2019
1 parent 806db1a commit ab2710c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ext/standard/tests/image/getimagesize.phpt
Expand Up @@ -255,7 +255,7 @@ array(16) {
["mime"]=>
string(29) "application/x-shockwave-flash"
}
["test4pix.tif"]=>
["test4pix.tiff"]=>
array(5) {
[0]=>
int(4)
Expand Down
4 changes: 2 additions & 2 deletions ext/standard/tests/image/getimagesize_basic.phpt
Expand Up @@ -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",
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/image/getimagesize_tif_mm.phpt
Expand Up @@ -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);

?>
Expand Down
2 changes: 1 addition & 1 deletion ext/standard/tests/image/image_type_to_mime_type.phpt
Expand Up @@ -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"
}
File renamed without changes.

0 comments on commit ab2710c

Please sign in to comment.