Commit 6d910200db4 for php.net

commit 6d910200db4b1826a84b442191ba616fbfb359b2
Author: Gina Peter Banyard <girgias@php.net>
Date:   Sat Sep 19 14:06:08 2026 +0100

    Zend: reorganise some type declarations tests

diff --git a/Zend/tests/typehints/bug76198.phpt b/Zend/tests/type_declarations/iterable/bug76198.phpt
similarity index 100%
rename from Zend/tests/typehints/bug76198.phpt
rename to Zend/tests/type_declarations/iterable/bug76198.phpt
diff --git a/Zend/tests/typehints/bug43332_1.phpt b/Zend/tests/type_declarations/relative_types/bug43332_1.phpt
similarity index 86%
rename from Zend/tests/typehints/bug43332_1.phpt
rename to Zend/tests/type_declarations/relative_types/bug43332_1.phpt
index 35d817c985e..7639633c3e9 100644
--- a/Zend/tests/typehints/bug43332_1.phpt
+++ b/Zend/tests/type_declarations/relative_types/bug43332_1.phpt
@@ -1,5 +1,5 @@
 --TEST--
-Bug #43332.1 (self and parent as type hint in namespace)
+Bug #43332.1 (self and parent as type declaration in namespace)
 --FILE--
 <?php
 namespace foobar;
diff --git a/Zend/tests/typehints/bug43332_2.phpt b/Zend/tests/type_declarations/relative_types/bug43332_2.phpt
similarity index 80%
rename from Zend/tests/typehints/bug43332_2.phpt
rename to Zend/tests/type_declarations/relative_types/bug43332_2.phpt
index 604479e6066..2cc3c58197b 100644
--- a/Zend/tests/typehints/bug43332_2.phpt
+++ b/Zend/tests/type_declarations/relative_types/bug43332_2.phpt
@@ -1,5 +1,5 @@
 --TEST--
-Bug #43332.2 (self and parent as type hint in namespace)
+Bug #43332.2 (self and parent as type declaration in namespace)
 --FILE--
 <?php
 namespace foobar;
diff --git a/Zend/tests/typehints/bug60573.phpt b/Zend/tests/type_declarations/relative_types/bug60573.phpt
similarity index 90%
rename from Zend/tests/typehints/bug60573.phpt
rename to Zend/tests/type_declarations/relative_types/bug60573.phpt
index 50650f54197..4e6079ed1ae 100644
--- a/Zend/tests/typehints/bug60573.phpt
+++ b/Zend/tests/type_declarations/relative_types/bug60573.phpt
@@ -1,5 +1,5 @@
 --TEST--
-Bug #60573 (type hinting with "self" keyword causes weird errors)
+Bug #60573 (type declaration with "self" keyword causes weird errors)
 --FILE--
 <?php
 class Foo1 {
diff --git a/Zend/tests/typehints/bug60573_2.phpt b/Zend/tests/type_declarations/relative_types/bug60573_2.phpt
similarity index 90%
rename from Zend/tests/typehints/bug60573_2.phpt
rename to Zend/tests/type_declarations/relative_types/bug60573_2.phpt
index 221745316a8..cc0171fd7e0 100644
--- a/Zend/tests/typehints/bug60573_2.phpt
+++ b/Zend/tests/type_declarations/relative_types/bug60573_2.phpt
@@ -1,5 +1,5 @@
 --TEST--
-Bug #60573 (type hinting with "self" keyword causes weird errors) -- variation 2
+Bug #60573 (type declaration with "self" keyword causes weird errors) -- variation 2
 --FILE--
 <?php
 class Foo1 {
diff --git a/Zend/tests/type_declarations/parent_is_not_proto.phpt b/Zend/tests/type_declarations/relative_types/parent_is_not_proto.phpt
similarity index 100%
rename from Zend/tests/type_declarations/parent_is_not_proto.phpt
rename to Zend/tests/type_declarations/relative_types/parent_is_not_proto.phpt
diff --git a/Zend/tests/type_declarations/self_on_closure_in_method.phpt b/Zend/tests/type_declarations/relative_types/self_on_closure_in_method.phpt
similarity index 100%
rename from Zend/tests/type_declarations/self_on_closure_in_method.phpt
rename to Zend/tests/type_declarations/relative_types/self_on_closure_in_method.phpt
diff --git a/Zend/tests/type_declarations/static_type_in_final_class.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_in_final_class.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_in_final_class.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_in_final_class.phpt
diff --git a/Zend/tests/type_declarations/static_type_outside_class.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_outside_class.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_outside_class.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_outside_class.phpt
diff --git a/Zend/tests/type_declarations/static_type_param.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_param.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_param.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_param.phpt
diff --git a/Zend/tests/type_declarations/static_type_property.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_property.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_property.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_property.phpt
diff --git a/Zend/tests/type_declarations/static_type_return.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_return.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_return.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_return.phpt
diff --git a/Zend/tests/type_declarations/static_type_trait.phpt b/Zend/tests/type_declarations/relative_types/static/static_type_trait.phpt
similarity index 100%
rename from Zend/tests/type_declarations/static_type_trait.phpt
rename to Zend/tests/type_declarations/relative_types/static/static_type_trait.phpt