Skip to content

Commit 25b64f7

Browse files
committed
Limit failing tests to PHP < 8.1
1 parent 076dd60 commit 25b64f7

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

tests/bson/bug1839-001.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
--TEST--
2-
PHPC-1839: Referenced, out-of-scope, non-interned string in typeMap
2+
PHPC-1839: Referenced, out-of-scope, non-interned string in typeMap (PHP < 8.1)
3+
--SKIPIF--
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php skip_if_php_version('>=', '8.1'); ?>
36
--FILE--
47
<?php
58
require_once __DIR__ . "/../utils/basic.inc";

tests/bson/bug1839-002.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
--TEST--
2-
PHPC-1839: Referenced, local, non-interned string in typeMap
2+
PHPC-1839: Referenced, local, non-interned string in typeMap (PHP < 8.1)
3+
--SKIPIF--
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php skip_if_php_version('>=', '8.1'); ?>
36
--FILE--
47
<?php
58
require_once __DIR__ . "/../utils/basic.inc";

tests/bson/bug1839-003.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
--TEST--
2-
PHPC-1839: Referenced, out-of-scope, interned string in typeMap
2+
PHPC-1839: Referenced, out-of-scope, interned string in typeMap (PHP < 8.1)
3+
--SKIPIF--
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php skip_if_php_version('>=', '8.1'); ?>
36
--FILE--
47
<?php
58
require_once __DIR__ . "/../utils/basic.inc";

tests/bson/bug1839-004.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
--TEST--
2-
PHPC-1839: Referenced, local, interned string in typeMap
2+
PHPC-1839: Referenced, local, interned string in typeMap (PHP < 8.1)
3+
--SKIPIF--
4+
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php skip_if_php_version('>=', '8.1'); ?>
36
--FILE--
47
<?php
58
require_once __DIR__ . "/../utils/basic.inc";

0 commit comments

Comments
 (0)