diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 18:03:31 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:46:15 +0200 |
commit | d7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch) | |
tree | ef4fe3e4794260b362dad72d3542fdbef0169b8e /ext/gd/tests | |
parent | b0708fa2e7b31f1fbd9539486a35d33643e62461 (diff) | |
download | php-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/gd/tests')
46 files changed, 88 insertions, 88 deletions
diff --git a/ext/gd/tests/bug72339.phpt b/ext/gd/tests/bug72339.phpt index 5f8a96d552..eac5b630b2 100644 --- a/ext/gd/tests/bug72339.phpt +++ b/ext/gd/tests/bug72339.phpt @@ -1,5 +1,5 @@ --TEST-- -Bug #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow +Bug #72339 Integer Overflow in _gd2GetHeader() resulting in heap overflow --SKIPIF-- <?php if (!function_exists("imagecreatefromgd2")) print "skip"; diff --git a/ext/gd/tests/dashedlines.phpt b/ext/gd/tests/dashedlines.phpt index 66209f47d8..b6d4892c88 100644 --- a/ext/gd/tests/dashedlines.phpt +++ b/ext/gd/tests/dashedlines.phpt @@ -1,5 +1,5 @@ --TEST-- -imageline, dashed +imageline, dashed --SKIPIF-- <?php if (!function_exists('imagecreatefromstring')) die("skip gd extension not available\n"); diff --git a/ext/gd/tests/imagearc_basic.phpt b/ext/gd/tests/imagearc_basic.phpt index 0cbacc33dd..0e2ea3b514 100644 --- a/ext/gd/tests/imagearc_basic.phpt +++ b/ext/gd/tests/imagearc_basic.phpt @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc with white color +//create an arc with white color imagearc($image, 50, 50, 30, 30, 0, 180, $white); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagearc_error1.phpt b/ext/gd/tests/imagearc_error1.phpt index 5437f3da67..65c582b255 100644 --- a/ext/gd/tests/imagearc_error1.phpt +++ b/ext/gd/tests/imagearc_error1.phpt @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc with white color +//create an arc with white color imagearc($image, 50, 50, 30, 30, 0, 180); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagearc_variation1.phpt b/ext/gd/tests/imagearc_variation1.phpt index f84d8d76ec..3fb2a7d31c 100644 --- a/ext/gd/tests/imagearc_variation1.phpt +++ b/ext/gd/tests/imagearc_variation1.phpt @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc with white color +//create an arc with white color imagearc($image, 50, 50, 30, 30, 0, -90, $white); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagearc_variation2.phpt b/ext/gd/tests/imagearc_variation2.phpt index d4b4afefcd..ad9addf7cd 100644 --- a/ext/gd/tests/imagearc_variation2.phpt +++ b/ext/gd/tests/imagearc_variation2.phpt @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc with white color +//create an arc with white color imagearc($image, 50, 50, 30, 30, -90, 0, $white); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagecolorallocate_error.phpt b/ext/gd/tests/imagecolorallocate_error.phpt index 518eac74d6..b584e18634 100644 --- a/ext/gd/tests/imagecolorallocate_error.phpt +++ b/ext/gd/tests/imagecolorallocate_error.phpt @@ -1,5 +1,5 @@ --TEST-- -Test imagecolorallocate() function : error conditions +Test imagecolorallocate() function : error conditions --SKIPIF-- <?php if(!extension_loaded('gd')) { diff --git a/ext/gd/tests/imagecolorallocate_variation1.phpt b/ext/gd/tests/imagecolorallocate_variation1.phpt index b5c5823e8e..37d9f95a89 100644 --- a/ext/gd/tests/imagecolorallocate_variation1.phpt +++ b/ext/gd/tests/imagecolorallocate_variation1.phpt @@ -101,7 +101,7 @@ $values = array( // unset data 'unset var' => @$unset_var, - //resource + //resource "file resource" => $fp ); diff --git a/ext/gd/tests/imagecolorallocate_variation2.phpt b/ext/gd/tests/imagecolorallocate_variation2.phpt index aad888e584..e46e0da960 100644 --- a/ext/gd/tests/imagecolorallocate_variation2.phpt +++ b/ext/gd/tests/imagecolorallocate_variation2.phpt @@ -96,7 +96,7 @@ $values = array( // unset data 'unset var' => @$unset_var, - //resource + //resource "file resource" => $fp ); // loop through each element of the array for red diff --git a/ext/gd/tests/imagecolorallocate_variation3.phpt b/ext/gd/tests/imagecolorallocate_variation3.phpt index 62fafb3c89..cc17bafe0d 100644 --- a/ext/gd/tests/imagecolorallocate_variation3.phpt +++ b/ext/gd/tests/imagecolorallocate_variation3.phpt @@ -95,7 +95,7 @@ $values = array( // unset data 'unset var' => @$unset_var, - //resource + //resource "file resource" => $fp ); // loop through each element of the array for red diff --git a/ext/gd/tests/imagecolorallocate_variation4.phpt b/ext/gd/tests/imagecolorallocate_variation4.phpt index 18a9172be5..ad8908eeea 100644 --- a/ext/gd/tests/imagecolorallocate_variation4.phpt +++ b/ext/gd/tests/imagecolorallocate_variation4.phpt @@ -95,7 +95,7 @@ $values = array( // unset data 'unset var' => @$unset_var, - //resource + //resource "file resource" => $fp ); // loop through each element of the array for red diff --git a/ext/gd/tests/imagecolorallocate_variation6.phpt b/ext/gd/tests/imagecolorallocate_variation6.phpt index ee74ee974e..fcb7254712 100644 --- a/ext/gd/tests/imagecolorallocate_variation6.phpt +++ b/ext/gd/tests/imagecolorallocate_variation6.phpt @@ -18,7 +18,7 @@ if(!function_exists('imagecreatetruecolor')) { echo "*** Testing imagecolorallocate() : usage variations ***\n"; $values = array( - //Decimal integera data + //Decimal integera data "Decimal 256" => 256, // octal integer data diff --git a/ext/gd/tests/imagecolorstotal_basic.phpt b/ext/gd/tests/imagecolorstotal_basic.phpt index 32e4f8a721..32c175664f 100644 --- a/ext/gd/tests/imagecolorstotal_basic.phpt +++ b/ext/gd/tests/imagecolorstotal_basic.phpt @@ -19,7 +19,7 @@ if(!function_exists('imagecolorstotal') || !function_exists('imagecreatefromgif' echo "*** Testing imagecolorstotal() : basic functionality ***\n"; -// Get an image +// Get an image $gif = dirname(__FILE__)."/php.gif"; $im = imagecreatefromgif($gif); diff --git a/ext/gd/tests/imagecolourstotal_basic.phpt b/ext/gd/tests/imagecolourstotal_basic.phpt index 599bfa1ed8..58405c5c19 100644 --- a/ext/gd/tests/imagecolourstotal_basic.phpt +++ b/ext/gd/tests/imagecolourstotal_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test imagecolorstotal() function : basic functionality +Test imagecolorstotal() function : basic functionality --CREDITS-- Felix De Vliegher <felix.devliegher@gmail.com> --SKIPIF-- @@ -14,7 +14,7 @@ Felix De Vliegher <felix.devliegher@gmail.com> --FILE-- <?php /* Prototype : int imagecolorstotal(resource im) - * Description: Find out the number of colors in an image's palette + * Description: Find out the number of colors in an image's palette * Source code: ext/gd/gd.c * Alias to functions: */ diff --git a/ext/gd/tests/imagecopyresampled_basic.phpt b/ext/gd/tests/imagecopyresampled_basic.phpt index 619e55af15..77af59c085 100644 --- a/ext/gd/tests/imagecopyresampled_basic.phpt +++ b/ext/gd/tests/imagecopyresampled_basic.phpt @@ -21,7 +21,7 @@ $dest_sml = dirname(realpath(__FILE__)) . '/imagesmall.png'; // create a blank image $image_lge = imagecreatetruecolor(400, 300); -// set the background color to black +// set the background color to black $bg = imagecolorallocate($image_lge, 0, 0, 0); // fill polygon with blue diff --git a/ext/gd/tests/imagedashedline_basic.phpt b/ext/gd/tests/imagedashedline_basic.phpt index d58825036c..bc87c465c6 100644 --- a/ext/gd/tests/imagedashedline_basic.phpt +++ b/ext/gd/tests/imagedashedline_basic.phpt @@ -22,7 +22,7 @@ $dest = dirname(realpath(__FILE__)) . '/imagedashedline.png'; // create a blank image $image = imagecreatetruecolor(250, 250); -// set the background color to black +// set the background color to black $bg = imagecolorallocate($image, 0, 0, 0); // red dashed lines diff --git a/ext/gd/tests/imageellipse_error7.phpt b/ext/gd/tests/imageellipse_error7.phpt index 612be4b8bb..0b4c1f549d 100644 --- a/ext/gd/tests/imageellipse_error7.phpt +++ b/ext/gd/tests/imageellipse_error7.phpt @@ -1,8 +1,8 @@ --TEST-- -Testing wrong param passing imageellipse() of GD library +Testing wrong param passing imageellipse() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> -#testfest PHPSP on 2009-06-20 +Ivan Rosolen <contato [at] ivanrosolen [dot] com> +#testfest PHPSP on 2009-06-20 --SKIPIF-- <?php if (!extension_loaded("gd")) die("skip GD not present"); @@ -10,10 +10,10 @@ if (!extension_loaded("gd")) die("skip GD not present"); --FILE-- <?php -// Create a resource +// Create a resource $image = tmpfile(); -// try to draw a white ellipse +// try to draw a white ellipse imageellipse($image, 200, 150, 300, 200, 16777215); ?> --EXPECTF-- diff --git a/ext/gd/tests/imagefilledarc_basic.phpt b/ext/gd/tests/imagefilledarc_basic.phpt index 23b9d3a969..b353d808e6 100644 --- a/ext/gd/tests/imagefilledarc_basic.phpt +++ b/ext/gd/tests/imagefilledarc_basic.phpt @@ -17,7 +17,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc and fill it with white color +//create an arc and fill it with white color imagefilledarc($image, 50, 50, 30, 30, 0, 90, $white, IMG_ARC_PIE); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagefilledarc_error1.phpt b/ext/gd/tests/imagefilledarc_error1.phpt index bb14543eda..2ef47150ee 100644 --- a/ext/gd/tests/imagefilledarc_error1.phpt +++ b/ext/gd/tests/imagefilledarc_error1.phpt @@ -14,7 +14,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc and fill it with white color +//create an arc and fill it with white color imagefilledarc($image, 50, 50, 30, 30, 0, 90, $white); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagefilledarc_variation1.phpt b/ext/gd/tests/imagefilledarc_variation1.phpt index ef4a98ac79..cc6e01b4ad 100644 --- a/ext/gd/tests/imagefilledarc_variation1.phpt +++ b/ext/gd/tests/imagefilledarc_variation1.phpt @@ -17,7 +17,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc and fill it with white color +//create an arc and fill it with white color imagefilledarc($image, 50, 50, 30, 30, 0, -25, $white, IMG_ARC_PIE); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagefilledarc_variation2.phpt b/ext/gd/tests/imagefilledarc_variation2.phpt index 2965cda65a..feb81a8e06 100644 --- a/ext/gd/tests/imagefilledarc_variation2.phpt +++ b/ext/gd/tests/imagefilledarc_variation2.phpt @@ -17,7 +17,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an arc and fill it with white color +//create an arc and fill it with white color imagefilledarc($image, 50, 50, 30, 30, -25, 25, $white, IMG_ARC_PIE); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagefilledellipse_basic.phpt b/ext/gd/tests/imagefilledellipse_basic.phpt index ed78dde4d2..ef492510af 100644 --- a/ext/gd/tests/imagefilledellipse_basic.phpt +++ b/ext/gd/tests/imagefilledellipse_basic.phpt @@ -11,7 +11,7 @@ $image = imagecreatetruecolor(100, 100); $white = imagecolorallocate($image, 0xFF, 0xFF, 0xFF); -//create an ellipse and fill it with white color +//create an ellipse and fill it with white color imagefilledellipse($image, 50, 50, 40, 30, $white); include_once __DIR__ . '/func.inc'; diff --git a/ext/gd/tests/imagefilledpolygon_basic.phpt b/ext/gd/tests/imagefilledpolygon_basic.phpt index cd226179ba..0f5f9cf335 100644 --- a/ext/gd/tests/imagefilledpolygon_basic.phpt +++ b/ext/gd/tests/imagefilledpolygon_basic.phpt @@ -23,13 +23,13 @@ $points = array( 60, 60, 240, 20, 50, 40, - 10, 10 + 10, 10 ); // create a blank image $image = imagecreatetruecolor(250, 250); -// set the background color to black +// set the background color to black $bg = imagecolorallocate($image, 0, 0, 0); // fill polygon with green @@ -41,12 +41,12 @@ imagefilledpolygon($image, $points, count($points)/2, $col_poly); // output the picture to a file imagepng($image, $dest); -// get it back +// get it back $image_in = imagecreatefrompng($dest); //check color of a point on edge.. $col1 = imagecolorat($image_in, 40, 50); -//.. a point in filled body +//.. a point in filled body $col2 = imagecolorat($image_in, 15, 15); // ..and a point on background $col3 = imagecolorat($image_in, 5, 5); diff --git a/ext/gd/tests/imagefilltoborder_basic.phpt b/ext/gd/tests/imagefilltoborder_basic.phpt index e2dfbef2e0..e177918e3e 100644 --- a/ext/gd/tests/imagefilltoborder_basic.phpt +++ b/ext/gd/tests/imagefilltoborder_basic.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing imagefilltoborder() of GD library +Testing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error1.phpt b/ext/gd/tests/imagefilltoborder_error1.phpt index 6979a9b8cb..c53d53718d 100644 --- a/ext/gd/tests/imagefilltoborder_error1.phpt +++ b/ext/gd/tests/imagefilltoborder_error1.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error2.phpt b/ext/gd/tests/imagefilltoborder_error2.phpt index e7efac5e0a..c540000f56 100644 --- a/ext/gd/tests/imagefilltoborder_error2.phpt +++ b/ext/gd/tests/imagefilltoborder_error2.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error3.phpt b/ext/gd/tests/imagefilltoborder_error3.phpt index e5caf07595..3d80fcbfa2 100644 --- a/ext/gd/tests/imagefilltoborder_error3.phpt +++ b/ext/gd/tests/imagefilltoborder_error3.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error4.phpt b/ext/gd/tests/imagefilltoborder_error4.phpt index 08806818a1..e0b34c8b13 100644 --- a/ext/gd/tests/imagefilltoborder_error4.phpt +++ b/ext/gd/tests/imagefilltoborder_error4.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error5.phpt b/ext/gd/tests/imagefilltoborder_error5.phpt index c56d66207d..8822cab23a 100644 --- a/ext/gd/tests/imagefilltoborder_error5.phpt +++ b/ext/gd/tests/imagefilltoborder_error5.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error6.phpt b/ext/gd/tests/imagefilltoborder_error6.phpt index f1a7fb02bb..03ac65be9c 100644 --- a/ext/gd/tests/imagefilltoborder_error6.phpt +++ b/ext/gd/tests/imagefilltoborder_error6.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if (!extension_loaded("gd")) die("skip GD not present"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagefilltoborder_error7.phpt b/ext/gd/tests/imagefilltoborder_error7.phpt index e1b45a342a..944fe8e4d4 100644 --- a/ext/gd/tests/imagefilltoborder_error7.phpt +++ b/ext/gd/tests/imagefilltoborder_error7.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagefilltoborder() of GD library +Testing wrong param passing imagefilltoborder() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded("gd")) die("skip GD not present; skipping test"); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imageflip.phpt b/ext/gd/tests/imageflip.phpt index 84885c4260..8a439075f2 100644 --- a/ext/gd/tests/imageflip.phpt +++ b/ext/gd/tests/imageflip.phpt @@ -1,5 +1,5 @@ --TEST-- -Testing imageflip() of GD library +Testing imageflip() of GD library --SKIPIF-- <?php if ( ! extension_loaded('gd') || !function_exists('imageflip')) die( 'skip GD not present; skipping test' ); diff --git a/ext/gd/tests/imagegammacorrect_error1.phpt b/ext/gd/tests/imagegammacorrect_error1.phpt index 2640495457..ab60957579 100644 --- a/ext/gd/tests/imagegammacorrect_error1.phpt +++ b/ext/gd/tests/imagegammacorrect_error1.phpt @@ -1,5 +1,5 @@ --TEST-- -Testing error with non-resource paramenter of imagegammacorrect() of GD library, +Testing error with non-resource paramenter of imagegammacorrect() of GD library, --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 diff --git a/ext/gd/tests/imagegammacorrect_error2.phpt b/ext/gd/tests/imagegammacorrect_error2.phpt index 57c8a7503a..fd6d136ae8 100644 --- a/ext/gd/tests/imagegammacorrect_error2.phpt +++ b/ext/gd/tests/imagegammacorrect_error2.phpt @@ -1,5 +1,5 @@ --TEST-- -Testing error with non-Image resource paramenter of imagegammacorrect() of GD library, +Testing error with non-Image resource paramenter of imagegammacorrect() of GD library, --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 diff --git a/ext/gd/tests/imagegammacorrect_error3.phpt b/ext/gd/tests/imagegammacorrect_error3.phpt index 5f9d7b22de..8bb47ad234 100644 --- a/ext/gd/tests/imagegammacorrect_error3.phpt +++ b/ext/gd/tests/imagegammacorrect_error3.phpt @@ -1,5 +1,5 @@ --TEST-- -Testing error with non-double first paramenter of imagegammacorrect() of GD library, +Testing error with non-double first paramenter of imagegammacorrect() of GD library, --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 diff --git a/ext/gd/tests/imagegammacorrect_error4.phpt b/ext/gd/tests/imagegammacorrect_error4.phpt index e5f0bd7365..d2546fd41c 100644 --- a/ext/gd/tests/imagegammacorrect_error4.phpt +++ b/ext/gd/tests/imagegammacorrect_error4.phpt @@ -1,5 +1,5 @@ --TEST-- -Testing error with non-double second paramenter of imagegammacorrect() of GD library, +Testing error with non-double second paramenter of imagegammacorrect() of GD library, --CREDITS-- Rafael Dohms <rdohms [at] gmail [dot] com> #testfest PHPSP on 2009-06-20 diff --git a/ext/gd/tests/imagepolygon_basic.phpt b/ext/gd/tests/imagepolygon_basic.phpt index 19e54fa901..21186e9ecc 100644 --- a/ext/gd/tests/imagepolygon_basic.phpt +++ b/ext/gd/tests/imagepolygon_basic.phpt @@ -22,7 +22,7 @@ $dest = dirname(realpath(__FILE__)) . '/imagepolygon.png'; // create a blank image $image = imagecreatetruecolor(400, 300); -// set the background color to black +// set the background color to black $bg = imagecolorallocate($image, 0, 0, 0); // draw a red polygon diff --git a/ext/gd/tests/imagerectangle_basic.phpt b/ext/gd/tests/imagerectangle_basic.phpt index 01544429f6..462ff58337 100644 --- a/ext/gd/tests/imagerectangle_basic.phpt +++ b/ext/gd/tests/imagerectangle_basic.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing imagerectangle() of GD library +Testing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error1.phpt b/ext/gd/tests/imagerectangle_error1.phpt index 4e8c1b4d1d..1dd04dab49 100644 --- a/ext/gd/tests/imagerectangle_error1.phpt +++ b/ext/gd/tests/imagerectangle_error1.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error2.phpt b/ext/gd/tests/imagerectangle_error2.phpt index 4f20dd81bb..dd84ff414a 100644 --- a/ext/gd/tests/imagerectangle_error2.phpt +++ b/ext/gd/tests/imagerectangle_error2.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a resource +// Create a resource $image = tmpfile(); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error3.phpt b/ext/gd/tests/imagerectangle_error3.phpt index dfcc66c69e..1b31d1c950 100644 --- a/ext/gd/tests/imagerectangle_error3.phpt +++ b/ext/gd/tests/imagerectangle_error3.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error4.phpt b/ext/gd/tests/imagerectangle_error4.phpt index 8ee437dd33..e158360ffe 100644 --- a/ext/gd/tests/imagerectangle_error4.phpt +++ b/ext/gd/tests/imagerectangle_error4.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error5.phpt b/ext/gd/tests/imagerectangle_error5.phpt index 9ccca07ae7..5cbdcbf2c7 100644 --- a/ext/gd/tests/imagerectangle_error5.phpt +++ b/ext/gd/tests/imagerectangle_error5.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error6.phpt b/ext/gd/tests/imagerectangle_error6.phpt index 0b35ec8f71..ee09496b47 100644 --- a/ext/gd/tests/imagerectangle_error6.phpt +++ b/ext/gd/tests/imagerectangle_error6.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error7.phpt b/ext/gd/tests/imagerectangle_error7.phpt index e1187ee2d6..d863849195 100644 --- a/ext/gd/tests/imagerectangle_error7.phpt +++ b/ext/gd/tests/imagerectangle_error7.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle diff --git a/ext/gd/tests/imagerectangle_error8.phpt b/ext/gd/tests/imagerectangle_error8.phpt index 63e293c217..47b4a02176 100644 --- a/ext/gd/tests/imagerectangle_error8.phpt +++ b/ext/gd/tests/imagerectangle_error8.phpt @@ -1,7 +1,7 @@ --TEST-- -Testing wrong param passing imagerectangle() of GD library +Testing wrong param passing imagerectangle() of GD library --CREDITS-- -Ivan Rosolen <contato [at] ivanrosolen [dot] com> +Ivan Rosolen <contato [at] ivanrosolen [dot] com> #testfest PHPSP on 2009-06-30 --SKIPIF-- <?php @@ -9,7 +9,7 @@ if ( ! extension_loaded('gd') ) die( 'skip GD not present; skipping test' ); ?> --FILE-- <?php -// Create a image +// Create a image $image = imagecreatetruecolor( 100, 100 ); // Draw a rectangle |