Skip to content

Commit c30e8a2

Browse files
author
levon80999
committed
PHPC-1945: Remove class_exists checks from SKIPIF blocks in Decimal128 tests
1 parent 1169d83 commit c30e8a2

14 files changed

+0
-25
lines changed

tests/bson/bson-decimal128-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128 NaN values
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-003.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128 Infinity values
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-004.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128 debug handler
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-clone-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ MongoDB\BSON\Decimal128 can be cloned (PHP < 8.2)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
55
<?php skip_if_php_version('>=', '8.2'); ?>
6-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
76
--FILE--
87
<?php
98

tests/bson/bson-decimal128-clone-002.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ MongoDB\BSON\Decimal128 can be cloned (PHP >= 8.2)
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
55
<?php skip_if_php_version('<', '8.2'); ?>
6-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
76
--FILE--
87
<?php
98

tests/bson/bson-decimal128-get_properties-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128 get_properties handler (get_object_vars)
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-get_properties-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128 get_properties handler (foreach)
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-jsonserialize-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128::jsonSerialize() return value
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-jsonserialize-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128::jsonSerialize() with json_encode()
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-set_state-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128::__set_state()
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-set_state_error-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128::__set_state() requires "dec" string field
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128-set_state_error-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
MongoDB\BSON\Decimal128::__set_state() requires valid decimal string
3-
--SKIPIF--
4-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
53
--FILE--
64
<?php
75

tests/bson/bson-decimal128_error-001.phpt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ MongoDB\BSON\Decimal128 requires valid decimal string
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
55
<?php skip_if_php_version('>=', '7.99'); ?>
6-
<?php if (!class_exists('MongoDB\BSON\Decimal128')) { die('skip MongoDB\BSON\Decimal128 is not available'); } ?>
76
--FILE--
87
<?php
98

0 commit comments

Comments
 (0)