Skip to content

Commit 5b10dc2

Browse files
Skip on PHP 8.5
1 parent 5a69265 commit 5b10dc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/end-to-end/regression/2382.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
#2382: Data Providers throw error with uncloneable object
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (version_compare(PHP_VERSION, '8.5', '>=')) {
6+
print 'skip: This test triggers a deprecation warning on PHP >= 8.5';
7+
}
38
--FILE--
49
<?php declare(strict_types=1);
510
$_SERVER['argv'][] = '--do-not-cache-result';

0 commit comments

Comments
 (0)