diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 11:34:14 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-24 13:13:44 +0200 |
commit | b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc (patch) | |
tree | f8ed9902f65b0b31656703d33100427ad9d077ba /ext/imap/tests | |
parent | 187d7f05c2529779006840e34cbd9de4faabb229 (diff) | |
download | php-git-b5c7a83dcab670a5ac6070ac3774a5d221fd5ecc.tar.gz |
Remove unnecessary PHPDoc-alike blocks from tests
Closes GH-5759
Diffstat (limited to 'ext/imap/tests')
23 files changed, 1 insertions, 114 deletions
diff --git a/ext/imap/tests/imap_8bit_basic.phpt b/ext/imap/tests/imap_8bit_basic.phpt index 6e81e31d3e..d874b76733 100644 --- a/ext/imap/tests/imap_8bit_basic.phpt +++ b/ext/imap/tests/imap_8bit_basic.phpt @@ -6,11 +6,6 @@ extension_loaded('imap') or die('skip imap extension not available in this build ?> --FILE-- <?php -/* Prototype : string imap_8bit ( string $string ) - * Description: Convert an 8bit string to a quoted-printable string. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_8bit() : basic functionality ***\n"; var_dump(imap_8bit("String with CRLF at end \r\n")); diff --git a/ext/imap/tests/imap_append_basic.phpt b/ext/imap/tests/imap_append_basic.phpt index 807c30c869..e75b452596 100644 --- a/ext/imap/tests/imap_append_basic.phpt +++ b/ext/imap/tests/imap_append_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_append ( resource $imap_stream , string $mailbox , string $message [, string $options ] ) - * Description: Append a string message to a specified mailbox. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_append() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_base64_basic.phpt b/ext/imap/tests/imap_base64_basic.phpt index e5063f2c1c..3345aa35a6 100644 --- a/ext/imap/tests/imap_base64_basic.phpt +++ b/ext/imap/tests/imap_base64_basic.phpt @@ -6,11 +6,6 @@ extension_loaded('imap') or die('skip imap extension not available in this build ?> --FILE-- <?php -/* Prototype : string imap_base64 ( string $text ) - * Description: Decode BASE64 encoded text. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_base64() : basic functionality ***\n"; $str = 'This is an example string to be base 64 encoded'; diff --git a/ext/imap/tests/imap_binary_basic.phpt b/ext/imap/tests/imap_binary_basic.phpt index 8809e46d94..4675afd646 100644 --- a/ext/imap/tests/imap_binary_basic.phpt +++ b/ext/imap/tests/imap_binary_basic.phpt @@ -6,11 +6,6 @@ extension_loaded('imap') or die('skip imap extension not available in this build ?> --FILE-- <?php -/* Prototype : string imap_binary ( string $string ) - * Description: Convert an 8bit string to a base64 string. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_binary() : basic functionality ***\n"; echo "Encode as short string\n"; diff --git a/ext/imap/tests/imap_body_basic.phpt b/ext/imap/tests/imap_body_basic.phpt index ecc1da3ec6..af434cffb6 100644 --- a/ext/imap/tests/imap_body_basic.phpt +++ b/ext/imap/tests/imap_body_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_body ( resource $imap_stream , int $msg_number [, int $options ] ) - * Description: Read the message body. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_body() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_bodystruct_basic.phpt b/ext/imap/tests/imap_bodystruct_basic.phpt index 9504f9acab..56c88399c3 100644 --- a/ext/imap/tests/imap_bodystruct_basic.phpt +++ b/ext/imap/tests/imap_bodystruct_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : object imap_bodystruct ( resource $imap_stream , int $msg_number , string $section ) - * Description: Read the structure of a specified body section of a specific message. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing string imap_bodystruct : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_clearflag_full_basic.phpt b/ext/imap/tests/imap_clearflag_full_basic.phpt index 3afc105d5a..cc949385fc 100644 --- a/ext/imap/tests/imap_clearflag_full_basic.phpt +++ b/ext/imap/tests/imap_clearflag_full_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_clearflag_full ( resource $imap_stream , string $sequence , string $flag [, string $options ] ) - * Description: Clears flags on messages. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_clearflag_full() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_close_basic.phpt b/ext/imap/tests/imap_close_basic.phpt index 9e275aa4d0..57b2e7eab1 100644 --- a/ext/imap/tests/imap_close_basic.phpt +++ b/ext/imap/tests/imap_close_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_close(resource $stream_id [, int $options]) - * Description: Close an IMAP stream - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_close() : basic functionality ***\n"; // include file for required variables in imap_open() diff --git a/ext/imap/tests/imap_close_variation4.phpt b/ext/imap/tests/imap_close_variation4.phpt index 28a37ebb11..c6f13678cc 100644 --- a/ext/imap/tests/imap_close_variation4.phpt +++ b/ext/imap/tests/imap_close_variation4.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_close(resource $stream_id [, int $options]) - * Description: Close an IMAP stream - * Source code: ext/imap/php_imap.c - */ - /* * Pass different integers as $options arg to imap_close() to test which are * recognised as CL_EXPUNGE option diff --git a/ext/imap/tests/imap_createmailbox_basic.phpt b/ext/imap/tests/imap_createmailbox_basic.phpt index b522e80dfb..84db5cbd31 100644 --- a/ext/imap/tests/imap_createmailbox_basic.phpt +++ b/ext/imap/tests/imap_createmailbox_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_createmailbox ( resource $imap_stream , string $mailbox ) - * Description: Creates a new mailbox specified by mailbox . - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_createmailbox() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_errors_basic.phpt b/ext/imap/tests/imap_errors_basic.phpt index cfd8379bec..c3d890aa5d 100644 --- a/ext/imap/tests/imap_errors_basic.phpt +++ b/ext/imap/tests/imap_errors_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : array imap_errors ( void ) - * Description: Returns all of the IMAP errors that have occurred. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_errors() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); $password = "bogus"; // invalid password to use in this test diff --git a/ext/imap/tests/imap_fetch_overview_basic.phpt b/ext/imap/tests/imap_fetch_overview_basic.phpt index 236a1a0ced..a9fe85c45e 100644 --- a/ext/imap/tests/imap_fetch_overview_basic.phpt +++ b/ext/imap/tests/imap_fetch_overview_basic.phpt @@ -6,12 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) - * Description: Read an overview of the information in the headers - * of the given message sequence - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_fetch_overview() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_fetch_overview_variation3.phpt b/ext/imap/tests/imap_fetch_overview_variation3.phpt index 9e99dc2a0f..13b5591dc5 100644 --- a/ext/imap/tests/imap_fetch_overview_variation3.phpt +++ b/ext/imap/tests/imap_fetch_overview_variation3.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) - * Description: Read an overview of the information in the headers of the given message sequence - * Source code: ext/imap/php_imap.c - */ - /* * Test passing a range of values into the $options argument to imap_fetch_overview(): * 1. values that equate to 1 diff --git a/ext/imap/tests/imap_fetch_overview_variation5.phpt b/ext/imap/tests/imap_fetch_overview_variation5.phpt index e06d3f5ef2..9774e682c1 100644 --- a/ext/imap/tests/imap_fetch_overview_variation5.phpt +++ b/ext/imap/tests/imap_fetch_overview_variation5.phpt @@ -6,12 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) - * Description: Read an overview of the information in the headers - * of the given message sequence - * Source code: ext/imap/php_imap.c - */ - /* * Pass different sequences/msg numbers as $msg_no argument to test behaviour * of imap_fetch_overview() diff --git a/ext/imap/tests/imap_fetch_overview_variation6.phpt b/ext/imap/tests/imap_fetch_overview_variation6.phpt index 90bff01cea..256f631082 100644 --- a/ext/imap/tests/imap_fetch_overview_variation6.phpt +++ b/ext/imap/tests/imap_fetch_overview_variation6.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) - * Description: Read an overview of the information in the headers of the given message sequence - * Source code: ext/imap/php_imap.c - */ - /* * Pass a multipart message to imap_fetch_overview() to test the contents of returned array */ diff --git a/ext/imap/tests/imap_fetchbody_basic.phpt b/ext/imap/tests/imap_fetchbody_basic.phpt index 597b3b71b6..3c16f939c8 100644 --- a/ext/imap/tests/imap_fetchbody_basic.phpt +++ b/ext/imap/tests/imap_fetchbody_basic.phpt @@ -6,8 +6,7 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section - * [, int $options]) +/* [, int $options]) * Description: Get a specific body section * Source code: ext/imap/php_imap.c */ diff --git a/ext/imap/tests/imap_fetchbody_variation4.phpt b/ext/imap/tests/imap_fetchbody_variation4.phpt index b4b8afa92d..45158a9ed0 100644 --- a/ext/imap/tests/imap_fetchbody_variation4.phpt +++ b/ext/imap/tests/imap_fetchbody_variation4.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section [, int $options]) - * Description: Get a specific body section - * Source code: ext/imap/php_imap.c - */ - /* * Test if FT_UID is set by passing the following as $options argument to imap_fetchbody(): * 1. values that equate to 1 diff --git a/ext/imap/tests/imap_fetchbody_variation6.phpt b/ext/imap/tests/imap_fetchbody_variation6.phpt index 2090bf3792..20ac49edc8 100644 --- a/ext/imap/tests/imap_fetchbody_variation6.phpt +++ b/ext/imap/tests/imap_fetchbody_variation6.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section [, int $options]) - * Description: Get a specific body section - * Source code: ext/imap/php_imap.c - */ - /* * Pass different integers, strings, msg sequences and msg UIDs as $msg_no argument * to test behaviour of imap_fetchbody() diff --git a/ext/imap/tests/imap_fetchheader_basic.phpt b/ext/imap/tests/imap_fetchheader_basic.phpt index 7da2a1b78c..44f7de5a39 100644 --- a/ext/imap/tests/imap_fetchheader_basic.phpt +++ b/ext/imap/tests/imap_fetchheader_basic.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) - * Description: Get the full unfiltered header for a message - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_fetchheader() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_fetchheader_variation3.phpt b/ext/imap/tests/imap_fetchheader_variation3.phpt index 3430409fcb..8f6b5b5a12 100644 --- a/ext/imap/tests/imap_fetchheader_variation3.phpt +++ b/ext/imap/tests/imap_fetchheader_variation3.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) - * Description: Get the full unfiltered header for a message - * Source code: ext/imap/php_imap.c - */ - /* * Test if FT_UID is set by passing the following as $options argument to imap_fetchheader(): * 1. values that equate to 1 diff --git a/ext/imap/tests/imap_fetchheader_variation5.phpt b/ext/imap/tests/imap_fetchheader_variation5.phpt index 548aac8935..7ff8ca697e 100644 --- a/ext/imap/tests/imap_fetchheader_variation5.phpt +++ b/ext/imap/tests/imap_fetchheader_variation5.phpt @@ -6,11 +6,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options]) - * Description: Get the full unfiltered header for a message - * Source code: ext/imap/php_imap.c - */ - /* * Pass different integers and strings as $msg_no argument * to test behaviour of imap_fetchheader() diff --git a/ext/imap/tests/imap_mail_copy_basic.phpt b/ext/imap/tests/imap_mail_copy_basic.phpt index 335b4218e6..25725478a6 100644 --- a/ext/imap/tests/imap_mail_copy_basic.phpt +++ b/ext/imap/tests/imap_mail_copy_basic.phpt @@ -8,11 +8,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_mail_copy ( resource $imap_stream , string $msglist , string $mailbox [, int $options = 0 ] ) - * Description: Copies mail messages specified by msglist to specified mailbox. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_mail_copy() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); diff --git a/ext/imap/tests/imap_mail_move_basic.phpt b/ext/imap/tests/imap_mail_move_basic.phpt index 555d6e7a18..3988951f12 100644 --- a/ext/imap/tests/imap_mail_move_basic.phpt +++ b/ext/imap/tests/imap_mail_move_basic.phpt @@ -8,11 +8,6 @@ require_once(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -/* Prototype : bool imap_mail_move ( resource $imap_stream , string $msglist , string $mailbox [, int $options = 0 ] ) - * Description: Copies mail messages specified by msglist to specified mailbox. - * Source code: ext/imap/php_imap.c - */ - echo "*** Testing imap_mail_move() : basic functionality ***\n"; require_once(__DIR__.'/imap_include.inc'); |