summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-06-24 11:34:14 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-06-24 13:13:44 +0200
commitb5c7a83dcab670a5ac6070ac3774a5d221fd5ecc (patch)
treef8ed9902f65b0b31656703d33100427ad9d077ba /ext/zlib
parent187d7f05c2529779006840e34cbd9de4faabb229 (diff)
downloadphp-git-b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc.tar.gz
Remove unnecessary PHPDoc-alike blocks from tests
Closes GH-5759
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/tests/gzcompress_basic1.phpt6
-rw-r--r--ext/zlib/tests/gzcompress_error1.phpt6
-rw-r--r--ext/zlib/tests/gzcompress_variation1.phpt6
-rw-r--r--ext/zlib/tests/gzdeflate_basic1.phpt6
-rw-r--r--ext/zlib/tests/gzdeflate_error1.phpt6
-rw-r--r--ext/zlib/tests/gzdeflate_variation1.phpt6
-rw-r--r--ext/zlib/tests/gzencode_basic1.phpt6
-rw-r--r--ext/zlib/tests/gzencode_error1.phpt6
-rw-r--r--ext/zlib/tests/gzencode_variation1-win32.phpt6
-rw-r--r--ext/zlib/tests/gzencode_variation1.phpt6
-rw-r--r--ext/zlib/tests/gzencode_variation2-win32.phpt6
-rw-r--r--ext/zlib/tests/gzencode_variation2.phpt6
-rw-r--r--ext/zlib/tests/gzinflate_error1.phpt6
-rw-r--r--ext/zlib/tests/gzopen_basic.phpt6
-rw-r--r--ext/zlib/tests/gzopen_basic2.phpt6
-rw-r--r--ext/zlib/tests/gzopen_variation4.phpt6
-rw-r--r--ext/zlib/tests/gzopen_variation5.phpt6
-rw-r--r--ext/zlib/tests/gzopen_variation6.phpt6
-rw-r--r--ext/zlib/tests/gzopen_variation8.phpt6
-rw-r--r--ext/zlib/tests/gzopen_variation9.phpt6
-rw-r--r--ext/zlib/tests/gzuncompress_basic1.phpt6
-rw-r--r--ext/zlib/tests/gzuncompress_error1.phpt6
22 files changed, 0 insertions, 132 deletions
diff --git a/ext/zlib/tests/gzcompress_basic1.phpt b/ext/zlib/tests/gzcompress_basic1.phpt
index 66231a3f98..3a8ee949bc 100644
--- a/ext/zlib/tests/gzcompress_basic1.phpt
+++ b/ext/zlib/tests/gzcompress_basic1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzcompress(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* add a comment here to say what the test is supposed to do
*/
diff --git a/ext/zlib/tests/gzcompress_error1.phpt b/ext/zlib/tests/gzcompress_error1.phpt
index 81fe35b27d..c63df4347c 100644
--- a/ext/zlib/tests/gzcompress_error1.phpt
+++ b/ext/zlib/tests/gzcompress_error1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzcompress(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* add a comment here to say what the test is supposed to do
*/
diff --git a/ext/zlib/tests/gzcompress_variation1.phpt b/ext/zlib/tests/gzcompress_variation1.phpt
index df7f84a66e..e3cc8e846b 100644
--- a/ext/zlib/tests/gzcompress_variation1.phpt
+++ b/ext/zlib/tests/gzcompress_variation1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzcompress(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
include(__DIR__ . '/data.inc');
echo "*** Testing gzcompress() : variation ***\n";
diff --git a/ext/zlib/tests/gzdeflate_basic1.phpt b/ext/zlib/tests/gzdeflate_basic1.phpt
index 004637902e..5257e4db6c 100644
--- a/ext/zlib/tests/gzdeflate_basic1.phpt
+++ b/ext/zlib/tests/gzdeflate_basic1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzdeflate(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* add a comment here to say what the test is supposed to do
*/
diff --git a/ext/zlib/tests/gzdeflate_error1.phpt b/ext/zlib/tests/gzdeflate_error1.phpt
index 9cee96259e..f229b353ed 100644
--- a/ext/zlib/tests/gzdeflate_error1.phpt
+++ b/ext/zlib/tests/gzdeflate_error1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzdeflate(string data [, int level, [int encoding]])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* add a comment here to say what the test is supposed to do
*/
diff --git a/ext/zlib/tests/gzdeflate_variation1.phpt b/ext/zlib/tests/gzdeflate_variation1.phpt
index de632e8f7d..3058b1d900 100644
--- a/ext/zlib/tests/gzdeflate_variation1.phpt
+++ b/ext/zlib/tests/gzdeflate_variation1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzdeflate(string data [, int level])
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
include(__DIR__ . '/data.inc');
echo "*** Testing gzdeflate() : variation ***\n";
diff --git a/ext/zlib/tests/gzencode_basic1.phpt b/ext/zlib/tests/gzencode_basic1.phpt
index bd23ad77e2..927e0406db 100644
--- a/ext/zlib/tests/gzencode_basic1.phpt
+++ b/ext/zlib/tests/gzencode_basic1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* Test basic function of gzencode
*/
diff --git a/ext/zlib/tests/gzencode_error1.phpt b/ext/zlib/tests/gzencode_error1.phpt
index 6c0974a6f6..062497ef11 100644
--- a/ext/zlib/tests/gzencode_error1.phpt
+++ b/ext/zlib/tests/gzencode_error1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
/*
* Test error cases for gzencode
*/
diff --git a/ext/zlib/tests/gzencode_variation1-win32.phpt b/ext/zlib/tests/gzencode_variation1-win32.phpt
index 140ac6286b..7272b4e7dc 100644
--- a/ext/zlib/tests/gzencode_variation1-win32.phpt
+++ b/ext/zlib/tests/gzencode_variation1-win32.phpt
@@ -13,12 +13,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
if(!function_exists("gzdecode")) {
function gzdecode($data)
{
diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt
index 3c49e635cf..6257456298 100644
--- a/ext/zlib/tests/gzencode_variation1.phpt
+++ b/ext/zlib/tests/gzencode_variation1.phpt
@@ -17,12 +17,6 @@ if (PHP_OS == "Darwin") {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
include(__DIR__ . '/data.inc');
echo "*** Testing gzencode() : variation ***\n";
diff --git a/ext/zlib/tests/gzencode_variation2-win32.phpt b/ext/zlib/tests/gzencode_variation2-win32.phpt
index e2a379ed13..5ad5a1cdc4 100644
--- a/ext/zlib/tests/gzencode_variation2-win32.phpt
+++ b/ext/zlib/tests/gzencode_variation2-win32.phpt
@@ -18,12 +18,6 @@ if (version_compare(get_zlib_version(), "1.2.11") < 0) {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzencode() : variation ***\n";
$data = "A small string to encode\n";
diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
index a290796848..d5c0844006 100644
--- a/ext/zlib/tests/gzencode_variation2.phpt
+++ b/ext/zlib/tests/gzencode_variation2.phpt
@@ -17,12 +17,6 @@ if (PHP_OS == "Darwin") {
?>
--FILE--
<?php
-/* Prototype : string gzencode ( string $data [, int $level [, int $encoding_mode ]] )
- * Description: Gzip-compress a string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzencode() : variation ***\n";
$data = "A small string to encode\n";
diff --git a/ext/zlib/tests/gzinflate_error1.phpt b/ext/zlib/tests/gzinflate_error1.phpt
index 870a2c2265..2ddb3adb6b 100644
--- a/ext/zlib/tests/gzinflate_error1.phpt
+++ b/ext/zlib/tests/gzinflate_error1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzinflate(string data [, int length])
- * Description: Unzip a gzip-compressed string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
include(__DIR__ . '/data.inc');
echo "*** Testing gzinflate() : error conditions ***\n";
diff --git a/ext/zlib/tests/gzopen_basic.phpt b/ext/zlib/tests/gzopen_basic.phpt
index d6a2ab9b5c..a1768e8e00 100644
--- a/ext/zlib/tests/gzopen_basic.phpt
+++ b/ext/zlib/tests/gzopen_basic.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : basic functionality ***\n";
diff --git a/ext/zlib/tests/gzopen_basic2.phpt b/ext/zlib/tests/gzopen_basic2.phpt
index 5893270bb5..2b5a9c61d1 100644
--- a/ext/zlib/tests/gzopen_basic2.phpt
+++ b/ext/zlib/tests/gzopen_basic2.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : basic functionality ***\n";
diff --git a/ext/zlib/tests/gzopen_variation4.phpt b/ext/zlib/tests/gzopen_variation4.phpt
index 2c9214ff43..3fe924a282 100644
--- a/ext/zlib/tests/gzopen_variation4.phpt
+++ b/ext/zlib/tests/gzopen_variation4.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : usage variation ***\n";
$testName = 'gzopen_variation4';
diff --git a/ext/zlib/tests/gzopen_variation5.phpt b/ext/zlib/tests/gzopen_variation5.phpt
index 661ffe8759..a1cf48ba18 100644
--- a/ext/zlib/tests/gzopen_variation5.phpt
+++ b/ext/zlib/tests/gzopen_variation5.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
require_once('gzopen_include_path.inc');
echo "*** Testing gzopen() : variation ***\n";
diff --git a/ext/zlib/tests/gzopen_variation6.phpt b/ext/zlib/tests/gzopen_variation6.phpt
index 08007bcc24..631314818f 100644
--- a/ext/zlib/tests/gzopen_variation6.phpt
+++ b/ext/zlib/tests/gzopen_variation6.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : variation ***\n";
$absfile = __FILE__.'.tmp';
$relfile = "gzopen_variation6.tmp";
diff --git a/ext/zlib/tests/gzopen_variation8.phpt b/ext/zlib/tests/gzopen_variation8.phpt
index ed6c55ff1c..1885a048d6 100644
--- a/ext/zlib/tests/gzopen_variation8.phpt
+++ b/ext/zlib/tests/gzopen_variation8.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : variation ***\n";
$data = <<<EOT
diff --git a/ext/zlib/tests/gzopen_variation9.phpt b/ext/zlib/tests/gzopen_variation9.phpt
index d2148973db..91e2a42976 100644
--- a/ext/zlib/tests/gzopen_variation9.phpt
+++ b/ext/zlib/tests/gzopen_variation9.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
- * Description: Open a .gz-file and return a .gz-file pointer
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzopen() : variation ***\n";
$modes = array('r+', 'rf', 'w+' , 'e');
diff --git a/ext/zlib/tests/gzuncompress_basic1.phpt b/ext/zlib/tests/gzuncompress_basic1.phpt
index f572c704a8..d82d7069e3 100644
--- a/ext/zlib/tests/gzuncompress_basic1.phpt
+++ b/ext/zlib/tests/gzuncompress_basic1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzuncompress(string data [, int length])
- * Description: Unzip a gzip-compressed string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
include(__DIR__ . '/data.inc');
echo "*** Testing gzuncompress() : basic functionality ***\n";
diff --git a/ext/zlib/tests/gzuncompress_error1.phpt b/ext/zlib/tests/gzuncompress_error1.phpt
index 2f9b6d9e45..5390cce938 100644
--- a/ext/zlib/tests/gzuncompress_error1.phpt
+++ b/ext/zlib/tests/gzuncompress_error1.phpt
@@ -8,12 +8,6 @@ if (!extension_loaded("zlib")) {
?>
--FILE--
<?php
-/* Prototype : string gzuncompress(string data [, int length])
- * Description: Unzip a gzip-compressed string
- * Source code: ext/zlib/zlib.c
- * Alias to functions:
- */
-
echo "*** Testing gzuncompress() : error conditions ***\n";
echo "\n-- Testing with a buffer that is too small --\n";