Skip to content

Commit

Permalink
ext/gd/tests: imagerotate() is always available
Browse files Browse the repository at this point in the history
Following 59ec80c, the imagerotate() function is always available. We
may therefore remove its function_exists() checks without harm.
  • Loading branch information
orlitzky authored and Girgias committed Dec 31, 2023
1 parent 0b8466f commit 7f8adf8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion ext/gd/tests/bug24155.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Bug #24155 (gdImageRotate270 rotation problem).
gd
--SKIPIF--
<?php
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
if (!(imagetypes() & IMG_PNG)) {
die("skip No PNG support");
}
Expand Down
4 changes: 0 additions & 4 deletions ext/gd/tests/bug39366.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
Bug #39366 (imagerotate does not respect alpha with angles>45)
--EXTENSIONS--
gd
--SKIPIF--
<?php
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
?>
--FILE--
<?php

Expand Down
6 changes: 0 additions & 6 deletions ext/gd/tests/imagerotate_overflow.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
imagerotate() overflow with negative numbers
--EXTENSIONS--
gd
--SKIPIF--
<?php
if (!function_exists('imagerotate')) {
die("skip imagerotate() not available.");
}
?>
--FILE--
<?php

Expand Down

0 comments on commit 7f8adf8

Please sign in to comment.