Remove superfluous SKIPIF sections in tests

This commit is contained in:
Gabriel Caruso 2018-02-03 11:47:35 -02:00 committed by Nikita Popov
parent 766ce8bdd5
commit 36d8bf5294
6 changed files with 1 additions and 16 deletions

View File

@ -1,7 +1,5 @@
--TEST--
Ensure the ReflectionClass constructor triggers autoload.
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {

View File

@ -1,7 +1,5 @@
--TEST--
Ensure the ReflectionMethod constructor triggers autoload.
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {

View File

@ -1,7 +1,5 @@
--TEST--
Ensure the ReflectionProperty constructor triggers autoload.
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {

View File

@ -1,7 +1,5 @@
--TEST--
Ensure ReflectionClass::getProperty() triggers autoload
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {

View File

@ -1,7 +1,5 @@
--TEST--
Ensure ReflectionClass::implementsInterface triggers autoload.
--SKIPIF--
<?php extension_loaded('reflection') or die('skip'); ?>
--FILE--
<?php
spl_autoload_register(function ($name) {

View File

@ -1,15 +1,10 @@
--TEST--
phpt EXTENSIONS directive with static module
--SKIPIF--
<?php
$php = getenv('TEST_PHP_EXECUTABLE');
if (false === stripos(`$php -n -m`, 'spl')) {
die('skip spl is NOT built static');
}
--EXTENSIONS--
SPL
--FILE--
<?php
var_dump(extension_loaded('spl'));
?>
--EXPECT--
bool(true)