Skip to content

Commit 371f412

Browse files
committed
Remove superfluous checks for PNG support
PNG support is required to build ext/gd, so there's no need to check for it in the tests.
1 parent dfc8116 commit 371f412

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

ext/gd/tests/bug72604.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Bug #72604 (imagearc() ignores thickness for full arcs)
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('gd')) die('skip requires ext/gd');
6-
if (!(imagetypes() & IMG_PNG)) die('skip requires PNG support');
76
?>
87
--FILE--
98
<?php

ext/gd/tests/imagecopyresampled_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ imagecopyresampled()
33
--SKIPIF--
44
<?php
55
if (!function_exists('imagecopyresampled')) die('skip imagecopyresampled() not available');
6-
if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled');
76
?>
87
--FILE--
98
<?php

ext/gd/tests/imagedashedline_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ imagedashedline()
33
--SKIPIF--
44
<?php
55
if (!function_exists('imagedashedline')) die('skip imagedashedline() not available');
6-
if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled');
76
?>
87
--FILE--
98
<?php

ext/gd/tests/imagefilledpolygon_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ imagefilledpolygon()
33
--SKIPIF--
44
<?php
55
if (!function_exists('imagefilledpolygon')) die('skip imagefilledpolygon() not available');
6-
if (!(imagetype() & IMG_PNG)) die('skip PNG Support is not enabled');
76
?>
87
--FILE--
98
<?php

0 commit comments

Comments
 (0)