Skip to content

Commit 7f8adf8

Browse files
orlitzkyGirgias
authored andcommitted
ext/gd/tests: imagerotate() is always available
Following 59ec80c, the imagerotate() function is always available. We may therefore remove its function_exists() checks without harm.
1 parent 0b8466f commit 7f8adf8

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

ext/gd/tests/bug24155.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Bug #24155 (gdImageRotate270 rotation problem).
44
gd
55
--SKIPIF--
66
<?php
7-
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
87
if (!(imagetypes() & IMG_PNG)) {
98
die("skip No PNG support");
109
}

ext/gd/tests/bug39366.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
Bug #39366 (imagerotate does not respect alpha with angles>45)
33
--EXTENSIONS--
44
gd
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists("imagerotate")) die("skip requires imagerotate function");
8-
?>
95
--FILE--
106
<?php
117

ext/gd/tests/imagerotate_overflow.phpt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
imagerotate() overflow with negative numbers
33
--EXTENSIONS--
44
gd
5-
--SKIPIF--
6-
<?php
7-
if (!function_exists('imagerotate')) {
8-
die("skip imagerotate() not available.");
9-
}
10-
?>
115
--FILE--
126
<?php
137

0 commit comments

Comments
 (0)