Skip to content

Commit 1ca83d1

Browse files
committed
Remove some ZPP checks
1 parent ba1fccf commit 1ca83d1

9 files changed

+31
-277
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
--TEST--
2+
Test imap_fetch_overview() function: invalid option
3+
--SKIPIF--
4+
<?php
5+
require_once(__DIR__.'/setup/skipif.inc');
6+
?>
7+
--FILE--
8+
<?php
9+
10+
require_once __DIR__.'/setup/imap_include.inc';
11+
12+
// Initialise required variables
13+
$stream_id = setup_test_mailbox('imapfetchoverviewvar3', 1); // set up temporary mailbox with one simple message
14+
$msg_no = 1;
15+
$msg_uid = imap_uid($stream_id, $msg_no);
16+
imap_check($stream_id);
17+
18+
try {
19+
imap_fetch_overview($stream_id, $msg_uid, 245);
20+
} catch (\ValueError $e) {
21+
echo $e->getMessage() . \PHP_EOL;
22+
}
23+
24+
?>
25+
--CLEAN--
26+
<?php
27+
$mailbox_suffix = 'imapfetchoverviewvar3';
28+
require_once(__DIR__.'/setup/clean.inc');
29+
?>
30+
--EXPECT--
31+
imap_fetch_overview(): Argument #3 ($flags) must be FT_UID or 0

ext/imap/tests/imap_fetch_overview_variation3.phpt

Lines changed: 0 additions & 70 deletions
This file was deleted.

ext/imap/tests/imap_fetchbody_variation4.phpt

Lines changed: 0 additions & 74 deletions
This file was deleted.

ext/imap/tests/imap_fetchheader_variation3.phpt

Lines changed: 0 additions & 71 deletions
This file was deleted.

ext/intl/tests/collator_get_locale2.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function ut_main()
1919
-100,
2020
-9999999999999,
2121
9999999999999,
22-
1.2,
2322
);
2423

2524
$coll = ut_coll_create( 'en_US' );
@@ -48,4 +47,3 @@ Locale of type 100 is false
4847
Locale of type -100 is false
4948
Locale of type -9999999999999 is false
5049
Locale of type 9999999999999 is false
51-
Locale of type 1.2 is 'en_US'

ext/spl/tests/SplFixedArray__construct_param_float.phpt

Lines changed: 0 additions & 14 deletions
This file was deleted.

ext/spl/tests/SplFixedArray_offsetExists_integer.phpt

Lines changed: 0 additions & 8 deletions
This file was deleted.

ext/spl/tests/SplFixedArray_offsetGet_integer.phpt

Lines changed: 0 additions & 19 deletions
This file was deleted.

ext/spl/tests/SplFixedArray_setSize_param_float.phpt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)