Skip to content

Commit a4cbc5b

Browse files
committed
Remove skip if extension not loaded, add tests for reduce
1 parent b8a9d86 commit a4cbc5b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+56
-408
lines changed

tests/Decimal/cast.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal cast to string, bool, int, float
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/clone.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal clone
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo 'skip';
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/constants.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal constants
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo 'skip';
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/empty.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal empty
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo 'skip';
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/json.phpt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
Decimal json_encode
33
--SKIPIF--
44
<?php
5-
if (!extension_loaded("decimal")) echo 'skip';
6-
if (!extension_loaded("json")) echo 'skip';
5+
if (!extension_loaded("json")) echo 'skip';
76
?>
87
--FILE--
98
<?php

tests/Decimal/methods/__construct.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal::__construct
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
new Decimal\Decimal;

tests/Decimal/methods/abs.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal::abs
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/methods/add.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal::add
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/methods/ceil.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal::ceil
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

tests/Decimal/methods/compareTo.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
--TEST--
22
Decimal::compareTo
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("decimal")) echo "skip";
6-
?>
73
--FILE--
84
<?php
95
use Decimal\Decimal;

0 commit comments

Comments
 (0)