Skip to content

Commit f9ab7b8

Browse files
committed
Migrate skip checks to --EXTENSIONS--, p2
For rationale, see php#6787 Make extension checks lowercase, add a special case for opcache that has internal name not matching .so filename. Extensions migrated in part 2: * dom * exif * fileinfo * ffi
1 parent 6c89359 commit f9ab7b8

File tree

466 files changed

+929
-1079
lines changed

Some content is hidden

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

466 files changed

+929
-1079
lines changed

ext/dom/tests/DOM4_ChildNode_wrong_document.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMChildNode::after(), before, replaceWith with DOMNode from wrong document throws exception
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_ElementSiblings.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode: Element Siblings
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_after.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::after()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_after_ns.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::after() with namespace
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_append_ns.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::append() with namespace
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_before.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::before()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_before_ns.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::before() with namespace
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_prepend_ns.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::prepend() with namespace
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_DOMNode_remove.phpt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::remove()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");
@@ -27,4 +27,3 @@ Num Children: 1
2727
Node Content: second
2828

2929
NULL
30-

ext/dom/tests/DOM4_DOMNode_removeDanglingElement.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::remove() dangling element
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77

ext/dom/tests/DOM4_DOMNode_replaceWith.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMNode::replaceWith()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode: Child Element Handling
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode_Fragment.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode: Child Element Handling
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode_append.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode::append()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
declare(strict_types=1);

ext/dom/tests/DOM4_ParentNode_append_invalidtypes.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode::append() exception on invalid argument
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode_append_with_attributes.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode::append() with attributes
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode_append_wrong_document.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode::append() with DOMNode from wrong document throws exception
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
require_once("dom_test.inc");

ext/dom/tests/DOM4_ParentNode_prepend.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
DOMParentNode::prepend()
3-
--SKIPIF--
4-
<?php require_once('skipif.inc'); ?>
3+
--EXTENSIONS--
4+
dom
55
--FILE--
66
<?php
77
declare(strict_types=1);

ext/dom/tests/DOMAttr_construct_error_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMAttr __construct() with no arguments.
33
--CREDITS--
44
Josh Sweeney <jsweeney@alt-invest.net>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
try {

ext/dom/tests/DOMAttr_name_basic_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMAttr read $name property.
33
--CREDITS--
44
Nic Rosental <nicrosental@gmail.com>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$attr = new DOMAttr('category', 'books');

ext/dom/tests/DOMAttr_ownerElement_error_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Read $ownerElement with null parent.
33
--CREDITS--
44
Travis Pew
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMAttr_value_basic_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Read empty $value.
33
--CREDITS--
44
Jason Bouffard <jbouffard1@yahoo.com>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$attr = new DOMAttr('category');

ext/dom/tests/DOMAttr_value_basic_002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Write non-string $value property
33
--CREDITS--
44
Eric Berg <ehberg@gmail.com>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$attr = new DOMAttr('category');

ext/dom/tests/DOMCDATASection_construct_error_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ __construct() with no arguments.
33
--CREDITS--
44
Nic Rosental nicrosental@gmail.com
55
# TestFest Atlanta 2009-5-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
try {

ext/dom/tests/DOMCharacterData_appendData_basic.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMCharacterData::appendData basic functionality test
33
--CREDITS--
44
Mike Sullivan <mike@regexia.com>
55
#TestFest 2008 (London)
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMCharacterData_data_basic_002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Create CDATA section and change it using DOMcreateCDATASection
33
--CREDITS--
44
Nic Rosental nicrosental@gmail.com
55
# TestFest Atlanta 2009-5-28
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMCharacterData_data_error_002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Invalid State Error when getting data on DOMCharacterData out of content.
33
--CREDITS--
44
Eric Berg <ehberg@gmail.com>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$character_data = new DOMCharacterData();

ext/dom/tests/DOMCharacterData_deleteData_basic_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMCharacterData::deleteData() with count exceeding string size.
33
--CREDITS--
44
Eric Lee Stewart <ericleestewart@gmail.com>
55
# TestFest Atlanta 2009-05-24
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$document = new DOMDocument;

ext/dom/tests/DOMCharacterData_deleteData_error_002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMCharacterData::deleteData() with offset exceeding string size.
33
--CREDITS--
44
Eric Lee Stewart <ericleestewart@gmail.com>
55
# TestFest Atlanta 2009-05-24
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$document = new DOMDocument;

ext/dom/tests/DOMCharacterData_length_error_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Invalid State Error when getting length on DOMCharacterData out of content.
33
--CREDITS--
44
Jason Bouffard <jbouffard1@yahoo.com>
55
# TestFest Atlanta 2009-05-14
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$character_data = new DOMCharacterData();

ext/dom/tests/DOMCharacterData_substringData_basic_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ __DOMCharacterData::substringData pull mid section of string
33
--CREDITS--
44
Nic Rosental nicrosental@gmail.com
55
# TestFest Atlanta 2009-5-28
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMComment_appendData_basic.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Test adding data to a DOMComment
33
--CREDITS--
44
Andrew Larssen <al@larssen.org>
55
London TestFest 2008
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMComment::appendData basic functionality test
33
--CREDITS--
44
Mike Sullivan <mike@regexia.com>
55
#TestFest 2008 (London)
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMComment_construct_basic_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMComment::__construct() with constructor called twice.
33
--CREDITS--
44
Eric Lee Stewart <ericleestewart@gmail.com>
55
# TestFest Atlanta 2009-05-25
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
$dom = new DOMDocument('1.0', 'UTF-8');

ext/dom/tests/DOMComment_construct_error_001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ DOMComment::__construct() with more arguments than acceptable.
33
--CREDITS--
44
Eric Lee Stewart <ericleestewart@gmail.com>
55
# TestFest Atlanta 2009-05-24
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010
try {

ext/dom/tests/DOMComment_insertData_basic.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Test inserting data into a DOMComment basic test
33
--CREDITS--
44
Andrew Larssen <al@larssen.org>
55
London TestFest 2008
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

ext/dom/tests/DOMComment_insertData_error1.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Test inserting data into a DOMComment basic test
33
--CREDITS--
44
Andrew Larssen <al@larssen.org>
55
London TestFest 2008
6-
--SKIPIF--
7-
<?php require_once('skipif.inc'); ?>
6+
--EXTENSIONS--
7+
dom
88
--FILE--
99
<?php
1010

0 commit comments

Comments
 (0)